ColorBoxPointRep.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _ColorBoxPointRep_H_
15 #define _ColorBoxPointRep_H_
16 
17 #include "PointRepBase.h"
18 
19 class BinaryTransform;
20 class PeriodicBinaryTransform;
21 
22 namespace hippodraw {
23 
24 class BinToColor;
25 
38 {
39 private:
40 
44 
45 
47  static void rotate ( double & lat, double & lon,
48  double alpha, double beta, double gamma, bool negative=true);
49 
50 
53 
55  bool m_box_edge;
56 
57 public:
58 
61 
63  ColorBoxPointRep( const ColorBoxPointRep & point_rep );
64 
67 
70  virtual RepBase * clone();
71 
72  virtual const BinToColor * getValueTransform ( ) const;
73  virtual void setValueTransform ( BinToColor * );
74 
75  virtual void drawProjectedValues ( const DataSource * ntuple,
76  TransformBase * transform,
77  ViewBase * view );
78 
81  virtual bool uses ( Color::Value ) const;
82 
83  virtual void setBoxEdge( bool show );
84 
85 };
86 
87 } // namespace hippodraw
88 
89 #endif // _ColorBoxPointRep_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
A PointRep class that draws a colored box to represent the value.
bool m_need_background
Flag to indicated that background needs to be draw.
A transform that transforms coordinates from one coordinate system to another.
Definition: TransformBase.h:35
The base class for the value to the color transformation.
Definition: BinToColor.h:30
BinToColor * m_bin_to_color
The following function transforms the projected value to a color scale.
bool m_box_edge
Flag to indicated that box edge needs to be shown.
Value
A few common colors.
Definition: Color.h:51
numeric::array clone(numeric::array arr)
Definition: num_util.cpp:412
The abstract base class for views.
Definition: ViewBase.h:62
hippodraw::PointRepBase class interface
The base class for the point representation hierarchy.
Definition: RepBase.h:45
The base class for the point representation hierarchy.
Definition: PointRepBase.h:37
Base class for DataSource.
Definition: DataSource.h:55

Generated for HippoDraw Class Library by doxygen