12 #ifndef __mitkToFDistanceImageToSurfaceFilter_h 13 #define __mitkToFDistanceImageToSurfaceFilter_h 18 #include <MitkToFProcessingExports.h> 24 #include <vtkSmartPointer.h> 25 #include <vtkIdList.h> 49 itkFactorylessNewMacro(
Self);
55 itkSetMacro(TextureIndex,
int);
69 void SetTriangulationThreshold(
double triangulationThreshold );
70 itkGetMacro(TriangulationThreshold,
double);
72 itkSetMacro(VertexIdList, vtkSmartPointer<vtkIdList>);
73 itkGetMacro(VertexIdList, vtkSmartPointer<vtkIdList>);
75 itkSetMacro(GenerateTriangularMesh,
bool);
76 itkGetMacro(GenerateTriangularMesh,
bool);
90 void SetScalarImage(IplImage* iplScalarImage);
95 IplImage* GetScalarImage();
100 void SetTextureImageWidth(
int width);
105 void SetTextureImageHeight(
int height);
107 using itk::ProcessObject::SetInput;
113 virtual void SetInput(
Image* distanceImage);
119 virtual void SetInput(
Image* distanceImage, mitk::CameraIntrinsics::Pointer cameraIntrinsics );
126 virtual void SetInput(
unsigned int idx,
Image* distanceImage);
134 virtual void SetInput(
unsigned int idx,
Image* distanceImage, mitk::CameraIntrinsics::Pointer cameraIntrinsics );
144 Image* GetInput(
unsigned int idx);
155 void GenerateOutputInformation()
override;
160 void GenerateData()
override;
168 void CreateOutputsForAllInputs();
int m_TextureIndex
Index of the input used as texture image when no scalar image was set via SetIplScalarImage(). 0 = Distance, 1 = Amplitude, 2 = Intensity.
Superclass of all classes generating surfaces (instances of class Surface) as output.
class representing camera intrinsics and related functions
int m_TextureImageHeight
Height (y-dimension) of the texture image.
ToFProcessingCommon::ToFPoint2D m_InterPixelDistance
distance in mm between two adjacent pixels on the ToF camera chip
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
ReconstructionModeType
The ReconstructionModeType enum: Defines the reconstruction mode, if using no interpixeldistances and...
ReconstructionModeType m_ReconstructionMode
The ReconstructionModeType enum: Defines the reconstruction mode, if using no interpixeldistances and...
mitk::CameraIntrinsics::Pointer m_CameraIntrinsics
Specifies the intrinsic parameters.
int m_TextureImageWidth
Width (x-dimension) of the texture image.
#define mitkClassMacro(className, SuperClassName)
itk::Point< ToFScalarType, 2 > ToFPoint2D
double m_TriangulationThreshold
Image class for storing images.
bool m_GenerateTriangularMesh
Converts a Time-of-Flight (ToF) distance image to a 3D surface using the pinhole camera model for coo...
IplImage * m_IplScalarImage
Scalar image used for surface texturing.
vtkSmartPointer< vtkIdList > m_VertexIdList
Make a vtkIdList to save the ID's of the polyData corresponding to the image pixel ID's...