Medical Imaging Interaction Toolkit  2018.4.99-b585543d
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

Definition at line 15 of file mitkLookupTableSource.cpp.

References MakeOutput().

◆ ~LookupTableSource()

mitk::LookupTableSource::~LookupTableSource ( )
overrideprotected

Definition at line 23 of file mitkLookupTableSource.cpp.

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.

Definition at line 42 of file mitkLookupTableSource.cpp.

◆ GetOutput() [1/4]

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

Definition at line 66 of file mitkLookupTableSource.cpp.

Referenced by GetOutput(), and GraftOutput().

◆ GetOutput() [2/4]

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

Definition at line 71 of file mitkLookupTableSource.cpp.

References GetOutput().

◆ 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()

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

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

Parameters
outputthe intended output of the lookup table source.

Definition at line 47 of file mitkLookupTableSource.cpp.

References GetOutput().

◆ MakeOutput() [1/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

Definition at line 27 of file mitkLookupTableSource.cpp.

References mitk::LookupTable::New().

Referenced by LookupTableSource(), and MakeOutput().

◆ MakeOutput() [2/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 appopriate MakeOutput(), then ProcessObject::MakeOutput() can be made pure virtual.

Definition at line 32 of file mitkLookupTableSource.cpp.

References MakeOutput(), and mitk::LookupTable::New().

◆ mitkClassMacroItkParent()

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

◆ New()

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

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