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

X3DGLNode.h

Go to the documentation of this file.
00001 
00002 //                            X3DGLNode.h                                     //
00004 
00005 #ifndef X3DGLNODE_H
00006 #define X3DGLNODE_H
00007 
00008 #include "X3DAbstractNode.h"
00009 #include "X3DNode.h"
00010 #include "X3DGLTypes.h"
00011 
00012 #include <GL/gl.h>
00013 
00014 namespace X3DTK {
00015 namespace GL {
00016 
00021 
00022 class X3DNode : public X3DAbstractNode
00023 {
00024 public:
00026   X3DNode();
00028   virtual SFNode clone() const;
00030   virtual ~X3DNode();
00031   
00033   void setX3DReference(X3D::SFNode N);
00035   inline X3D::SFNode getX3DReference() const {return x3dReference;};
00036   
00038   virtual void update();
00040   virtual void render() const;  
00041   
00042 protected:
00044   X3DNode(const X3DNode &N);
00045   
00047   X3D::SFNode x3dReference;
00048 };
00049 
00050 }
00051 }
00052 
00053 #endif

Generated on Tue Jul 15 16:46:53 2003 for X3DToolKit by doxygen1.3