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