20 #include "vtkSmartPointer.h"
38 signed short* channel1;
39 signed short* channel2;
40 signed short* channel3;
41 signed short* channel4;
44 tempVTKChannelArray->SetNumberOfComponents(channelSize);
45 tempVTKChannelArray->SetNumberOfTuples(4);
46 tempVTKChannelArray->Allocate(1);
49 channel1 = sourceData;
50 tempVTKChannelArray->InsertTupleValue(0,channel1);
51 sourceData += channelSize;
53 channel2 = sourceData;
54 tempVTKChannelArray->InsertTupleValue(1,channel2);
55 sourceData += channelSize;
57 channel3 = sourceData;
58 tempVTKChannelArray->InsertTupleValue(2,channel3);
59 sourceData += channelSize;
61 channel4 = sourceData;
62 tempVTKChannelArray->InsertTupleValue(3,channel4);
63 vtkChannelArray->DeepCopy(tempVTKChannelArray);
73 bool boolValue =
false;
75 if (strcmp(propertyKey,
"SetFPNCalibration") == 0)
77 myController->SetFPNCalibration(boolValue);
79 else if (strcmp(propertyKey,
"SetFPPNCalibration") == 0)
81 myController->SetFPPNCalibration(boolValue);
83 else if (strcmp(propertyKey,
"SetLinearityCalibration") == 0)
85 myController->SetLinearityCalibration(boolValue);
87 else if (strcmp(propertyKey,
"SetLensCalibration") == 0)
89 myController->SetLensCalibration(boolValue);
91 else if (strcmp(propertyKey,
"SetExposureMode") == 0)
95 myController->SetExposureMode(1);
99 myController->SetExposureMode(0);
virtual void SetProperty(const char *propertyKey, BaseProperty *propertyValue)
set a BaseProperty
virtual int GetCaptureHeight()
get the currently set capture height
itk::SmartPointer< Self > Pointer
bool GetBoolProperty(const char *propertyKey, bool &boolValue)
get a bool from the property list
virtual void SetProperty(const char *propertyKey, BaseProperty *propertyValue)
set a BaseProperty
DataCollection - Class to facilitate loading/accessing structured data.
PropertyList::Pointer m_PropertyList
a list of the corresponding properties
~ToFCameraPMDRawDataCamCubeDevice()
Abstract base class for properties.
ToFCameraPMDRawDataCamCubeDevice()
Interface to the Time-of-Flight (ToF) camera PMD CamCube.
ToFCameraPMDController::Pointer m_Controller
corresponding CameraController
virtual void GetChannelSourceData(short *sourceData, vtkShortArray *vtkChannelArray)
virtual void SetChannelSize(int _arg)
virtual int GetCaptureWidth()
get the currently set capture width
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.