00001 00012 // for truncation warning in debug mode 00013 #ifdef _MSC_VER 00014 #include "msdevstudio/MSconfig.h" 00015 #endif 00016 00017 #include "ProfileContour.h" 00018 00019 #include "projectors/Profile2DProjector.h" 00020 #include "reps/ContourPointRep.h" 00021 00022 ProfileContour::ProfileContour ( ) 00023 : DataRep () 00024 { 00025 m_name = "Profile Contour"; 00026 00027 m_projector = new Profile2DProjector(); 00028 m_rep = new ContourPointRep(); 00029 } 00030 00031 DataRep * ProfileContour::clone () 00032 { 00033 return new ProfileContour ( *this ); 00034 } 00035 00036 using namespace hippodraw; 00037 00038 bool 00039 ProfileContour:: 00040 hasAxis ( hippodraw::Axes::Type axis ) const 00041 { 00042 return axis == Axes::X || axis == Axes::Y || axis ==Axes::Z; 00043 } 00044