13 #ifndef mitkPlaneGeometryDataToSurfaceFilter_h
14 #define mitkPlaneGeometryDataToSurfaceFilter_h
18 #include <vtkSystemIncludes.h>
21 class vtkTransformPolyDataFilter;
27 class vtkPPolyDataNormals;
28 class vtkTextureMapToPlane;
30 class vtkClipPolyData;
31 class vtkContourTriangulator;
35 class PlaneGeometryData;
58 itkFactorylessNewMacro(Self);
81 using itk::ProcessObject::SetInput;
93 itkGetMacro(UseGeometryParametricBounds,
bool);
97 itkSetMacro(UseGeometryParametricBounds,
bool);
107 itkGetMacro(XResolution,
int);
116 itkSetMacro(XResolution,
int);
126 itkGetMacro(YResolution,
int);
136 itkSetMacro(YResolution,
int);
147 itkGetConstMacro(PlaceByGeometry,
bool);
158 itkSetMacro(PlaceByGeometry,
bool);
159 itkBooleanMacro(PlaceByGeometry);
162 itkGetConstMacro(UseBoundingBox,
bool);
164 itkSetMacro(UseBoundingBox,
bool);
166 itkBooleanMacro(UseBoundingBox);
Superclass of all classes having a PlaneGeometryData as input and generating Images as output.
virtual void SetInput(const PlaneGeometryData *image)
Set the PlaneGeometryData input (at index 0).
vtkTransformPolyDataFilter * m_VtkTransformPlaneFilter
Filter to create the vtk-representation of the PlaneGeometry, which is a transformation of the m_Plan...
~PlaneGeometryDataToSurfaceFilter() override
vtkTextureMapToPlane * m_TextureMapToPlane
PlaneGeometryDataToSurfaceFilter()
vtkPPolyDataNormals * m_NormalsUpdater
const BoundingBox * GetBoundingBox() const
Get the bounding box used to clip the generated surface.
const PlaneGeometryData * GetInput(void)
Get the first PlaneGeometryData input.
mitkClassMacro(PlaneGeometryDataToSurfaceFilter, SurfaceSource)
BoundingBox::ConstPointer m_BoundingBox
vtkPlaneSource * m_PlaneSource
Source to create the vtk-representation of the parameter space rectangle of the PlaneGeometry.
void GenerateOutputInformation() override
Generate information about the output (size, spacing, etc.).
vtkTransformPolyDataFilter * m_PolyDataTransformer
int m_XResolution
X-resolution in parameter space.
int m_YResolution
Y-resolution in parameter space.
vtkContourTriangulator * m_ContourTriangulator
vtkTransform * m_Transform
virtual void SetInput(unsigned int index, const PlaneGeometryData *image)
Set the PlaneGeometryData input at the given index.
vtkCubeSource * m_CubeSource
bool m_PlaceByGeometry
Define whether the Surface is at the origin and placed using the Geometry.
void GenerateData() override
Generate the Surface output from the PlaneGeometryData input.
void SetBoundingBox(const BoundingBox *boundingBox)
Set the bounding box used to clip the generated surface.
bool m_UseGeometryParametricBounds
If true, use Geometry3D::GetParametricBounds() to define the resolution in parameter space,...
vtkCutter * m_PlaneCutter
vtkClipPolyData * m_PlaneClipper
const PlaneGeometryData * GetInput(unsigned int idx)
Get the PlaneGeometryData input at the given index.
Data class containing PlaneGeometry objects.
Superclass of all classes generating surfaces (instances of class Surface) as output.
Find image slices visible on a given plane.
itk::BoundingBox< unsigned long, 3, ScalarType > BoundingBox
Standard 3D bounding box type.