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