Medical Imaging Interaction Toolkit  2016.11.0
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) static Pointer New()
 
Pointer Clone () const
 
virtual itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
virtual 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
 

Protected Member Functions

 LookupTableSource ()
 
virtual ~LookupTableSource ()
 

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 38 of file mitkLookupTableSource.h.

Member Typedef Documentation

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

Definition at line 47 of file mitkLookupTableSource.h.

Constructor & Destructor Documentation

mitk::LookupTableSource::LookupTableSource ( )
protected

Definition at line 19 of file mitkLookupTableSource.cpp.

References MakeOutput().

mitk::LookupTableSource::~LookupTableSource ( )
protectedvirtual

Definition at line 27 of file mitkLookupTableSource.cpp.

Member Function Documentation

Pointer mitk::LookupTableSource::Clone ( ) const
void mitk::LookupTableSource::GenerateInputRequestedRegion ( )
override

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

Definition at line 46 of file mitkLookupTableSource.cpp.

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

Definition at line 70 of file mitkLookupTableSource.cpp.

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

Definition at line 75 of file mitkLookupTableSource.cpp.

virtual OutputType* mitk::LookupTableSource::GetOutput ( DataObjectPointerArraySizeType  idx)
virtual
virtual const OutputType* mitk::LookupTableSource::GetOutput ( DataObjectPointerArraySizeType  idx) const
virtual
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.

Definition at line 51 of file mitkLookupTableSource.cpp.

itk::DataObject::Pointer mitk::LookupTableSource::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

Definition at line 31 of file mitkLookupTableSource.cpp.

References mitk::New().

Referenced by LookupTableSource().

itk::DataObject::Pointer mitk::LookupTableSource::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.

Definition at line 36 of file mitkLookupTableSource.cpp.

References mitk::New().

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

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