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

GL_X3DComposedGeometryNode.h

Go to the documentation of this file.
00001 
00002 //                            GL_X3DComposedGeometryNode.h                    //
00004 
00005 #ifndef X3DGLCOMPOSEDGEOMETRYNODE_H
00006 #define X3DGLCOMPOSEDGEOMETRYNODE_H
00007 
00008 #include "GL_X3DGeometry3DNode.h"
00009 
00010 namespace X3DTK {
00011 namespace GL {
00012 
00014 
00015 class X3DComposedGeometryNode : public X3DGeometry3DNode
00016 {
00017 public:
00019   X3DComposedGeometryNode();
00021   virtual SFNode clone() const;
00023   virtual ~X3DComposedGeometryNode();
00024 
00026   void setCcw(SFBool ccw);
00028   void setSolid(SFBool solid);
00030   void setVerticesDuplicated(SFBool verticesDuplicated);
00032   void setColor(SFBool color);
00034   void setTexCoord(SFBool texCoord);
00036   void setNormalPerVertex(SFBool normalPerVertex);
00038   void setVertexFormat(GLenum format);
00039 
00041   inline SFBool getCcw() const {return _ccw;};
00043   inline SFBool getSolid() const {return _solid;};
00045   inline SFBool getVerticesDuplicated() const {return _verticesDuplicated;};
00047   inline SFBool getColor() const {return _color;};
00049   inline SFBool getTexCoord() const {return _texCoord;};
00051   inline SFBool getNormalPerVertex() {return _normalPerVertex;};
00053   inline GLenum getVertexFormat() const {return _format;};
00054   
00055 protected:
00057   X3DComposedGeometryNode(const X3DComposedGeometryNode &N);
00058 
00059 private:  
00061   SFBool _ccw;
00063   SFBool _solid;
00065   SFBool _verticesDuplicated;
00067   SFBool _color;
00069   SFBool _texCoord;
00071   SFBool _normalPerVertex;
00073   GLenum _format;
00074 };
00075 
00076 }
00077 }
00078 
00079 #endif

Generated on Thu Oct 9 13:50:53 2003 for X3DToolKit by doxygen1.2.18