29 : m_name ( bin_to_color.m_name ),
30 m_dv ( bin_to_color.m_dv ),
31 m_vmin ( bin_to_color.m_vmin )
69 const std::vector < double > &
virtual void setControlPoints(const std::vector< double > &points)
Set the value of the control points.
virtual bool acceptChangeColor() const
Returns true if object can accept changing color,i.e.
The base class for the value to the color transformation.
const std::vector< double > & getControlPoints() const
Returns a list of control points.
Range getRange() const
Get the Range of expected values.
double m_vmin
The minimum value expected.
virtual bool isUserDefined() const
Returns true if object can be user defined.
std::vector< double > m_control_points
A set of control points that might be used for the value to color transform.
virtual bool hasControlPoints() const
Returns true if class has control points by which the value to color transform can be varied...
hippodraw::BinToColor class interface
double length() const
Returns the length of the range object.
std::string m_name
The name of this value transform.
virtual ~BinToColor()
The destructor.
BinToColor(const char *name)
The constructor.
double m_dv
The distance of the expected values, i.e.
double low() const
Returns the minimum of the range object.
Expresses a range of values.
const std::string & name() const
Returns the name of the value to color transform.
void setRange(const Range &r)
Sets the range of the values passed.