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