break;
case ComponentTransferFunction.TABLE:
txfFunc = new TableTransfer(tableFloatToInt(function.getTableValues()));
break;
case ComponentTransferFunction.DISCRETE:
txfFunc = new DiscreteTransfer(tableFloatToInt(function.getTableValues()));
break;
case ComponentTransferFunction.LINEAR:
txfFunc = new LinearTransfer(function.getSlope(),
function.getIntercept());
break;