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

Superclass of all classes generating point sets (instances of class mitk::PointSet) as output. More...

#include <mitkPointSetSource.h>

Inheritance diagram for mitk::PointSetSource:
Collaboration diagram for mitk::PointSetSource:

Public Types

typedef PointSet OutputType
 
typedef OutputType::Pointer OutputTypePointer
 
- 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 (PointSetSource, BaseDataSource)
 
Pointer Clone () const
 
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

 PointSetSource ()
 
 ~PointSetSource () 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 point sets (instances of class mitk::PointSet) as output.

In itk and vtk the generated result of a ProcessObject is only guaranteed to be up-to-date, when Update() of the ProcessObject or the generated DataObject is called immediately before access of the data stored in the DataObject.

See also
PointSet
BaseDataSource

Definition at line 34 of file mitkPointSetSource.h.

Member Typedef Documentation

◆ OutputType

◆ OutputTypePointer

typedef OutputType::Pointer mitk::PointSetSource::OutputTypePointer

Definition at line 43 of file mitkPointSetSource.h.

Constructor & Destructor Documentation

◆ PointSetSource()

mitk::PointSetSource::PointSetSource ( )
protected

◆ ~PointSetSource()

mitk::PointSetSource::~PointSetSource ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::PointSetSource::Clone ( ) const

◆ MakeOutput() [1/2]

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

Allocates a new output object by name.

This is a default implementation to make sure we have something. Once all the subclasses of ProcessObject provide an appropriate MakeOutput(), then ProcessObject::MakeOutput() can be made pure virtual.

Parameters
namethe identifier of the output for which an object should be created.
Returns
The newly created output object.

Implements mitk::BaseDataSource.

◆ MakeOutput() [2/2]

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

Allocates a new output object and returns it.

Currently the index idx is not evaluated.

Parameters
idxthe index of the output for which an object should be created.
Returns
The newly created output object.

Implements mitk::BaseDataSource.

◆ mitkClassMacro()

mitk::PointSetSource::mitkClassMacro ( PointSetSource  ,
BaseDataSource   
)

◆ New()

static Pointer mitk::PointSetSource::New ( )
static

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