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_
ProjectorBase * m_projector
A projector used to transform data to projected values that will be plotted.
Value
A few common colors.
column
The column indices for 2 dimension data point tuple.
Observable class interface.
The base class for the point representation hierarchy.
CutRangeRep * m_cut_rep
The representation of the cut or highlighted range.
std::string m_name
The name of the display as it might be displayed in a GUI.
Part of an implementation of the Observable Observer pattern based on the example implementation in t...
std::string m_title
The title of the object.
A transform that transforms coordinates from one coordinate system to another.
numeric::array clone(numeric::array arr)
A DataSource class implemented with std::vector to store the column data. ...
hippodraw::Range class interface
A derived class of PointRepBase class that draws a representation of a cut range. ...
intp size(numeric::array arr)
Observer class interface.
A Color class for creating the color object following the standard RGB color space.
Base class for DataSource.
DataRep * m_parent_datarep
There are times when a given DataRep results from some operations performed on some other DataRep...
Part of an implementation of the Observable-Observer pattern based on the example in the GOF Patterns...
The base class for data representations.
hippodraw::TupleCut class interface
#define MDL_HIPPOPLOT_API
RepBase * m_rep
The representation used for drawing each data point in the view.
The AxisModelBase class maintains the Range and scaling of an axis.
The class expresses a cut on a DataSource, i.e.
Expresses a range of values.
The base class for the Projector hierarchy.
The abstract base class for views.