00001
00002
00003
00005
00006
00011
00016
00021
00023
00024 #ifndef GLTRANSFORM_H
00025 #define GLTRANSFORM_H
00026
00027 #include "X3DGLGroupingNode.h"
00028
00029 #include <vector>
00030
00031 namespace X3DTK {
00032 namespace GL {
00033
00036
00037 class Transform : public X3DGroupingNode
00038 {
00039 public:
00041 Transform();
00043 virtual SFNode clone() const;
00045 virtual ~Transform();
00046
00048 void setTransformMatrix(const MFFloat &transformMatrix);
00049
00051 inline const MFFloat &getTransformMatrix() const {return _transformMatrix;};
00052
00054 virtual void update();
00056 virtual void render() const;
00057
00058 protected:
00060 Transform(const Transform &T);
00061
00062 private:
00064 MFFloat _transformMatrix;
00065 };
00066
00067 }
00068 }
00069
00070 #endif