#include <string>#include <sstream>#include <stdlib.h>#include <map>#include <itkDataObject.h>#include "mitkVector.h"#include "mitkCommon.h"Go to the source code of this file.
Classes | |
| class | mitk::GenericLookupTable< T > |
| Template class for generating lookup-tables. More... | |
Namespaces | |
| namespace | mitk |
Qmitk. | |
Defines | |
| #define | mitkSpecializeGenericLookupTable(LookupTableName, Type) |
| #define | mitkSpecializeGenericLookupTableOperator(LookupTableName) |
| #define mitkSpecializeGenericLookupTable | ( | LookupTableName, | |
| Type | |||
| ) |
class MITK_CORE_EXPORT LookupTableName: public GenericLookupTable< Type > \ { \ public: \ typedef LookupTableName Self; \ typedef GenericLookupTable< Type > Superclass; \ virtual const char *GetNameOfClass() const \ {return #LookupTableName;} \ LookupTableName() {} \ virtual ~LookupTableName() {} \ }; \ std::ostream& operator<<(std::ostream& stream, const LookupTableName& /*l*/);
Generates a specialized subclass of mitk::GenericLookupTable. This way, GetNameOfClass() returns the value provided by LookupTableName. Please see mitkProperties.h for examples.
| LookupTableName | the name of the instantiation of GenericLookupTable |
| Type | the value type of the GenericLookupTable |
Definition at line 126 of file mitkGenericLookupTable.h.
| #define mitkSpecializeGenericLookupTableOperator | ( | LookupTableName ) |
std::ostream& mitk::operator<<(std::ostream& stream, const LookupTableName& /*l*/) \ { \ return stream; \ };
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 144 of file mitkGenericLookupTable.h.
1.7.2