Map3Projector.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _Map3Projector_H_
15 #define _Map3Projector_H_
16 
17 #include "NTupleProjector.h"
18 
19 #include "axes/Range.h"
20 
21 namespace hippodraw {
22 
31 {
32 
33 private:
34 
37 
38  protected:
39 
41  Map3Projector ( const Map3Projector & projector );
42 
46  virtual void changedNTuple();
47 
48  bool m_z_log;
51 
53  virtual void addPointReps ();
54 
55  public:
56 
58  Map3Projector();
59 
62  ProjectorBase * clone();
63 
66  virtual Range valueRange() const;
67 
70  virtual Range dataRangeOn ( hippodraw::Axes::Type ) const;
71 
74  virtual double getPosOn ( hippodraw::Axes::Type axis ) const;
75 
78  const std::string & getZLabel() const;
79 
81  virtual double getZValue ( double x, double y ) const;
82 
83  virtual DataSource * createNTuple () const;
84 
85  virtual void prepareValues ();
86 
87 protected:
88 
89  virtual void fillProjectedValues ( DataSource * ntuple,
90  bool in_range = false ) const;
91 
92 };
93 
94 } // namespace hippodraw
95 
96 #endif // _Map3Projector_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
An NTupleProjector is a projector that projects data from an DataSource object.
numeric::array clone(numeric::array arr)
Definition: num_util.cpp:412
The base class for the Projector hierarchy.
Definition: ProjectorBase.h:56
hippodraw::Range class interface
Expresses a range of values.
Definition: Range.h:33
A derived class of NTupleProjector that maps 3 DataSource columns to a 3-dimensional projection...
Definition: Map3Projector.h:30
hippodraw::NTupleProjector class interface
Type
Axes constants.
Definition: AxesType.h:31
Range m_z_range
The Z projection range.
Definition: Map3Projector.h:36
Base class for DataSource.
Definition: DataSource.h:55

Generated for HippoDraw Class Library by doxygen