00001 00002 // GL_Transform.h // 00004 00005 #ifndef GLTRANSFORM_H 00006 #define GLTRANSFORM_H 00007 00008 #include "GL_X3DGroupingNode.h" 00009 00010 #include <vector> 00011 00012 namespace X3DTK { 00013 namespace GL { 00014 00017 00018 class Transform : public X3DGroupingNode 00019 { 00020 public: 00022 Transform(); 00024 virtual SFNode clone() const; 00026 virtual ~Transform(); 00027 00029 void setTransformMatrix(const MFFloat &transformMatrix); 00030 00032 inline const MFFloat &getTransformMatrix() const {return _transformMatrix;}; 00033 00035 virtual void update(); 00036 00037 protected: 00039 Transform(const Transform &T); 00040 00041 private: 00043 MFFloat _transformMatrix; 00044 }; 00045 00046 } 00047 } 00048 00049 #endif