00001 #ifndef TRANSFORM_H_ 00002 #define TRANSFORM_H_ 00003 #include <cstdlib> 00004 #include <GL/glut.h> 00005 #include "Node.h" 00006 #include "Vector.h" 00007 00011 class Transform : public Node { 00012 protected: 00016 Vector* transformation; 00017 00018 public: 00022 Transform(); 00023 00027 Transform(Vector* transformation); 00028 00033 Transform(double a, double b = 0.0, double c = 0.0, double d = 0.0); 00034 00039 Transform(Vector* transformation, Node* child); 00040 00046 Transform(double a, double b, double c, double d, Node* child); 00047 00051 Vector* getTransformation(); 00052 00056 void work() = 0; 00057 00061 virtual ~Transform(); 00062 }; 00063 00064 #endif /*TRANSFORM_H_*/