117 void throwRangeException ();
129 const std::string & name ()
const;
138 virtual bool hasAxis (
Axes::Type axis )
const;
146 void setTitle (
const std::string & title );
150 const std::string & getTitle ()
const;
161 virtual bool hasErrorDisplay ( )
const;
165 virtual bool hasNTupleBindings ()
const;
173 virtual void setAxisBinding (
const std::string & axis,
174 const std::string & label );
183 void setAxisBindings (
const std::vector < std::string > & bindings );
192 virtual void matrixTranspose (
bool yes );
202 virtual void drawProjectedValues (
TransformBase * transform,
210 RepBase * getRepresentation ()
const;
213 const Color & getRepColor ()
const;
217 bool isDirty ()
const;
235 void setErrorDisplay (
Axes::Type axis,
bool );
242 virtual void setPointRep (
RepBase * pointrep );
245 void setRepColor (
const Color & );
248 void setRepSize (
double size );
252 void setRepStyle (
int style );
257 virtual void setDirty (
bool yes =
true );
262 void setRange (
Axes::Type axis,
bool const_width =
true );
272 virtual void setSelected (
bool yes =
true );
277 virtual bool isSelected ( )
const;
284 virtual bool acceptFunction (
int number );
288 virtual bool hasZeroRows ( );
292 virtual bool hasZoomY ()
const;
300 virtual void addValues (
const std::vector < double > &
v );
304 virtual const DataSource * getProjectedValues ()
const;
308 virtual NTuple * getNTupleAfterCuts ()
const;
313 virtual void fillColumnAfterCuts(
const std::string &
column,
314 std::vector<double> & columnData)
const;
319 NTuple * createNTupleUnderRegion ()
const;
324 virtual double getMean (
const std::string & axis );
329 virtual double getRMS (
const std::string & axis );
337 virtual DataRep * getParentDataRep()
const;
340 virtual void setParentDataRep(
DataRep * parent_datarep );
347 virtual void update ();
351 virtual void normalizeTo (
const DataRep * target );
360 int getNumberOfEntries ()
const;
369 virtual bool isTargetable ()
const;
374 NTuple * createNTuple ()
const;
379 virtual bool needColorRep()
const;
384 bool hasCut ()
const;
388 void addCut (
const TupleCut & cut );
400 const std::vector < TupleCut > & getCuts ()
const;
412 void setCutRangeAt (
const Range & range,
unsigned int i );
417 void toggleInverted (
unsigned int i );
421 void setEnabled (
unsigned int i,
bool yes =
true );
428 virtual bool needsMatrixSet ()
const;
435 virtual bool isImageConvertable ()
const;
441 #endif // _DataRep_H_
#define MDL_HIPPOPLOT_API
Part of an implementation of the Observable-Observer pattern based on the example in the GOF Patterns...
std::string m_name
The name of the display as it might be displayed in a GUI.
DataRep * m_parent_datarep
There are times when a given DataRep results from some operations performed on some other DataRep...
A transform that transforms coordinates from one coordinate system to another.
A derived class of PointRepBase class that draws a representation of a cut range. ...
column
The column indices for 2 dimension data point tuple.
The class expresses a cut on a DataSource, i.e.
Value
A few common colors.
RepBase * m_rep
The representation used for drawing each data point in the view.
A Color class for creating the color object following the standard RGB color space.
The base class for data representations.
std::string m_title
The title of the object.
numeric::array clone(numeric::array arr)
Observable class interface.
intp size(numeric::array arr)
CutRangeRep * m_cut_rep
The representation of the cut or highlighted range.
The AxisModelBase class maintains the Range and scaling of an axis.
Part of an implementation of the Observable Observer pattern based on the example implementation in t...
A DataSource class implemented with std::vector<double> to store the column data. ...
The base class for the Projector hierarchy.
The abstract base class for views.
ProjectorBase * m_projector
A projector used to transform data to projected values that will be plotted.
hippodraw::TupleCut class interface
hippodraw::Range class interface
Expresses a range of values.
The base class for the point representation hierarchy.
Observer class interface.
Base class for DataSource.