00001 00020 #ifndef TRANSLATION_H_ 00021 #define TRANSLATION_H_ 00022 00023 #include "Node.hh" 00024 #include "Attribute.hh" 00025 #include "SFVec3f.hh" 00026 00027 namespace vrml1 00028 { 00029 00030 class Translation : public vrml1::Node 00031 { 00032 public: 00033 Translation(); 00034 00035 void setTranslation(SFVec3f translation); 00036 SFVec3f translation() const; 00037 00038 virtual void setAttribute(Attribute *A); 00039 00040 private: 00041 SFVec3f m_translation; 00042 }; 00043 00044 } 00045 00046 #endif /*TRANSLATION_H_*/