00001 #ifndef TRANSLATION_H_ 00002 #define TRANSLATION_H_ 00003 #include <iostream> 00004 #include "Transform.h" 00005 using std::cout; 00006 #define translation new Translation 00007 00012 class Translation : public Transform { 00013 public: 00017 Translation(Vector* transformation, Node* child = 0); 00018 00022 Translation(double a, double b, double c, Node* child = 0); 00023 00027 void work(); 00028 00032 virtual ~Translation(); 00033 }; 00034 00035 #endif /*TRANSLATION_H_*/