14 #include "msdevstudio/MSconfig.h"
22 using namespace hippodraw;
57 const vector < string > & bindings =
m_projector -> getAxisBindings ();
59 bool yes = bindings[3] !=
"nil";
62 yes = bindings[4] !=
"nil";
77 const vector < string > & bindings =
m_projector -> getAxisBindings ();
80 yes = bindings[3] !=
"nil" || bindings[4] !=
"nil";
94 unsigned int index = projector -> indexOfBindingOption ( axis );
96 bool yes = label !=
"nil";
113 bool yes = bindings[3] !=
"nil";
116 yes = bindings[4] !=
"nil";
hippodraw::ColorBoxPointRep class interface
std::string m_name
The name of the display as it might be displayed in a GUI.
A PointRep class that draws a colored box to represent the value.
bool acceptFunction(int num)
Returns true if the DataRep accepts functions on number variables.
virtual void setAxisBinding(const std::string &axis, const std::string &label)
Sets the axis binding.
virtual void setAxisBindings(const std::vector< std::string > &bindings)
Sets the axis bindings.
virtual void setPointRep(RepBase *pointrep)
Sets the representation of the data points.
void setErrorDisplay(Axes::Type axis, bool)
Sets the display of error bar, if applicable, on the specified axis.
virtual bool hasErrorDisplay() const
Returns true.
virtual DataRep * clone()
The clone function returns an object of its own kind which is a copy of this object at this moment...
An NTupleProjector is a projector that projects data from an DataSource object.
virtual void setRepresentation(RepBase *point_rep)
Sets the point representation.
virtual const std::vector< std::string > & getAxisBindings() const
Returns the axis bindings.
RepBase * m_rep
The representation used for drawing each data point in the view.
A derived class of NTupleProjector that maps 3 DataSource columns to a two dimensional mesh projectio...
virtual void setAxisBinding(const std::string &axis, const std::string &label)
Sets the axis bindings.
virtual void setXErrorOption(bool enable)
Sets whether the X width options are to be enabled or not.
The base class for data representations.
hippodraw::MeshProjector class interface
virtual void setAxisBindings(const std::vector< std::string > &bindings)
Sets the axis bindings.
ProjectorBase * m_projector
A projector used to transform data to projected values that will be plotted.
virtual bool hasAxis(hippodraw::Axes::Type) const
Returns true if the data representation has specified axis type axis.
virtual void setYErrorOption(bool enable)
Sets whether the Y width options are to be enabled or not.
VariableMesh()
The default constructor.
The base class for the point representation hierarchy.
hippodraw::VariableMesh classes interface.