Medical Imaging Interaction Toolkit  2024.06.99-31d3c0df
Medical Imaging Interaction Toolkit
mitk::UnstructuredGridSource Class Reference

Superclass of all classes generating unstructured grids (instances of class UnstructuredGrid) as output. More...

#include <mitkUnstructuredGridSource.h>

Inheritance diagram for mitk::UnstructuredGridSource:
Collaboration diagram for mitk::UnstructuredGridSource:

Public Types

typedef mitk::UnstructuredGrid OutputType
- Public Types inherited from mitk::BaseDataSource
typedef BaseDataSource Self
typedef itk::ProcessObject Superclass
typedef itk::SmartPointer< SelfPointer
typedef itk::SmartPointer< const SelfConstPointer
typedef BaseData OutputType
typedef itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType

Public Member Functions

 mitkClassMacro (UnstructuredGridSource, BaseDataSource)
Pointer Clone () const
mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
itk::DataObject::Pointer MakeOutput (const DataObjectIdentifierType &name) override
- Public Member Functions inherited from mitk::BaseDataSource
virtual std::vector< std::string > GetClassHierarchy () const
virtual const char * GetClassName () const
OutputTypeGetOutput ()
const OutputTypeGetOutput () const
OutputTypeGetOutput (DataObjectPointerArraySizeType idx)
const OutputTypeGetOutput (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)
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
 Access itk::ProcessObject::m_Updating. More...

Static Public Member Functions

static Pointer New ()
- Static Public Member Functions inherited from mitk::BaseDataSource
static const char * GetStaticNameOfClass ()

Protected Member Functions

 UnstructuredGridSource ()
 ~UnstructuredGridSource () override
- Protected Member Functions inherited from mitk::BaseDataSource
 BaseDataSource ()
 ~BaseDataSource () override

Additional Inherited Members

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

Detailed Description

Superclass of all classes generating unstructured grids (instances of class UnstructuredGrid) 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. This is also true for subclasses of mitk::BaseProcess and thus for mitk::UnstructuredGridSource.

Definition at line 32 of file mitkUnstructuredGridSource.h.

Member Typedef Documentation

◆ OutputType

Constructor & Destructor Documentation

◆ UnstructuredGridSource()

mitk::UnstructuredGridSource::UnstructuredGridSource ( )

◆ ~UnstructuredGridSource()

mitk::UnstructuredGridSource::~UnstructuredGridSource ( )

Member Function Documentation

◆ Clone()

Pointer mitk::UnstructuredGridSource::Clone ( ) const

◆ MakeOutput() [1/2]

itk::DataObject::Pointer mitk::UnstructuredGridSource::MakeOutput ( const DataObjectIdentifierType 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.

Implements mitk::BaseDataSource.

◆ MakeOutput() [2/2]

mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer mitk::UnstructuredGridSource::MakeOutput ( DataObjectPointerArraySizeType  idx)

Allocates a new output object and returns it. Currently the index idx is not evaluated.

idxthe index of the output for which an object should be created
the new object

Implements mitk::BaseDataSource.

◆ mitkClassMacro()

mitk::UnstructuredGridSource::mitkClassMacro ( UnstructuredGridSource  ,

◆ New()

static Pointer mitk::UnstructuredGridSource::New ( )

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