42 #ifndef CORE_DATATYPES_COLORMAP_H
43 #define CORE_DATATYPES_COLORMAP_H 1
47 #include <Core/Containers/LockingHandle.h>
48 #include <Core/Datatypes/PropertyManager.h>
49 #include <Core/Datatypes/Material.h>
51 #include <slivr/ColorMap.h>
63 ColorMap(
const std::vector<Color>& rgb,
64 const std::vector<float>& rgbT,
65 const std::vector<float>& alphas,
66 const std::vector<float>& alphaT,
67 unsigned int resolution = 256);
82 virtual std::string dynamic_type_name()
const;
87 void build_materials_from_rgba();
89 std::vector<MaterialHandle> materials_;
Definition: Persistent.h:89
Definition: Persistent.h:187
#define SCISHARE
Definition: share.h:39
LockingHandle< Material > MaterialHandle
Definition: Material.h:65
Definition: ColorMap.h:57
LockingHandle< ColorMap > ColorMapHandle
Definition: ColorMap.h:93
static PersistentTypeID type_id
Definition: ColorMap.h:80
Definition: Persistent.h:64
Definition: PropertyManager.h:193