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 void 00047 AxisRep2D:: 00048 drawZLabels( const AxisModelBase &, 00049 ViewBase &, const std::string & ) 00050 { 00051 assert( false ); 00052 // Should never be called. 00053 } 00054 00055 void 00056 AxisRep2D:: 00057 drawAllZTicks ( const AxisModelBase &, 00058 const TransformBase &, 00059 ViewBase & ) 00060 { 00061 // Should never be called; 00062 assert( false ); 00063 }