Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkGenericLookupTable.h File Reference
#include <map>
#include <sstream>
#include <cstdlib>
#include <string>
#include <itkDataObject.h>
#include "mitkNumericTypes.h"
#include <MitkCoreExports.h>

Go to the source code of this file.

Classes

class  mitk::GenericLookupTable< T >
 Template class for generating lookup-tables. More...
 

Namespaces

 mitk
 DataCollection - Class to facilitate loading/accessing structured data.
 

Macros

#define mitkSpecializeGenericLookupTable(LookupTableName, Type)
 
#define mitkSpecializeGenericLookupTableOperator(LookupTableName)
 

Macro Definition Documentation

◆ mitkSpecializeGenericLookupTable

#define mitkSpecializeGenericLookupTable (   LookupTableName,
  Type 
)

Generates a specialized subclass of mitk::GenericLookupTable. This way, GetNameOfClass() returns the value provided by LookupTableName. Please see mitkProperties.h for examples.

Parameters
LookupTableNamethe name of the instantiation of GenericLookupTable
Typethe value type of the GenericLookupTable

Definition at line 98 of file mitkGenericLookupTable.h.

◆ mitkSpecializeGenericLookupTableOperator

#define mitkSpecializeGenericLookupTableOperator (   LookupTableName)

Generates the ostream << operator for the lookuptable. This definition of a global function must be in a cpp file, therefore it is split from the class declaration macro mitkSpecializeGenericLookupTable.

Definition at line 119 of file mitkGenericLookupTable.h.