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

Base class for all objects which have an object of type mitkLookupTable as output. More...

#include <mitkLookupTableSource.h>

Inheritance diagram for mitk::LookupTableSource:
Collaboration diagram for mitk::LookupTableSource:

Public Types

typedef mitk::LookupTable OutputType
 
typedef OutputType::Pointer OutputTypePointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 

Public Member Functions

 mitkClassMacroItkParent (LookupTableSource, itk::ProcessObject)
 
Pointer Clone () const
 
itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
itk::DataObject::Pointer MakeOutput (const DataObjectIdentifierType &name) override
 
void GenerateInputRequestedRegion () override
 
virtual void GraftOutput (OutputType *output)
 
virtual OutputTypeGetOutput ()
 
virtual const OutputTypeGetOutput () const
 
virtual OutputTypeGetOutput (DataObjectPointerArraySizeType idx)
 
virtual const OutputTypeGetOutput (DataObjectPointerArraySizeType idx) const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 LookupTableSource ()
 
 ~LookupTableSource () override
 

Detailed Description

Base class for all objects which have an object of type mitkLookupTable as output.

Base class for all objects which have an object of type mitkLookupTable as output. It is assumed, that mitkLookupTableSources do not provide support for streaming, that is, that the requested region is always the largest possible region.

Definition at line 34 of file mitkLookupTableSource.h.

Member Typedef Documentation

◆ DataObjectPointer

typedef itk::DataObject::Pointer mitk::LookupTableSource::DataObjectPointer

Definition at line 45 of file mitkLookupTableSource.h.

◆ OutputType

◆ OutputTypePointer

Constructor & Destructor Documentation

◆ LookupTableSource()

mitk::LookupTableSource::LookupTableSource ( )
protected

◆ ~LookupTableSource()

mitk::LookupTableSource::~LookupTableSource ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::LookupTableSource::Clone ( ) const

◆ GenerateInputRequestedRegion()

void mitk::LookupTableSource::GenerateInputRequestedRegion ( )
override

Generates the input requested region simply by calling the equivalent method of the superclass.

◆ GetOutput() [1/4]

virtual OutputType* mitk::LookupTableSource::GetOutput ( )
virtual

◆ GetOutput() [2/4]

virtual const OutputType* mitk::LookupTableSource::GetOutput ( ) const
virtual

◆ GetOutput() [3/4]

virtual OutputType* mitk::LookupTableSource::GetOutput ( DataObjectPointerArraySizeType  idx)
virtual

◆ GetOutput() [4/4]

virtual const OutputType* mitk::LookupTableSource::GetOutput ( DataObjectPointerArraySizeType  idx) const
virtual

◆ GraftOutput()

virtual void mitk::LookupTableSource::GraftOutput ( OutputType output)
virtual

Replacement of the SetOutput method. I think it is not yet correctly implemented, so you should better not use it.

Parameters
outputthe intended output of the lookup table source.

◆ MakeOutput() [1/2]

itk::DataObject::Pointer mitk::LookupTableSource::MakeOutput ( const DataObjectIdentifierType &  name)
override

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.

◆ MakeOutput() [2/2]

itk::DataObject::Pointer mitk::LookupTableSource::MakeOutput ( DataObjectPointerArraySizeType  idx)
override

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

◆ mitkClassMacroItkParent()

mitk::LookupTableSource::mitkClassMacroItkParent ( LookupTableSource  ,
itk::ProcessObject   
)

◆ New()

static Pointer mitk::LookupTableSource::New ( )
static

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