Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

StripChart.cxx

Go to the documentation of this file.
00001 
00012 // for truncation warning in debug mode
00013 #ifdef _MSC_VER
00014 #include "msdevstudio/MSconfig.h"
00015 #endif
00016 
00017 #include "StripChart.h"
00018 
00019 #include "projectors/StripChartProjector.h"
00020 #include "reps/LinePointRep.h"
00021 
00022 StripChart::StripChart ( )
00023 {
00024   m_name = "Strip Chart";
00025 
00026   m_projector = new StripChartProjector();
00027   m_rep = new LinePointRep();
00028 }
00029 
00030 DataRep * StripChart::clone ()
00031 {
00032   return new StripChart ( *this );
00033 }
00034 
00035 bool StripChart::acceptFunction ( int num )
00036 {
00037   return num == 1;
00038 }
00039 
00040 using namespace hippodraw;
00041 
00042 bool
00043 StripChart::
00044 hasAxis ( hippodraw::Axes::Type axis ) const
00045 {
00046   return axis == Axes::X || axis == Axes::Y;
00047 }
00048 

Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3