13 #ifndef mitkHeightFieldSurfaceClipImageFilter_h
14 #define mitkHeightFieldSurfaceClipImageFilter_h
25 template <
class TPixel,
unsigned int VImageDimension>
26 class ITK_EXPORT
Image;
50 itkFactorylessNewMacro(
Self);
65 CLIPPING_MODE_CONSTANT = 0,
67 CLIPPING_MODE_MULTIPLANE
101 itkSetMacro(HeightFieldResolutionX,
unsigned int);
104 itkGetConstMacro(HeightFieldResolutionX,
unsigned int);
107 itkSetMacro(HeightFieldResolutionY,
unsigned int);
110 itkGetConstMacro(HeightFieldResolutionY,
unsigned int);
123 template <
typename TPixel,
unsigned int VImageDimension>
126 vtkPolyData *clippingPolyData,
#define MITKALGORITHMSEXT_EXPORT
Filter for clipping an image with an height-field represented by an mitk::Surface.
void SetClippingMode(int mode)
Specifies whether clipped part of the image shall be replaced by a constant or multiplied by a user-s...
void SetClippingModeToMultiPlaneValue()
void SetClippingModeToMultiplyByFactor()
Specifies whether clipped part of the image shall be replaced by a constant or multiplied by a user-s...
ScalarType m_ClippingConstant
void SetClippingSurfaces(ClippingPlaneList planeList)
Set/Get the surfaces defining a height field as a triangle mesh.
void GenerateOutputInformation() override
unsigned m_MultiPlaneValue
void GenerateInputRequestedRegion() override
mitkClassMacro(HeightFieldSurfaceClipImageFilter, ImageToImageFilter)
~HeightFieldSurfaceClipImageFilter() override
int GetClippingMode()
Specifies whether clipped part of the image shall be replaced by a constant or multiplied by a user-s...
void _InternalComputeClippedImage(itk::Image< TPixel, VImageDimension > *itkImage, HeightFieldSurfaceClipImageFilter *clipImageFilter, vtkPolyData *clippingPolyData, AffineTransform3D *imageToPlaneTransform)
const Surface * GetClippingSurface() const
Set/Get the surface defining a height field as a triangle mesh.
unsigned int m_HeightFieldResolutionY
void SetClippingModeToConstant()
Specifies whether clipped part of the image shall be replaced by a constant or multiplied by a user-s...
itk::TimeStamp m_TimeOfHeaderInitialization
Time when Header was last initialized.
void GenerateData() override
@ CLIPPING_MODE_MULTIPLYBYFACTOR
HeightFieldSurfaceClipImageFilter()
std::vector< mitk::Surface * > ClippingPlaneList
unsigned int m_HeightFieldResolutionX
ImageTimeSelector::Pointer m_InputTimeSelector
ImageTimeSelector::Pointer m_OutputTimeSelector
void SetClippingSurface(Surface *clippingSurface)
Set/Get the surface defining a height field as a triangle mesh.
ScalarType m_MultiplicationFactor
Superclass of all classes generating Images (instances of class Image) as output.
Superclass of all classes having one or more Images as input and generating Images as output.
Class for storing surfaces (vtkPolyData).
Find image slices visible on a given plane.
itk::ScalableAffineTransform< ScalarType, 3 > AffineTransform3D