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

Base class for all pipeline sources that produce mitk::ContourModel outputs. More...

#include <mitkContourModelSource.h>

Inheritance diagram for mitk::ContourModelSource:
Collaboration diagram for mitk::ContourModelSource:

Public Types

typedef ContourModel OutputType
 The output data type produced by this source. More...
 
typedef OutputType::Pointer OutputTypePointer
 Smart pointer type for the output. 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 (ContourModelSource, BaseDataSource)
 
Pointer Clone () const
 
mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 Allocate a new output object at the given index. 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 ()
 

Protected Member Functions

 ContourModelSource ()
 
 ~ContourModelSource () 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

Base class for all pipeline sources that produce mitk::ContourModel outputs.

Provides the output type declaration and default MakeOutput implementation for creating ContourModel instances in the ITK pipeline framework.

See also
ContourModel, ContourModelSubDivisionFilter, ImageToContourModelFilter

Definition at line 30 of file mitkContourModelSource.h.

Member Typedef Documentation

◆ OutputType

The output data type produced by this source.

Definition at line 38 of file mitkContourModelSource.h.

◆ OutputTypePointer

typedef OutputType::Pointer mitk::ContourModelSource::OutputTypePointer

Smart pointer type for the output.

Definition at line 41 of file mitkContourModelSource.h.

Constructor & Destructor Documentation

◆ ContourModelSource()

mitk::ContourModelSource::ContourModelSource ( )
protected

◆ ~ContourModelSource()

mitk::ContourModelSource::~ContourModelSource ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::ContourModelSource::Clone ( ) const

◆ MakeOutput() [1/2]

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

Allocate a new output object by name.

Parameters
[in]nameIdentifier for the output.
Returns
A new ContourModel instance wrapped in a DataObject pointer.

Implements mitk::BaseDataSource.

◆ MakeOutput() [2/2]

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

Allocate a new output object at the given index.

Parameters
[in]idxThe output index (currently not evaluated).
Returns
A new ContourModel instance wrapped in a DataObject pointer.

Implements mitk::BaseDataSource.

◆ mitkClassMacro()

mitk::ContourModelSource::mitkClassMacro ( ContourModelSource  ,
BaseDataSource   
)

◆ New()

static Pointer mitk::ContourModelSource::New ( )
static

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