17 #ifndef mitkExtractSliceFilter_h_Included
18 #define mitkExtractSliceFilter_h_Included
23 #include <vtkAbstractTransform.h>
24 #include <vtkImageData.h>
25 #include <vtkImageReslice.h>
26 #include <vtkMatrix4x4.h>
27 #include <vtkPoints.h>
28 #include <vtkSmartPointer.h>
29 #include <vtkTransform.h>
71 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
78 this->m_WorldGeometry = geometry;
83 void SetTimeStep(
unsigned int timestep) { m_TimeStep = timestep; }
87 void SetComponent(
unsigned int component) { m_Component = component; }
96 this->m_InPlaneResampleExtentByGeometry = inPlaneResampleExtentByGeometry;
120 bool GetClippedPlaneBounds(
double bounds[6]);
123 bool GetClippedPlaneBounds(
const BaseGeometry *boundingGeometry,
137 m_VtkOutputRequested =
true;
138 return m_Reslicer->GetOutput();
162 this->m_InterpolationMode = interpolation;
169 virtual void GenerateData()
override;
170 virtual void GenerateOutputInformation()
override;
171 virtual void GenerateInputRequestedRegion()
override;
202 #endif // mitkExtractSliceFilter_h_Included
#define mitkNewMacro1Param(classname, type)
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...
Describes a two-dimensional, rectangular plane.
BaseGeometry Describes the geometry of a data object.