32 unsigned int channelSize = (this->GetCaptureHeight()*this->GetCaptureWidth()*2);
33 this->SetChannelSize(channelSize);
34 signed short* channel1;
35 signed short* channel2;
36 signed short* channel3;
37 signed short* channel4;
40 tempVTKChannelArray->SetNumberOfComponents(channelSize);
41 tempVTKChannelArray->SetNumberOfTuples(4);
42 tempVTKChannelArray->Allocate(1);
45 channel1 = sourceData;
46 tempVTKChannelArray->InsertTupleValue(0,channel1);
47 sourceData += channelSize;
49 channel2 = sourceData;
50 tempVTKChannelArray->InsertTupleValue(1,channel2);
51 sourceData += channelSize;
53 channel3 = sourceData;
54 tempVTKChannelArray->InsertTupleValue(2,channel3);
55 sourceData += channelSize;
57 channel4 = sourceData;
58 tempVTKChannelArray->InsertTupleValue(3,channel4);
59 vtkChannelArray->DeepCopy(tempVTKChannelArray);
69 bool boolValue =
false;
71 if (
strcmp(propertyKey,
"SetFPNCalibration") == 0)
73 myController->SetFPNCalibration(boolValue);
75 else if (
strcmp(propertyKey,
"SetFPPNCalibration") == 0)
77 myController->SetFPPNCalibration(boolValue);
79 else if (
strcmp(propertyKey,
"SetLinearityCalibration") == 0)
81 myController->SetLinearityCalibration(boolValue);
83 else if (
strcmp(propertyKey,
"SetLensCalibration") == 0)
85 myController->SetLensCalibration(boolValue);
87 else if (
strcmp(propertyKey,
"SetExposureMode") == 0)
91 myController->SetExposureMode(1);
95 myController->SetExposureMode(0);