Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
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 30 of file mitkGenericLookupTable.h.
typedef unsigned int mitk::GenericLookupTable< T >::IdentifierType |
Definition at line 49 of file mitkGenericLookupTable.h.
typedef std::map<IdentifierType, ValueType> mitk::GenericLookupTable< T >::LookupTableType |
Definition at line 51 of file mitkGenericLookupTable.h.
typedef GenericLookupTable mitk::GenericLookupTable< T >::Self |
Definition at line 53 of file mitkGenericLookupTable.h.
typedef T mitk::GenericLookupTable< T >::ValueType |
Definition at line 50 of file mitkGenericLookupTable.h.
|
inline |
Definition at line 55 of file mitkGenericLookupTable.h.
|
inlinevirtual |
Definition at line 56 of file mitkGenericLookupTable.h.
|
inline |
Definition at line 74 of file mitkGenericLookupTable.h.
Referenced by mitk::to_json().
|
inlinevirtual |
Definition at line 57 of file mitkGenericLookupTable.h.
|
inline |
Definition at line 65 of file mitkGenericLookupTable.h.
|
inline |
Definition at line 76 of file mitkGenericLookupTable.h.
|
inlinevirtual |
Definition at line 77 of file mitkGenericLookupTable.h.
|
inline |
Definition at line 75 of file mitkGenericLookupTable.h.
|
inline |
Definition at line 58 of file mitkGenericLookupTable.h.
|
inline |
Definition at line 59 of file mitkGenericLookupTable.h.
|
protected |
Definition at line 94 of file mitkGenericLookupTable.h.
Referenced by mitk::from_json(), 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().