00001 #ifndef X3DTK_GL_X3DCOMPOSEDGEOMETRYNODE_H 00002 #define X3DTK_GL_X3DCOMPOSEDGEOMETRYNODE_H 00003 00004 #include "GL_X3DGeometry3DNode.h" 00005 00006 namespace X3DTK { 00007 namespace GL { 00008 00015 class X3DComposedGeometryNode : public X3DGeometry3DNode 00016 { 00017 public: 00019 X3DComposedGeometryNode(); 00021 virtual ~X3DComposedGeometryNode(); 00022 00024 void setCcw(const SFBool &ccw); 00026 void setSolid(const SFBool &solid); 00028 void setVerticesDuplicated(const SFBool &verticesDuplicated); 00030 void setColor(const SFBool &color); 00032 void setTexCoord(const SFBool &texCoord); 00034 void setNormalPerVertex(const SFBool &normalPerVertex); 00036 void setVertexFormat(const GLenum &format); 00037 00039 inline const SFBool &getCcw() const {return _ccw;}; 00041 inline const SFBool &getSolid() const {return _solid;}; 00043 inline const SFBool &getVerticesDuplicated() const {return _verticesDuplicated;}; 00045 inline const SFBool &getColor() const {return _color;}; 00047 inline const SFBool &getTexCoord() const {return _texCoord;}; 00049 inline const SFBool &getNormalPerVertex() {return _normalPerVertex;}; 00051 inline const GLenum &getVertexFormat() const {return _format;}; 00052 00053 protected: 00055 X3DComposedGeometryNode(const X3DComposedGeometryNode &N); 00056 00057 private: 00059 SFBool _ccw; 00061 SFBool _solid; 00063 SFBool _verticesDuplicated; 00065 SFBool _color; 00067 SFBool _texCoord; 00069 SFBool _normalPerVertex; 00071 GLenum _format; 00072 }; 00073 00074 } 00075 } 00076 00077 #endif