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 namespace hippodraw { 00023 00024 ProfileContour::ProfileContour ( ) 00025 : DataRep () 00026 { 00027 m_name = "Profile Contour"; 00028 00029 m_projector = new Profile2DProjector(); 00030 m_rep = new ContourPointRep(); 00031 } 00032 00033 DataRep * ProfileContour::clone () 00034 { 00035 return new ProfileContour ( *this ); 00036 } 00037 00038 using namespace hippodraw; 00039 00040 bool 00041 ProfileContour:: 00042 hasAxis ( hippodraw::Axes::Type axis ) const 00043 { 00044 return axis == Axes::X || axis == Axes::Y || axis ==Axes::Z; 00045 } 00046 00047 } // namespace hippodraw 00048