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