14 #ifndef _CutPlotter_H_
15 #define _CutPlotter_H_
66 void updateTargets ();
69 void removeFromTargets ( );
92 bool isTarget (
DataRep * )
const;
95 const std::list < DataRep * > & getCutTargets ()
const;
105 virtual void willDelete (
const Observable * observable );
109 const std::vector < TupleCut > & getCuts ()
const;
113 void setCuts (
const std::vector < const TupleCut * > & cuts );
116 virtual bool hasNTupleBindings ()
const;
119 void clearCutTargets ();
123 virtual void setAxisBinding (
const std::vector < std::string > & bindings );
126 void setCutColor (
const Color & );
129 const Color & getCutColor ()
const;
132 virtual void setCutRangeAt (
const Range & range,
unsigned int index );
139 virtual void setCutRange (
double low,
double high );
146 virtual void setCutRangeFull () = 0;
152 void setActive (
bool yes );
158 virtual void toggleInverted ( ) = 0;
162 void setEnabled (
bool yes =
true );
168 virtual void update (
const Observable *
object );
176 virtual bool isImageConvertable ()
const;
182 #endif // _CutPlotter_H_
#define MDL_HIPPOPLOT_API
Part of an implementation of the Observable-Observer pattern based on the example in the GOF Patterns...
A Plotter class that plots points in 2 dimensions and option a third dimension in color...
A Color class for creating the color object following the standard RGB color space.
The base class for data representations.
A PlotterBase derived class that serves a base class for cut plotters.
TargetList_t m_targets
A list of DataRep objects which have this cut applied.
hippodraw::XyPlotter class interface
std::list< hippodraw::DataRep * > TargetList_t
The STL container type used for targets of the cut.
Expresses a range of values.
hippodraw::DataRep * m_datarep
A pointer to the data representation that holds the cuts.
Base class for DataSource.