00001 00012 #ifdef _MSC_VER 00013 // for min() 00014 #include "msdevstudio/MSconfig.h" 00015 #endif 00016 00017 #include "AxisRep2D.h" 00018 00019 #include "graphics/ViewBase.h" 00020 #include <algorithm> 00021 00022 #include <cmath> 00023 #include <cassert> 00024 00025 using std::min; 00026 using std::string; 00027 using std::vector; 00028 00029 using namespace hippodraw; 00030 00031 AxisRep2D::AxisRep2D () 00032 : AxisRepBase () 00033 { 00034 } 00035 00036 AxisRep2D::AxisRep2D( const AxisRep2D & axis_rep ) 00037 : AxisRepBase( axis_rep ) 00038 { 00039 } 00040 00041 AxisRepBase * AxisRep2D::clone() 00042 { 00043 return new AxisRep2D( *this ); 00044 } 00045 00046 00047 void AxisRep2D::endPlot() 00048 { 00049 } 00050 00051 void AxisRep2D::drawZLabels( const AxisModelBase & axisModel, 00052 ViewBase & view, const std::string & z_label ) 00053 { 00054 assert( false ); 00055 // Should never be called. 00056 } 00057 00058 void AxisRep2D::drawAllZTicks ( const AxisModelBase & axisModel, 00059 const TransformBase & transform, 00060 ViewBase & view ) 00061 { 00062 // Should never be called; 00063 assert( false ); 00064 }