|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Superclass of all classes having a PlaneGeometryData as input and generating Images as output. More...
#include <mitkPlaneGeometryDataToSurfaceFilter.h>


Public Member Functions | |
| mitkClassMacro (PlaneGeometryDataToSurfaceFilter, SurfaceSource) | |
| Pointer | Clone () const |
| void | GenerateOutputInformation () override |
| Generate information about the output (size, spacing, etc.). More... | |
| void | GenerateData () override |
| Generate the Surface output from the PlaneGeometryData input. More... | |
| const PlaneGeometryData * | GetInput (void) |
| Get the first PlaneGeometryData input. More... | |
| const PlaneGeometryData * | GetInput (unsigned int idx) |
| Get the PlaneGeometryData input at the given index. More... | |
| virtual void | SetInput (const PlaneGeometryData *image) |
| Set the PlaneGeometryData input (at index 0). More... | |
| virtual void | SetInput (unsigned int index, const PlaneGeometryData *image) |
| Set the PlaneGeometryData input at the given index. More... | |
| virtual bool | GetUseGeometryParametricBounds () |
| If true (default), use Geometry3D::GetParametricBounds() to define the resolution in parameter space, otherwise use m_XResolution and m_YResolution. More... | |
| virtual void | SetUseGeometryParametricBounds (bool _arg) |
| If true (default), use Geometry3D::GetParametricBounds() to define the resolution in parameter space, otherwise use m_XResolution and m_YResolution. More... | |
| virtual int | GetXResolution () |
| Get x-resolution in parameter space. More... | |
| virtual void | SetXResolution (int _arg) |
| Set x-resolution in parameter space. More... | |
| virtual int | GetYResolution () |
| Get y-resolution in parameter space. More... | |
| virtual void | SetYResolution (int _arg) |
| Set y-resolution in parameter space. More... | |
| virtual bool | GetPlaceByGeometry () const |
| Get whether the Surface is at the origin and placed using the Geometry. More... | |
| virtual void | SetPlaceByGeometry (bool _arg) |
| Set whether the Surface is at the origin and placed using the Geometry. More... | |
| virtual void | PlaceByGeometryOn () |
| virtual void | PlaceByGeometryOff () |
| virtual bool | GetUseBoundingBox () const |
| Get whether a bounding box is used to clip the generated surface. More... | |
| virtual void | SetUseBoundingBox (bool _arg) |
| Set whether a bounding box should be used to clip the generated surface. More... | |
| virtual void | UseBoundingBoxOn () |
| Toggle use of bounding box for clipping. More... | |
| virtual void | UseBoundingBoxOff () |
| void | SetBoundingBox (const BoundingBox *boundingBox) |
| Set the bounding box used to clip the generated surface. More... | |
| const BoundingBox * | GetBoundingBox () const |
| Get the bounding box used to clip the generated surface. More... | |
Public Member Functions inherited from mitk::SurfaceSource | |
| mitkClassMacro (SurfaceSource, BaseDataSource) | |
| Pointer | Clone () const |
| mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
| Allocate a new output object and return it. More... | |
| itk::DataObject::Pointer | MakeOutput (const DataObjectIdentifierType &name) override |
| Allocate a new output object by name. More... | |
Public Member Functions inherited from mitk::BaseDataSource | |
| mitkClassMacroItkParent (BaseDataSource, itk::ProcessObject) | |
| OutputType * | GetOutput () |
| const OutputType * | GetOutput () const |
| OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
| const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
| virtual void | GraftOutput (OutputType *output) |
| Graft the specified BaseData onto this BaseDataSource's output. More... | |
| virtual void | GraftOutput (const DataObjectIdentifierType &key, OutputType *output) |
| Graft the specified base data object onto a named output. More... | |
| virtual void | GraftNthOutput (unsigned int idx, OutputType *output) |
| Graft the specified base data object onto this BaseDataSource's idx'th output. More... | |
| bool | Updating () const |
| Check whether the pipeline is currently executing. More... | |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from mitk::SurfaceSource | |
| static Pointer | New () |
Protected Member Functions | |
| PlaneGeometryDataToSurfaceFilter () | |
| ~PlaneGeometryDataToSurfaceFilter () override | |
Protected Member Functions inherited from mitk::SurfaceSource | |
| SurfaceSource () | |
| ~SurfaceSource () override | |
Protected Member Functions inherited from mitk::BaseDataSource | |
| BaseDataSource () | |
| Constructor. More... | |
| ~BaseDataSource () override | |
| Destructor. More... | |
Protected Attributes | |
| vtkPlaneSource * | m_PlaneSource |
| Source to create the vtk-representation of the parameter space rectangle of the PlaneGeometry. More... | |
| vtkTransformPolyDataFilter * | m_VtkTransformPlaneFilter |
| Filter to create the vtk-representation of the PlaneGeometry, which is a transformation of the m_PlaneSource. More... | |
| bool | m_UseGeometryParametricBounds |
| If true, use Geometry3D::GetParametricBounds() to define the resolution in parameter space, otherwise use m_XResolution and m_YResolution. More... | |
| int | m_XResolution |
| X-resolution in parameter space. More... | |
| int | m_YResolution |
| Y-resolution in parameter space. More... | |
| bool | m_PlaceByGeometry |
| Define whether the Surface is at the origin and placed using the Geometry. More... | |
| bool | m_UseBoundingBox |
| BoundingBox::ConstPointer | m_BoundingBox |
| vtkCubeSource * | m_CubeSource |
| vtkTransform * | m_Transform |
| vtkTransformPolyDataFilter * | m_PolyDataTransformer |
| vtkPlane * | m_Plane |
| vtkCutter * | m_PlaneCutter |
| vtkContourTriangulator * | m_ContourTriangulator |
| vtkPPolyDataNormals * | m_NormalsUpdater |
| vtkTextureMapToPlane * | m_TextureMapToPlane |
| vtkBox * | m_Box |
| vtkClipPolyData * | m_PlaneClipper |
Additional Inherited Members | |
Public Types inherited from mitk::SurfaceSource | |
| typedef Surface | OutputType |
Public Types inherited from mitk::BaseDataSource | |
| typedef BaseData | OutputType |
| Output data type. More... | |
| typedef itk::DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
| Identifier type for named data objects. More... | |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
| static Pointer | New () |
Superclass of all classes having a PlaneGeometryData as input and generating Images as output.
Currently implemented for PlaneGeometry and AbstractTransformGeometry. Currently, this class does not really have subclasses, but does the job for itself. It checks which kind of PlaneGeometry is stored in the PlaneGeometryData and - if it knows how - it generates the respective Surface. Of course, this has the disadvantage that for any new type of PlaneGeometry this class (PlaneGeometryDataToSurfaceFilter) has to be changed/extended. The idea is to move the type specific generation code in subclasses, and internally (within this class) use a factory to create an instance of the required subclass and delegate the surface generation to it.
Definition at line 54 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
|
overrideprotected |
| Pointer mitk::PlaneGeometryDataToSurfaceFilter::Clone | ( | ) | const |
|
override |
Generate the Surface output from the PlaneGeometryData input.
|
override |
Generate information about the output (size, spacing, etc.).
| const BoundingBox* mitk::PlaneGeometryDataToSurfaceFilter::GetBoundingBox | ( | ) | const |
Get the bounding box used to clip the generated surface.
| const PlaneGeometryData* mitk::PlaneGeometryDataToSurfaceFilter::GetInput | ( | unsigned int | idx | ) |
Get the PlaneGeometryData input at the given index.
| idx | The input index. |
| const PlaneGeometryData* mitk::PlaneGeometryDataToSurfaceFilter::GetInput | ( | void | ) |
Get the first PlaneGeometryData input.
|
virtual |
Get whether the Surface is at the origin and placed using the Geometry.
Default is false, i.e., the transform of the Geometry is the identity, thus the points within the Surface are at their final position. Otherwise (m_PlaceByGeometry==true), the first cornerpoint of the created Surface is at the origin and the actual position is determined by the transform of the Geometry.
|
virtual |
Get whether a bounding box is used to clip the generated surface.
|
virtual |
If true (default), use Geometry3D::GetParametricBounds() to define the resolution in parameter space, otherwise use m_XResolution and m_YResolution.
|
virtual |
Get x-resolution in parameter space.
The m_PlaneSource will create this many sub-rectangles in x-direction (see vtkPlaneSource::SetXResolution)
|
virtual |
Get y-resolution in parameter space.
The m_PlaneSource will create this many sub-rectangles in y-direction (see vtkPlaneSource::SetYResolution)
| mitk::PlaneGeometryDataToSurfaceFilter::mitkClassMacro | ( | PlaneGeometryDataToSurfaceFilter | , |
| SurfaceSource | |||
| ) |
|
static |
|
virtual |
|
virtual |
| void mitk::PlaneGeometryDataToSurfaceFilter::SetBoundingBox | ( | const BoundingBox * | boundingBox | ) |
Set the bounding box used to clip the generated surface.
| boundingBox | The bounding box. Only used when UseBoundingBox is true. |
|
virtual |
Set the PlaneGeometryData input (at index 0).
| image | The PlaneGeometryData to use as input. |
|
virtual |
Set the PlaneGeometryData input at the given index.
| index | The input index. |
| image | The PlaneGeometryData to use as input. |
|
virtual |
Set whether the Surface is at the origin and placed using the Geometry.
Default is false, i.e., the transform of the Geometry is the identity, thus the points within the Surface are at their final position. Otherwise (m_PlaceByGeometry==true), the first cornerpoint of the created Surface is at the origin and the actual position is determined by the transform of the Geometry.
|
virtual |
Set whether a bounding box should be used to clip the generated surface.
|
virtual |
If true (default), use Geometry3D::GetParametricBounds() to define the resolution in parameter space, otherwise use m_XResolution and m_YResolution.
|
virtual |
Set x-resolution in parameter space.
The m_PlaneSource will create this many sub-rectangles in x-direction (see vtkPlaneSource::SetXResolution)
|
virtual |
Set y-resolution in parameter space.
The m_PlaneSource will create this many sub-rectangles in y-direction (see vtkPlaneSource::SetYResolution)
|
virtual |
|
virtual |
Toggle use of bounding box for clipping.
|
protected |
Definition at line 230 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 242 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 238 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 232 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 239 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Define whether the Surface is at the origin and placed using the Geometry.
Default is false, i.e., the transform of the Geometry is the identity, thus the points within the Surface are at their final position. Otherwise (m_PlaceByGeometry==true), the first cornerpoint of the created Surface is at the origin and the actual position is determined by the transform of the Geometry.
Definition at line 226 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 236 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 243 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 237 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Source to create the vtk-representation of the parameter space rectangle of the PlaneGeometry.
Definition at line 187 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 234 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 240 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 233 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 228 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
If true, use Geometry3D::GetParametricBounds() to define the resolution in parameter space, otherwise use m_XResolution and m_YResolution.
Definition at line 197 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Filter to create the vtk-representation of the PlaneGeometry, which is a transformation of the m_PlaneSource.
Definition at line 192 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
X-resolution in parameter space.
The m_PlaneSource will create this many sub-rectangles in x-direction (see vtkPlaneSource::SetXResolution)
Definition at line 207 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Y-resolution in parameter space.
The m_PlaneSource will create this many sub-rectangles in y-direction (see vtkPlaneSource::SetYResolution)
Definition at line 216 of file mitkPlaneGeometryDataToSurfaceFilter.h.