17 #ifndef MITKHEIGHTFIELDSURFACECLIPIMAGEFILTER_H_HEADER_INCLUDED
18 #define MITKHEIGHTFIELDSURFACECLIPIMAGEFILTER_H_HEADER_INCLUDED
29 template <
class TPixel,
unsigned int VImageDimension>
30 class ITK_EXPORT
Image;
54 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
57 void SetClippingSurface(
Surface *clippingSurface);
60 void SetClippingSurfaces(ClippingPlaneList planeList);
63 const
Surface *GetClippingSurface() const;
67 CLIPPING_MODE_CONSTANT = 0,
69 CLIPPING_MODE_MULTIPLANE
74 void SetClippingMode(
int mode);
78 int GetClippingMode();
82 void SetClippingModeToConstant();
86 void SetClippingModeToMultiplyByFactor();
88 void SetClippingModeToMultiPlaneValue();
94 itkGetConstMacro(ClippingConstant,
ScalarType);
100 itkGetConstMacro(MultiplicationFactor,
ScalarType);
103 itkSetMacro(HeightFieldResolutionX,
unsigned int);
106 itkGetConstMacro(HeightFieldResolutionX,
unsigned int);
109 itkSetMacro(HeightFieldResolutionY,
unsigned int);
112 itkGetConstMacro(HeightFieldResolutionY,
unsigned int);
119 virtual void GenerateInputRequestedRegion()
override;
121 virtual void GenerateOutputInformation()
override;
123 virtual void GenerateData()
override;
125 template <
typename TPixel,
unsigned int VImageDimension>
126 void _InternalComputeClippedImage(itk::Image<TPixel, VImageDimension> *itkImage,
128 vtkPolyData *clippingPolyData,
Class for storing surfaces (vtkPolyData).
ScalarType m_MultiplicationFactor
unsigned int m_HeightFieldResolutionX
ScalarType m_ClippingConstant
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
unsigned m_MultiPlaneValue
#define MITKALGORITHMSEXT_EXPORT
ImageTimeSelector::Pointer m_OutputTimeSelector
ImageTimeSelector::Pointer m_InputTimeSelector
#define mitkClassMacro(className, SuperClassName)
itk::AffineGeometryFrame< ScalarType, 3 >::TransformType AffineTransform3D
Superclass of all classes having one or more Images as input and generating Images as output...
itk::TimeStamp m_TimeOfHeaderInitialization
Time when Header was last initialized.
unsigned int m_HeightFieldResolutionY
Filter for clipping an image with an height-field represented by an mitk::Surface.
std::vector< mitk::Surface * > ClippingPlaneList