ColorBoxPointRep.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00002 
00014 #ifndef _ColorBoxPointRep_H_
00015 #define _ColorBoxPointRep_H_
00016 
00017 #include "PointRepBase.h"
00018 
00019 class BinaryTransform;
00020 class PeriodicBinaryTransform;
00021 
00022 namespace hippodraw {
00023 
00024 class BinToColor;
00025 
00037 class MDL_HIPPOPLOT_API ColorBoxPointRep : public PointRepBase
00038 {
00039 private:
00040 
00043   BinToColor * m_bin_to_color;
00044 
00045 
00047   static void rotate ( double & lat, double & lon,
00048                        double alpha, double beta, double gamma, bool negative=true);
00049 
00050 
00052   bool m_need_background;
00053 
00055   bool m_box_edge;
00056 
00057 public:
00058 
00060   ColorBoxPointRep( );
00061 
00063   ColorBoxPointRep( const ColorBoxPointRep & point_rep );
00064 
00066   ~ColorBoxPointRep();
00067 
00070   virtual RepBase * clone();
00071 
00072   virtual const BinToColor * getValueTransform ( ) const;
00073   virtual void setValueTransform ( BinToColor * );
00074 
00075   virtual void drawProjectedValues ( const DataSource * ntuple,
00076                                      TransformBase * transform,
00077                                      ViewBase * view );
00078 
00081   virtual bool uses ( Color::Value ) const;
00082 
00083   virtual  void setBoxEdge( bool show );
00084 
00085 };
00086 
00087 } // namespace hippodraw
00088 
00089 #endif // _ColorBoxPointRep_H_

Generated for HippoDraw Class Library by doxygen