00001
00002
00014 #ifndef _LineFunctionRep_H_
00015 #define _LineFunctionRep_H_
00016
00017 #include "LinePointRep.h"
00018
00019 namespace hippodraw {
00020
00021 class FunctionBase;
00022
00030 class MDL_HIPPOPLOT_API LineFunctionRep : public LinePointRep
00031 {
00032
00033 private:
00034
00037 void smoothCurve ( const Range & range,
00038 TransformBase * transform,
00039 const FunctionBase * function );
00040
00041 public:
00042
00044 LineFunctionRep();
00045
00047 LineFunctionRep ( float size );
00048
00050 LineFunctionRep( const LineFunctionRep & point_rep );
00051
00053 virtual ~LineFunctionRep();
00054
00057 virtual RepBase * clone();
00058
00063 void drawProjectedValues ( const Range & range,
00064 const FunctionBase * function,
00065 TransformBase * transform,
00066 ViewBase * view );
00067
00068 };
00069
00070 }
00071
00072 #endif // _LineFunctionRep_H_