Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Template class for generating lookup-tables. More...
#include <mitkGenericLookupTable.h>
Public Types | |
typedef unsigned int | IdentifierType |
typedef T | ValueType |
typedef std::map< IdentifierType, ValueType > | LookupTableType |
typedef GenericLookupTable | Self |
Public Member Functions | |
GenericLookupTable () | |
virtual | ~GenericLookupTable () |
virtual const char * | GetNameOfClass () const |
void | SetTableValue (IdentifierType id, ValueType value) |
bool | ValueExists (IdentifierType id) const |
ValueType | GetTableValue (IdentifierType id) const |
const LookupTableType & | GetLookupTable () const |
bool | operator== (const Self &lookupTable) const |
bool | operator!= (const Self &lookupTable) const |
virtual Self & | operator= (const Self &other) |
Protected Attributes | |
LookupTableType | m_LookupTable |
Template class for generating lookup-tables.
This class template can be instantiated for all classes/internal types that fulfills these requirements:
The main purpose of this class is to be used in conjunction with GenericLookupTableProperty. This enables passing of arbitrary lookup tables to mappers to configure the rendering process.
Definition at line 45 of file mitkGenericLookupTable.h.
typedef unsigned int mitk::GenericLookupTable< T >::IdentifierType |
Definition at line 48 of file mitkGenericLookupTable.h.
typedef std::map<IdentifierType, ValueType> mitk::GenericLookupTable< T >::LookupTableType |
Definition at line 50 of file mitkGenericLookupTable.h.
typedef GenericLookupTable mitk::GenericLookupTable< T >::Self |
Definition at line 52 of file mitkGenericLookupTable.h.
typedef T mitk::GenericLookupTable< T >::ValueType |
Definition at line 49 of file mitkGenericLookupTable.h.
|
inline |
Definition at line 54 of file mitkGenericLookupTable.h.
|
inlinevirtual |
Definition at line 55 of file mitkGenericLookupTable.h.
|
inline |
Definition at line 73 of file mitkGenericLookupTable.h.
Referenced by mitk::GetDICOMPropertyForDICOMValuesFunctor(), and mitkDicomSeriesReaderTest().
|
inlinevirtual |
Reimplemented in mitk::DICOMCachedValueLookupTable, mitk::StringLookupTable, mitk::IntLookupTable, mitk::FloatLookupTable, and mitk::BoolLookupTable.
Definition at line 56 of file mitkGenericLookupTable.h.
|
inline |
Definition at line 64 of file mitkGenericLookupTable.h.
Referenced by mitk::EnhancedPointSetVtkMapper3D::ApplyColorAndOpacityProperties(), mitkDICOMITKSeriesGDCMReaderBasicsTest(), mitkDicomSeriesReaderTest(), and mitkPropertyListTest().
|
inline |
Definition at line 75 of file mitkGenericLookupTable.h.
|
inlinevirtual |
Definition at line 76 of file mitkGenericLookupTable.h.
|
inline |
Definition at line 74 of file mitkGenericLookupTable.h.
|
inline |
Definition at line 57 of file mitkGenericLookupTable.h.
Referenced by mitk::DicomSeriesReader::CopyMetaDataToImageProperties(), mitkPropertyListTest(), mitkPropertySerializationTest(), and TestGenericProperties().
|
inline |
Definition at line 58 of file mitkGenericLookupTable.h.
|
protected |
Definition at line 91 of file mitkGenericLookupTable.h.
Referenced by mitk::GenericLookupTable< DICOMCachedValueInfo >::GetLookupTable(), mitk::GenericLookupTable< DICOMCachedValueInfo >::GetTableValue(), mitk::GenericLookupTable< DICOMCachedValueInfo >::operator!=(), mitk::GenericLookupTable< DICOMCachedValueInfo >::operator=(), mitk::GenericLookupTable< DICOMCachedValueInfo >::operator==(), mitk::GenericLookupTable< DICOMCachedValueInfo >::SetTableValue(), and mitk::GenericLookupTable< DICOMCachedValueInfo >::ValueExists().