16 #ifndef __mitkToFDistanceImageToSurfaceFilter_h
17 #define __mitkToFDistanceImageToSurfaceFilter_h
22 #include <MitkToFProcessingExports.h>
29 #include <vtkSmartPointer.h>
30 #include <vtkIdList.h>
54 itkFactorylessNewMacro(
Self)
62 itkSetMacro(TextureIndex,
int);
76 void SetTriangulationThreshold(
double triangulationThreshold );
77 itkGetMacro(TriangulationThreshold,
double);
79 itkSetMacro(VertexIdList, vtkSmartPointer<vtkIdList>);
80 itkGetMacro(VertexIdList, vtkSmartPointer<vtkIdList>);
82 itkSetMacro(GenerateTriangularMesh,
bool);
83 itkGetMacro(GenerateTriangularMesh,
bool);
91 itkSetEnumMacro(ReconstructionMode,ReconstructionModeType);
92 itkGetEnumMacro(ReconstructionMode,ReconstructionModeType);
97 void SetScalarImage(IplImage* iplScalarImage);
102 IplImage* GetScalarImage();
107 void SetTextureImageWidth(
int width);
112 void SetTextureImageHeight(
int height);
118 virtual void SetInput(
Image* distanceImage);
131 virtual void SetInput(
unsigned int idx,
Image* distanceImage);
149 Image* GetInput(
unsigned int idx);
160 virtual void GenerateOutputInformation()
override;
165 virtual void GenerateData()
override;
173 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.
itk::SmartPointer< Self > Pointer
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...