Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitk::SurfaceToSurfaceFilter Class Reference

Superclass of all classes getting surfaces (instances of class Surface) as input and generating surfaces as output. More...

#include <mitkSurfaceToSurfaceFilter.h>

Inheritance diagram for mitk::SurfaceToSurfaceFilter:
Collaboration diagram for mitk::SurfaceToSurfaceFilter:

Public Types

typedef SurfaceToSurfaceFilter Self
 
typedef mitk::SurfaceSource Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
- Public Types inherited from mitk::SurfaceSource
typedef SurfaceSource Self
 
typedef BaseDataSource Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Surface 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

virtual std::vector< std::string > GetClassHierarchy () const override
 
virtual const char * GetClassName () const
 
Pointer Clone () const
 
virtual void SetInput (const mitk::Surface *surface)
 
virtual void SetInput (unsigned int idx, const mitk::Surface *surface)
 Add a new input at the given index (idx) Calls mitk::Surface::CreateOutputForInput(idx) More...
 
virtual const mitk::SurfaceGetInput ()
 
virtual const mitk::SurfaceGetInput (unsigned int idx)
 
virtual void CreateOutputForInput (unsigned int idx)
 Create a new output for the input at idx. More...
 
virtual void CreateOutputsForAllInputs ()
 Creates outputs for all existing inputs. More...
 
virtual void RemoveInputs (mitk::Surface *surface)
 
- Public Member Functions inherited from mitk::SurfaceSource
Pointer Clone () const
 
OutputTypeGetOutput ()
 
const OutputTypeGetOutput () const
 
OutputTypeGetOutput (DataObjectPointerArraySizeType idx)
 
const OutputTypeGetOutput (DataObjectPointerArraySizeType idx) const
 
itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
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::SurfaceSource
static const char * GetStaticNameOfClass ()
 
static Pointer New ()
 
- Static Public Member Functions inherited from mitk::BaseDataSource
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 SurfaceToSurfaceFilter ()
 
 ~SurfaceToSurfaceFilter () override
 
- Protected Member Functions inherited from mitk::SurfaceSource
 SurfaceSource ()
 
 ~SurfaceSource () 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 getting surfaces (instances of class Surface) as input and generating surfaces 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::mitkSurfaceToSurfaceFilter.

Definition at line 31 of file mitkSurfaceToSurfaceFilter.h.

Member Typedef Documentation

◆ ConstPointer

◆ DataObjectPointer

typedef itk::DataObject::Pointer mitk::SurfaceToSurfaceFilter::DataObjectPointer

Definition at line 38 of file mitkSurfaceToSurfaceFilter.h.

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ SurfaceToSurfaceFilter()

mitk::SurfaceToSurfaceFilter::SurfaceToSurfaceFilter ( )
protected

◆ ~SurfaceToSurfaceFilter()

mitk::SurfaceToSurfaceFilter::~SurfaceToSurfaceFilter ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::SurfaceToSurfaceFilter::Clone ( ) const

◆ CreateOutputForInput()

virtual void mitk::SurfaceToSurfaceFilter::CreateOutputForInput ( unsigned int  idx)
virtual

Create a new output for the input at idx.

Parameters
idxthe index of the input for which the output should be created

◆ CreateOutputsForAllInputs()

virtual void mitk::SurfaceToSurfaceFilter::CreateOutputsForAllInputs ( )
virtual

Creates outputs for all existing inputs.

Note
For each existing input a new output will be allocated

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::SurfaceToSurfaceFilter::GetClassHierarchy ( ) const
inlineoverridevirtual

Reimplemented from mitk::SurfaceSource.

Definition at line 34 of file mitkSurfaceToSurfaceFilter.h.

◆ GetClassName()

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

Reimplemented from mitk::SurfaceSource.

◆ GetInput() [1/2]

virtual const mitk::Surface* mitk::SurfaceToSurfaceFilter::GetInput ( )
virtual

◆ GetInput() [2/2]

virtual const mitk::Surface* mitk::SurfaceToSurfaceFilter::GetInput ( unsigned int  idx)
virtual

◆ GetStaticNameOfClass()

static const char* mitk::SurfaceToSurfaceFilter::GetStaticNameOfClass ( )
inlinestatic

Definition at line 34 of file mitkSurfaceToSurfaceFilter.h.

◆ New()

static Pointer mitk::SurfaceToSurfaceFilter::New ( )
static

◆ RemoveInputs()

virtual void mitk::SurfaceToSurfaceFilter::RemoveInputs ( mitk::Surface surface)
virtual

◆ SetInput() [1/2]

virtual void mitk::SurfaceToSurfaceFilter::SetInput ( const mitk::Surface surface)
virtual

Reimplemented in mitk::ReduceContourSetFilter.

◆ SetInput() [2/2]

virtual void mitk::SurfaceToSurfaceFilter::SetInput ( unsigned int  idx,
const mitk::Surface surface 
)
virtual

Add a new input at the given index (idx) Calls mitk::Surface::CreateOutputForInput(idx)

Note
The inputs must be added sequentially
Parameters
idxthe index of the input, which must be incremental
surfacethe input which should be added

Reimplemented in mitk::ReduceContourSetFilter.


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