00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _XYPlot_H_ 00015 #define _XYPlot_H_ 00016 00017 #include "datareps/DataRep.h" 00018 00028 class MDL_HIPPOPLOT_API XYPlot : public DataRep 00029 { 00030 public: 00031 00033 XYPlot ( ); 00034 00037 virtual DataRep * clone(); 00038 00039 bool acceptFunction ( int num ); 00040 00044 virtual bool hasErrorDisplay () const; 00045 00050 virtual void setRepresentation ( RepBase * point_rep ); 00051 00056 virtual void setAxisBinding ( const std::string & axis, 00057 const std::string & label ); 00058 00063 virtual 00064 void setAxisBindings ( const std::vector < std::string > & bindings ); 00065 00066 virtual bool hasAxis ( hippodraw::Axes::Type ) const; 00067 00068 }; 00069 00070 #endif // _XYPlot