Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

GLTransform.h

Go to the documentation of this file.
00001 
00002 
00003 
00005 
00006 
00011 
00016 
00021 //                            GLTransform.h                                   //
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

Generated on Wed Sep 10 11:25:13 2003 for X3DToolKit by doxygen1.3