21 #include "AbstractColorMap.h"
43 double const* hsvColors,
double const* alphas =
nullptr, std::vector<std::string>
const& colorTitles = std::vector<std::string>(),
44 double const* indices =
nullptr);
86 DLL_IMPORT_OR_EXPORT
void setNanHsvColor(
double hue,
double saturation,
double value,
double alpha = 1, std::string
const& colorTitle =
"");
98 DLL_IMPORT_OR_EXPORT
void setNanRgbColor(
double red,
double green,
double blue,
double alpha = 1, std::string
const& colorTitle =
"");
110 DLL_IMPORT_OR_EXPORT
void setNanRgbColor(
unsigned int red,
unsigned int green,
unsigned int blue,
double alpha = 1, std::string
const& colorTitle =
"");
113 DLL_IMPORT_OR_EXPORT
static const char*
XML_TAG;
120 DLL_IMPORT_OR_EXPORT std::string
getXmlTag()
const {
return XML_TAG; }
126 gsoap_eml2_3::resqml22__HsvColor* getColor(
double colorIndex)
const;
136 ContinuousColorMap(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractColorMap(partialObject) {}
141 ContinuousColorMap(gsoap_eml2_3::resqml22__ContinuousColorMap* fromGsoap) :
142 AbstractColorMap(fromGsoap) {}
Map of abstract colors.
Definition: AbstractColorMap.h:27
Map of continuous colors. This class cannot be inherited.
Definition: ContinuousColorMap.h:27
static const char * XML_TAG
The XML tag.
Definition: ContinuousColorMap.h:113
std::string getInterpolationDomainAsString()
Gets interpolation domain as string.
void setNanHsvColor(double hue, double saturation, double value, double alpha=1, std::string const &colorTitle="")
Sets the NanColor value of a continuous color map.
void setHsvColors(unsigned int colorCount, double const *hsvColors, double const *alphas=nullptr, std::vector< std::string > const &colorTitles=std::vector< std::string >(), double const *indices=nullptr)
gsoap_eml2_3::resqml22__InterpolationDomain getInterpolationDomain()
Gets interpolation domain.
void setNanRgbColor(double red, double green, double blue, double alpha=1, std::string const &colorTitle="")
Sets the NanColor value of a continuous color map.
virtual ~ContinuousColorMap()=default
void setNanRgbColor(unsigned int red, unsigned int green, unsigned int blue, double alpha=1, std::string const &colorTitle="")
Sets the NanColor value of a continuous color map.
std::string getXmlTag() const
Gets XML tag.
Definition: ContinuousColorMap.h:120
unsigned int getColorCount() const
Gets color count.
std::string getInterpolationMethodAsString()
Gets interpolation method as string.
gsoap_eml2_3::resqml22__InterpolationMethod getInterpolationMethod()
Gets interpolation method.