Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::GeometryDataSource Class Reference

Superclass of all classes generating GeometryData as output. More...

#include <mitkGeometryDataSource.h>

Inheritance diagram for mitk::GeometryDataSource:
Collaboration diagram for mitk::GeometryDataSource:

Public Types

typedef mitk::GeometryData OutputType
 The output type of this source. More...
 
- 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...
 

Public Member Functions

 mitkClassMacro (GeometryDataSource, BaseDataSource)
 
mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 Allocates a new output object and returns it. More...
 
itk::DataObject::Pointer MakeOutput (const DataObjectIdentifierType &name) override
 Allocates 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 ()
 

Protected Member Functions

 GeometryDataSource ()
 
 ~GeometryDataSource () override
 
- Protected Member Functions inherited from mitk::BaseDataSource
 BaseDataSource ()
 Constructor. More...
 
 ~BaseDataSource () override
 Destructor. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from mitk::BaseDataSource
static Pointer New ()
 

Detailed Description

Superclass of all classes generating GeometryData as output.

This class serves as the base for process objects that produce mitk::GeometryData instances. In ITK and VTK, the generated result of a ProcessObject is only guaranteed to be up-to-date when Update() is called immediately before accessing the data. This also applies to subclasses of this class.

See also
GeometryData
PlaneFit

Definition at line 36 of file mitkGeometryDataSource.h.

Member Typedef Documentation

◆ OutputType

The output type of this source.

Definition at line 43 of file mitkGeometryDataSource.h.

Constructor & Destructor Documentation

◆ GeometryDataSource()

mitk::GeometryDataSource::GeometryDataSource ( )
protected

◆ ~GeometryDataSource()

mitk::GeometryDataSource::~GeometryDataSource ( )
overrideprotected

Member Function Documentation

◆ MakeOutput() [1/2]

itk::DataObject::Pointer mitk::GeometryDataSource::MakeOutput ( const DataObjectIdentifierType &  name)
overridevirtual

Allocates a new output object by name.

Default implementation to ensure subclasses have a valid MakeOutput.

Parameters
[in]nameThe identifier of the output.
Returns
The newly created GeometryData object.

Implements mitk::BaseDataSource.

◆ MakeOutput() [2/2]

mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer mitk::GeometryDataSource::MakeOutput ( DataObjectPointerArraySizeType  idx)
overridevirtual

Allocates a new output object and returns it.

Currently the index idx is not evaluated; a GeometryData is always created.

Parameters
[in]idxThe index of the output for which an object should be created.
Returns
The newly created GeometryData object.

Implements mitk::BaseDataSource.

◆ mitkClassMacro()

mitk::GeometryDataSource::mitkClassMacro ( GeometryDataSource  ,
BaseDataSource   
)

◆ New()

static Pointer mitk::GeometryDataSource::New ( )
static

The documentation for this class was generated from the following file: