17 #ifndef mitkExtractDirectedPlaneImageFilter_h_Included
18 #define mitkExtractDirectedPlaneImageFilter_h_Included
24 #include "vtkImageReslice.h"
26 #define setMacro(name, type) \
27 virtual void Set##name(type _arg) \
29 if (this->m_##name != _arg) \
31 this->m_##name = _arg; \
35 #define getMacro(name, type) \
36 virtual type Get##name() { return m_##name; }
68 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
75 itkGetMacro(Reslicer, vtkImageReslice *);
79 itkSetMacro(TargetTimestep,
unsigned int);
80 itkGetMacro(TargetTimestep,
unsigned int);
82 itkSetMacro(InPlaneResampleExtentByGeometry,
bool);
83 itkGetMacro(InPlaneResampleExtentByGeometry,
bool);
95 virtual void GenerateData()
override;
96 virtual void GenerateOutputInformation()
override;
117 #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.