GL_X3DComposedGeometryNode.h

Go to the documentation of this file.
00001 #ifndef X3DTK_GL_X3DCOMPOSEDGEOMETRYNODE_H
00002 #define X3DTK_GL_X3DCOMPOSEDGEOMETRYNODE_H
00003 
00004 #include "GL_X3DGeometryNode.h"
00005 
00006 namespace X3DTK {
00007 namespace GL {
00008 
00015 class X3DComposedGeometryNode : public X3DGeometryNode
00016 {
00017 public:
00019   X3DComposedGeometryNode();
00021   virtual ~X3DComposedGeometryNode();
00022 
00024   void setCcw(const SFBool &ccw);
00026   void setSolid(const SFBool &solid);
00028   void setColor(const SFBool &color);
00030   void setTexCoord(const SFBool &texCoord);
00032   void setNormalPerVertex(const SFBool &normalPerVertex);
00034   void setVertexFormat(const GLenum &format);
00035   
00037   inline const SFBool &getCcw() const {return _ccw;};
00039   inline const SFBool &getSolid() const {return _solid;};
00041   inline const SFBool &getColor() const {return _color;};
00043   inline const SFBool &getTexCoord() const {return _texCoord;};
00045   inline const SFBool &getNormalPerVertex() {return _normalPerVertex;};
00047   inline const GLenum &getVertexFormat() const {return _format;};
00048 
00049 private:  
00051   SFBool _ccw;
00053   SFBool _solid;
00055   SFBool _color;
00057   SFBool _texCoord;
00059   SFBool _normalPerVertex;
00061   GLenum _format;
00062 };
00063 
00064 }
00065 }
00066 
00067 #endif

Generated on Fri Jul 30 12:02:28 2004 for X3DToolKit by doxygen 1.3.6