13 #ifndef mitkExtractSliceFilter_h
14 #define mitkExtractSliceFilter_h
19 #include <vtkAbstractTransform.h>
20 #include <vtkImageData.h>
21 #include <vtkImageReslice.h>
22 #include <vtkMatrix4x4.h>
23 #include <vtkPoints.h>
24 #include <vtkSmartPointer.h>
25 #include <vtkTransform.h>
67 itkFactorylessNewMacro(
Self);
75 if (geometry != m_WorldGeometry)
77 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;
137 m_VtkOutputRequested =
true;
138 return m_Reslicer->GetOutput();
162 this->m_InterpolationMode = interpolation;
199 BaseGeometry::ConstPointer m_ResliceTransform;
203 int m_XMin, m_XMax, m_YMin, m_YMax;
BaseGeometry Describes the geometry of a data object.
Superclass of all classes having one or more Images as input and generating Images as output.
Describes a two-dimensional, rectangular plane.
#define mitkClassMacro(className, SuperClassName)
#define mitkNewMacro1Param(classname, type)
Find image slices visible on a given plane.