13 #ifndef mitkHeightFieldSurfaceClipImageFilter_h
14 #define mitkHeightFieldSurfaceClipImageFilter_h
25 template <
class TPixel,
unsigned int VImageDimension>
26 class ITK_EXPORT
Image;
50 itkFactorylessNewMacro(
Self);
55 void SetClippingSurface(
Surface *clippingSurface);
61 const Surface *GetClippingSurface()
const;
65 CLIPPING_MODE_CONSTANT = 0,
67 CLIPPING_MODE_MULTIPLANE
72 void SetClippingMode(
int mode);
76 int GetClippingMode();
80 void SetClippingModeToConstant();
84 void SetClippingModeToMultiplyByFactor();
86 void SetClippingModeToMultiPlaneValue();
92 itkGetConstMacro(ClippingConstant,
ScalarType);
98 itkGetConstMacro(MultiplicationFactor,
ScalarType);
101 itkSetMacro(HeightFieldResolutionX,
unsigned int);
104 itkGetConstMacro(HeightFieldResolutionX,
unsigned int);
107 itkSetMacro(HeightFieldResolutionY,
unsigned int);
110 itkGetConstMacro(HeightFieldResolutionY,
unsigned int);
117 void GenerateInputRequestedRegion()
override;
119 void GenerateOutputInformation()
override;
121 void GenerateData()
override;
123 template <
typename TPixel,
unsigned int VImageDimension>
124 void _InternalComputeClippedImage(itk::Image<TPixel, VImageDimension> *itkImage,
126 vtkPolyData *clippingPolyData,