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;
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 void GenerateData()
override;
170 void GenerateOutputInformation()
override;
171 void GenerateInputRequestedRegion()
override;
203 int m_XMin, m_XMax, m_YMin, m_YMax;