00001
00002
00004
00005 #ifndef GLTRANSFORM_H
00006 #define GLTRANSFORM_H
00007
00008 #include "X3DGLGroupingNode.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();
00037 virtual void render() const;
00038
00039 protected:
00041 Transform(const Transform &T);
00042
00043 private:
00045 MFFloat _transformMatrix;
00046 };
00047
00048 }
00049 }
00050
00051 #endif