// Copy array to avoid multi-thread conflicts on
// array access.
//
TransferFunction txfFunc[] = new TransferFunction[4];
System.arraycopy(this.txfFunc, 0, txfFunc, 0, 4);
ComponentTransferFunction functions[] = new ComponentTransferFunction[4];
System.arraycopy(this.functions, 0, functions, 0, 4);
for(int i=0; i<4; i++){
if(txfFunc[i] == null){
txfFunc[i] = getTransferFunction(functions[i]);