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