Profile2DProjector.h
Go to the documentation of this file.
1 /* -*- mode: c++; -*- */
2 
14 #ifndef _Profile2DProjector_H_
15 #define _Profile2DProjector_H_
16 
17 #include "BinningProjector.h"
18 #include "NTupleProjector.h"
19 
20 #include "axes/Range.h"
21 
22 namespace hippodraw {
23 
38  public NTupleProjector
39 {
40 
41 private:
42 
45 
46 protected:
47 
49  Profile2DProjector ( const Profile2DProjector & projector );
50 
55  virtual void changedNTuple();
56 
57  public:
58 
62 
65  ProjectorBase * clone();
66 
69  void execute();
70 
73  virtual Range valueRange() const;
74 
77  virtual Range dataRangeOn ( hippodraw::Axes::Type ) const;
78 
81  virtual double getPosOn ( hippodraw::Axes::Type axis ) const;
82 
84  virtual void addPointReps ();
85 
86  public:
87 
88  virtual void setRange ( hippodraw::Axes::Type axis, bool );
89 
98  virtual const Range & setBinWidth ( hippodraw::Axes::Type axis, double v );
99 
100  virtual const Range & setBinWidth ( hippodraw::Axes::Type axis,
101  int parm,
102  bool dragging );
103 
104  virtual void setOffset ( const std::string & axis,
105  int parm,
106  bool dragging );
107 
108  virtual void setOffset ( hippodraw::Axes::Type axis, double v );
109 
112  virtual bool isAxisBinned ( const std::string & axis ) const;
113 
116  const std::string & getZLabel() const;
117 
123  virtual void setBinnerRange ( hippodraw::Axes::Type axis,
124  const Range & range,
125  bool const_width );
126 
132  virtual void update ( const Observable * object );
133 
139  virtual void willDelete ( const Observable * object );
140 
141 };
142 
143 } // namespace hippodraw
144 
145 #endif // _Profile2DProjector_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
Part of an implementation of the Observable-Observer pattern based on the example in the GOF Patterns...
Definition: Observable.h:39
The BinningProjector is an abstract class provides most of the functionality for a projector that doe...
Range m_value_range
The range of the accumulated values.
hippodraw::BinningProjector class interface
An NTupleProjector is a projector that projects data from an DataSource object.
A derived class of BinningProjector that reads three columns of data and projects them to a two dimen...
numeric::array clone(numeric::array arr)
Definition: num_util.cpp:412
ViewBase * v
Definition: PlotTable.cxx:104
The base class for the Projector hierarchy.
Definition: ProjectorBase.h:56
hippodraw::Range class interface
Expresses a range of values.
Definition: Range.h:33
hippodraw::NTupleProjector class interface
Type
Axes constants.
Definition: AxesType.h:31

Generated for HippoDraw Class Library by doxygen