13 #ifndef mitkScalarListLookupTable_h
14 #define mitkScalarListLookupTable_h
19 #include <nlohmann/json_fwd.hpp>
#define MITKMODELFIT_EXPORT
Data class for modelfit properties that store a map of lists (e.g. static parameters).
bool operator!=(const ScalarListLookupTable &lookupTable) const
const ValueType & GetTableValue(const KeyType &key) const
Returns the list with the given name.
virtual ~ScalarListLookupTable()
void SetLookupTable(const LookupTableType &table)
LookupTableType m_LookupTable
const LookupTableType & GetLookupTable() const
Returns the map of lists.
virtual const char * GetNameOfClass() const
std::map< KeyType, ValueType > LookupTableType
void SetTableValue(const KeyType &key, const ValueType &value)
Sets the list at the given map key to the given value.
std::pair< KeyType, ValueType > EntryType
bool ValueExists(const KeyType &key) const
Returns true if the list with the given name exists.
virtual ScalarListLookupTable & operator=(const ScalarListLookupTable &other)
std::vector< double > ValueType
bool operator==(const ScalarListLookupTable &lookupTable) const
Find image slices visible on a given plane.
MITKCORE_EXPORT std::ostream & operator<<(std::ostream &o, DataNode::Pointer &dtn)
void to_json(nlohmann::json &j, const GenericLookupTable< T > &t)
void from_json(const nlohmann::json &, GenericLookupTable< T > &)