14 #include "msdevstudio/MSconfig.h"
27 using namespace hippodraw;
68 assert ( bindings.size () == 1 );
virtual const Range & getRange(Axes::Type axis, bool scaled) const
Returns the range on the specified axis.
Cut1DPlotter()
This default constructor.
virtual void setCutRangeAt(const Range &range, unsigned int index)
Sets the Range of the cut.
virtual const std::string & getCutLabel() const
Returns the label for the Cut.
hippodraw::DataRep class interface.
virtual void setAxisBinding(const std::vector< std::string > &bindings)
Sets the axis binding of both the Cut and its DataRep.
PlotterBase * clone()
This clone function returns an object of its own kind which is a copy of this object at this moment...
The class expresses a cut on a DataSource, i.e.
The base class for the PlotterBase hierarchy.
The base class for data representations.
A PlotterBase derived class that serves a base class for cut plotters.
virtual void addTupleCut(hippodraw::DataRep *rep)
Adds tuple cut after adding a data representation.
virtual void addDataRep(hippodraw::DataRep *rep)
Adds a data representation.
A Plotter class that plots one-dimensional TupleCut values.
virtual void setAxisBinding(const std::vector< std::string > &bindings)
Sets the axis binding of both the Cut and its DataRep.
hippodraw::TupleCut class interface
Expresses a range of values.
virtual void toggleInverted()
Reverse the meaning of the cut Range.
void updateTargets()
Update the target DataRep when a change has been made in the TupleCut.
Cut1DPlotter class interface.
virtual ~Cut1DPlotter()
The destructor.
hippodraw::DataRep * m_datarep
A pointer to the data representation that holds the cuts.
void setCutRangeFull()
Sets the cut Range to include the full range of data.
CutRangeRep class interface.
const std::vector< TupleCut > & getCuts() const
Returns the list of TupleCut objects used by this plotter.
const std::string & getLabel() const
Returns the label for the cut.
virtual void addDataRep(DataRep *rep)
Adds the DataRep object to the plotter.