14 #ifndef _CompositePlotter_H_
15 #define _CompositePlotter_H_
145 bool isDirty ()
const;
152 virtual double getZValue (
double x,
double y,
bool scaled =
true )
const;
160 bool adjust_width =
true );
181 virtual void setAllAxisModels ();
186 bool checkAutoScale ();
193 virtual void autoScale ( );
205 bool scaled,
bool adjust_width );
208 unsigned int number );
212 virtual void setRepresentation (
RepBase * pointrep );
216 virtual RepBase * representation ( )
const;
218 virtual const BinToColor * getValueRep ()
const;
233 virtual int getNumDataReps ()
const;
268 virtual bool hasNTupleBindings ()
const;
273 virtual bool hasZoomY ()
const;
282 virtual int setActivePlot(
int index,
bool redraw );
289 virtual int activePlotIndex ()
const;
301 virtual void setAutoRanging (
bool flag );
305 virtual void setShowGrid (
bool flag );
309 virtual bool getShowGrid ();
313 virtual void setBoxEdge(
bool flag );
317 virtual bool getBoxEdge();
329 virtual void matrixTranspose (
bool yes );
333 virtual void setRepColor (
const Color & );
338 virtual const Color & repColor ()
const;
357 virtual void reset ();
365 virtual int getNumberOfEntries ()
const;
382 virtual void setFitsTransform (
const std::string & );
384 virtual void toUserXY (
double mx,
double my,
bool scaled,
385 double & ux,
double & uy )
const;
391 virtual NTuple * createNTuple ()
const;
405 virtual NTuple * createPickTuple ();
421 virtual void fillPickedPoint (
double mx,
double my,
422 std::vector < double > & picked )
const;
425 double processReturnValue (
double retval,
434 virtual void addValues (
const std::vector < double > &
v );
436 virtual void update ();
443 const std::vector < AxisTick > & ticks );
445 virtual bool isTargetable ()
const;
466 virtual void setReverse (
bool flag );
468 virtual bool isReverse ( )
const;
492 void setTitle (
const std::string & title );
498 const std::string & getTitle ()
const;
502 virtual const std::string &
515 virtual double getAspectRatio ()
const;
519 bool hasAutoScaled ()
const;
523 virtual void prepareToDraw ();
527 Rect calcUserRectangle ()
const;
531 Rect calcRawRectangle()
const;
538 virtual void drawProjValues(
ViewBase * view );
546 bool do_y,
bool do_z );
550 virtual void checkAxisScaling ();
554 void setEnableZ (
bool yes );
558 void setAutoScaled (
bool flag =
true );
566 void fillCutList ( std::vector < const TupleCut * > & cuts )
const;
571 virtual void setCutRangeAt (
const Range & range,
unsigned int index );
575 virtual void setMinEntries(
int entries );
580 virtual int getMinEntries ();
586 bool isImageConvertable ()
const;
590 double getScaleFactor (
Axes::Type axis )
const;
598 void toggleBoxEdge(
DataRep* datarep);
605 #endif // _CompositePlotter_H_
#define MDL_HIPPOPLOT_API
TransformBase * m_fits_transform
The fits transform object.
std::string m_z_label
The label of the z axis is associated with the Z axis model object.
A transform that transforms coordinates from one coordinate system to another.
The base class for the value to the color transformation.
TransformBase * m_transform
The transform object.
bool m_reverse
A flag which when set ture indicates the x axis is reversed.
std::string m_y_label
The label of the y axis is associated with the Y axis model object.
bool m_has_autoscaled
A flag that when true indicates the plotter has already auto-scaled the axes.
A Color class for creating the color object following the standard RGB color space.
std::vector< hippodraw::DataRep * > DataRepList_t
The type of container used to store the DataRep objects.
DataRepList_t m_datareps
The list of the DataRep objects in the composite.
The base class for data representations.
numeric::array clone(numeric::array arr)
The AxisModelBase class maintains the Range and scaling of an axis.
Class representing a rectangle.
bool m_show_grid
A flag when set true indicates the plotter shows grid.
AxisModelBase * m_x_axis
The x dimension axis model.
The base class for the axis representation hierarchy.
A DataSource class implemented with std::vector<double> to store the column data. ...
The base class for the Projector hierarchy.
int m_datarep_index
The index of the active DataRep or a negative value if more than one is active.
AxisModelBase * m_y_axis
The y dimension axis model.
The abstract base class for views.
bool m_has_z
A flag which when set true indicates the plotter maintains a Z axis.
Expresses a range of values.
AxisModelBase * m_z_axis
The z dimension axis model.
bool m_box_edge
A flag when set true indicates the box edge is show for color boxes.
std::string m_x_label
The label of the x axis is associated with the X axis model object.
The base class for the point representation hierarchy.
A class for containing one or more DataRep objects in a single composite plot.