Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkScalarListLookupTable_h
14 #define mitkScalarListLookupTable_h
19 #include <nlohmann/json_fwd.hpp>
40 virtual const char* GetNameOfClass()
const;
47 void SetTableValue(
const KeyType& key,
const ValueType& value);
54 bool ValueExists(
const KeyType& key)
const;
62 const ValueType& GetTableValue(
const KeyType& key)
const;
68 const LookupTableType& GetLookupTable()
const;
70 void SetLookupTable(
const LookupTableType& table);
LookupTableType m_LookupTable
std::map< KeyType, ValueType > LookupTableType
void to_json(nlohmann::json &j, const GenericLookupTable< T > &t)
MITKCORE_EXPORT std::ostream & operator<<(std::ostream &o, DataNode::Pointer &dtn)
void from_json(const nlohmann::json &, GenericLookupTable< T > &)
std::vector< double > ValueType
#define MITKMODELFIT_EXPORT
Find image slices visible on a given plane.
Data class for modelfit properties that store a map of lists (e.g. static parameters).
MITKCORE_EXPORT bool operator!=(const InteractionEvent &a, const InteractionEvent &b)
std::pair< KeyType, ValueType > EntryType
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
virtual ~ScalarListLookupTable()