Medical Imaging Interaction Toolkit  2016.11.0
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 PointSetSource Self
 
typedef BaseDataSource Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef PointSet OutputType
 
typedef OutputType::Pointer OutputTypePointer
 
- 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

virtual std::vector< std::string > GetClassHierarchy () const override
 
virtual const char * GetClassName () const
 
Pointer Clone () const
 
OutputTypeGetOutput ()
 
const OutputTypeGetOutput () const
 
OutputTypeGetOutput (DataObjectPointerArraySizeType idx)
 
const OutputTypeGetOutput (DataObjectPointerArraySizeType idx) const
 
virtual itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
virtual itk::DataObject::Pointer MakeOutput (const DataObjectIdentifierType &name) override
 
- Public Member Functions inherited from mitk::BaseDataSource
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 const char * GetStaticNameOfClass ()
 
static Pointer New ()
 
- Static Public Member Functions inherited from mitk::BaseDataSource
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 PointSetSource ()
 
virtual ~PointSetSource ()
 
- Protected Member Functions inherited from mitk::BaseDataSource
 BaseDataSource ()
 
virtual ~BaseDataSource ()
 

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.

Definition at line 35 of file mitkPointSetSource.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::PointSetSource::PointSetSource ( )
protected

Definition at line 19 of file mitkPointSetSource.cpp.

References MakeOutput().

mitk::PointSetSource::~PointSetSource ( )
protectedvirtual

Definition at line 28 of file mitkPointSetSource.cpp.

Member Function Documentation

Pointer mitk::PointSetSource::Clone ( ) const
virtual std::vector<std::string> mitk::PointSetSource::GetClassHierarchy ( ) const
inlineoverridevirtual

Reimplemented from mitk::BaseDataSource.

Reimplemented in mitk::PointSetToPointSetFilter.

Definition at line 38 of file mitkPointSetSource.h.

virtual const char* mitk::PointSetSource::GetClassName ( ) const
virtual

Reimplemented from mitk::BaseDataSource.

Reimplemented in mitk::PointSetToPointSetFilter.

OutputType* mitk::PointSetSource::GetOutput ( DataObjectPointerArraySizeType  idx)
const OutputType* mitk::PointSetSource::GetOutput ( DataObjectPointerArraySizeType  idx) const
const OutputType* mitk::PointSetSource::GetOutput ( ) const
OutputType* mitk::PointSetSource::GetOutput ( )
static const char* mitk::PointSetSource::GetStaticNameOfClass ( )
inlinestatic

Definition at line 38 of file mitkPointSetSource.h.

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 new object

Implements mitk::BaseDataSource.

Definition at line 32 of file mitkPointSetSource.cpp.

References mitk::New().

Referenced by mitk::ContourModelToPointSetFilter::ContourModelToPointSetFilter(), mitk::ContourSetToPointSetFilter::ContourSetToPointSetFilter(), and PointSetSource().

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

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

Implements mitk::BaseDataSource.

Definition at line 37 of file mitkPointSetSource.cpp.

References mitk::New().

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

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