Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AxisRepColor.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00002 
00014 #ifndef _AxisRepColor_H_
00015 #define _AxisRepColor_H_
00016 
00017 #include "AxisRepBase.h"
00018 
00019 class AxisModelBase;
00020 class AxisTick;
00021 
00038 class MDL_HIPPOPLOT_API AxisRepColor : public AxisRepBase
00039 {
00040 
00041  protected:
00042 
00044   float m_axis_z_origin;
00045 
00047   float m_axis_depth;
00048 
00049  public:
00051   AxisRepColor();
00052 
00054   AxisRepColor( const AxisRepColor & axis_rep );
00055 
00058   AxisRepBase * clone();
00059   
00063   void endPlot();
00064 
00066   void drawZLabels ( const AxisModelBase & axis_model,
00067                      ViewBase & view, 
00068                      const std::string & z_label );
00069 
00070   
00074   void drawAllZTicks( const AxisModelBase & axis_model,
00075                       const TransformBase & transform,
00076                       ViewBase & view );
00077 private:
00078 
00080   void drawZTickLines ( const AxisModelBase & axisModel,
00081                         const TransformBase & transform,
00082                         ViewBase & view );
00083   
00085   void drawZTickLabels ( const AxisModelBase & axisModel,
00086                          const TransformBase & transform,
00087                          ViewBase & view );
00088 
00091   virtual void drawColorScale ( const BinToColor &, ViewBase & );
00092 
00093 };
00094 
00095 #endif // _AxisRepColor_H_

Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3