ColorSymbolPointRep.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _ColorSymbolPointRep_H_
15 #define _ColorSymbolPointRep_H_
16 
17 #include "SymbolPointRep.h"
18 
19 namespace hippodraw {
20 
21 class BinToColor;
22 
34 {
35  private:
36 
39  std::vector < Color > m_colors;
40 
43 
44  public:
45 
49 
52 
54  ColorSymbolPointRep( const ColorSymbolPointRep & point_rep );
55 
58 
61  virtual RepBase * clone();
62 
63  virtual const BinToColor * getValueTransform ( ) const;
64  virtual void setValueTransform ( BinToColor * );
65  virtual void drawProjectedValues ( const DataSource * ntuple,
66  TransformBase * transform,
67  ViewBase * view );
68 
71  virtual bool uses ( Color::Value ) const;
72 
73 };
74 
75 } // namespace hippodraw
76 
77 #endif // _ColorSymbolPointRep_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
hippodraw::SymbolPointRep class interface
std::vector< Color > m_colors
A cache of the colors to be used.
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
Type
Enumeration of the type of symbols supported by this class.
Definition: SymbolType.h:28
Value
A few common colors.
Definition: Color.h:51
A PointRep class draws a symbol to represent the value.
numeric::array clone(numeric::array arr)
Definition: num_util.cpp:412
intp size(numeric::array arr)
Definition: num_util.cpp:296
A PointRep class draws a symbol to represent the coordinate in a color that represents the value...
The abstract base class for views.
Definition: ViewBase.h:62
BinToColor * m_color_gen
The color scale generator.
The base class for the point representation hierarchy.
Definition: RepBase.h:45
Base class for DataSource.
Definition: DataSource.h:55

Generated for HippoDraw Class Library by doxygen