24#ifndef _PB_LINEAR_DATA_MAPPING_
25#define _PB_LINEAR_DATA_MAPPING_
119 virtual ClassType getClassType()
const
120 {
return LINEAR_DATA_MAPPING ;}
126 const SbColor* computeColor(
float value)
const;
127 const SbColor* computeColor(
float value,
float &transparency)
const;
129 float m_val1, m_val2, m_transparency1, m_transparency2;
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for data ...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class to define linear d...
void getValues(float &v1, PbHLSColor c1, float &t1, float &v2, PbHLSColor c2, float &t2) const
Gets the current values v1,v2, the associated transparecny t1,t2, and the associated HLS colors c1,...
void setValues(float v1, const PbHLSColor c1, float v2, const PbHLSColor c2)
Sets values v1,v2 and the associated HLS colors c1, c2.
void setValues(float v1, const SbColor &c1, float v2, const SbColor &c2)
Sets values v1,v2 and the associated RGB colors c1, c2.
void getValues(float &v1, PbHLSColor c1, float &v2, PbHLSColor c2) const
Gets the current values v1,v2 and the associated HLS colors c1, c2.
void setValues(float v1, const SbColor &c1, float t1, float v2, const SbColor &c2, float t2)
Sets values v1,v2, the associated transparecny t1,t2, and the associated RGB colors c1,...
void setValues(float v1, const PbHLSColor c1, float t1, float v2, const PbHLSColor c2, float t2)
Sets values v1,v2, the associated transparecny t1,t2, and the associated HLS colors c1,...
void getValues(float &v1, SbColor &c1, float &v2, SbColor &c2) const
Gets the current values v1,v2 and the associated RGB colors c1, c2.
PbLinearDataMapping(const PbLinearDataMapping &linearDataMap)
Copy constructor.
PbLinearDataMapping()
Default constructor.
void getValues(float &v1, SbColor &c1, float &t1, float &v2, SbColor &c2, float &t2) const
Gets the current values v1,v2, the associated transparecny t1,t2, and the associated RGB colors c1,...
PbLinearDataMapping & operator=(const PbLinearDataMapping &linearDataMap)
Assignment operator.