Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members Related Pages Search
glparametricgraph.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef GLPARAMETRICGRAPH_H
00019 #define GLPARAMETRICGRAPH_H
00020
00021 #include "glexpressiongraph.h"
00022
00027 class GLParametricGraph : public GLExpressionGraph
00028 {
00029 public:
00030 GLParametricGraph(QWidget *parent=0, const char *name=0);
00031 ~GLParametricGraph();
00032
00033 virtual inline int getGraphType() const{return GLPARAMETRICGRAPH;}
00034
00035 protected:
00036 const char * independent_vars() const{return "u,v";}
00037 const char * dependent_var() const{return "x";}
00038 void trace(float mouseX, float mouseY, FungParser &parsed_function, GLfloat *x, GLfloat *y, GLfloat *z);
00039
00040 };
00041
00042 #endif
|