13 #ifndef mitkExtractDirectedPlaneImageFilter_h_Included 14 #define mitkExtractDirectedPlaneImageFilter_h_Included 20 #include "vtkImageReslice.h" 22 #define setMacro(name, type) \ 23 virtual void Set##name(type _arg) \ 25 if (this->m_##name != _arg) \ 27 this->m_##name = _arg; \ 31 #define getMacro(name, type) \ 32 virtual type Get##name() { return m_##name; } 64 itkFactorylessNewMacro(
Self);
71 itkGetMacro(Reslicer, vtkImageReslice *);
75 itkSetMacro(TargetTimestep,
unsigned int);
76 itkGetMacro(TargetTimestep,
unsigned int);
78 itkSetMacro(InPlaneResampleExtentByGeometry,
bool);
79 itkGetMacro(InPlaneResampleExtentByGeometry,
bool);
91 void GenerateData()
override;
92 void GenerateOutputInformation()
override;
113 #endif // mitkExtractDirectedPlaneImageFilter_h_Included
static bool CalculateClippedPlaneBounds(const BaseGeometry *boundingGeometry, const PlaneGeometry *planeGeometry, double *bounds)
Calculate the bounding box of the resliced image. This is necessary for arbitrarily rotated planes in...
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Superclass of all classes having one or more Images as input and generating Images as output...
static bool LineIntersectZero(vtkPoints *points, int p1, int p2, double *bounds)
Internal helper method for intersection testing used only in CalculateClippedPlaneBounds() ...
Describes a two-dimensional, rectangular plane.
BaseGeometry Describes the geometry of a data object.