00001
00002
00004
00005 #ifndef GLTRIANGLESTRIPSET_H
00006 #define GLTRIANGLESTRIPSET_H
00007
00008 #include "X3DGLComposedGeometryNode.h"
00009
00010 #include <vector>
00011
00012 namespace X3DTK {
00013
00014 class TriangleStripSet;
00015
00018
00019 class GLTriangleStripSet : public X3DGLComposedGeometryNode
00020 {
00021 public:
00023 GLTriangleStripSet();
00025 virtual SFNode clone() const;
00027 ~GLTriangleStripSet();
00028
00030 inline SFBool &getCcw() const {return (SFBool &)_ccw;};
00032 inline SFBool &getSolid() const {return (SFBool &)_solid;};
00034 inline SFBool &getVerticesDuplicated() const {return (SFBool &)_verticesDuplicated;};
00036 inline SFBool &getColor() const {return (SFBool &)_color;};
00038 inline SFBool &getTexCoord() const {return (SFBool &)_texCoord;};
00039
00041 inline std::vector<std::vector<N3F_V3F> *> &getN3F_V3FvertexStripArrayArray() const {return (std::vector<std::vector<N3F_V3F> *> &)_N3F_V3FvertexStripArrayArray;};
00043 inline std::vector<std::vector<C4F_N3F_V3F> *> &getC4F_N3F_V3FvertexStripArrayArray() const {return (std::vector<std::vector<C4F_N3F_V3F> *> &)_C4F_N3F_V3FvertexStripArrayArray;};
00044
00045 protected:
00047 GLTriangleStripSet(const GLTriangleStripSet &T);
00048
00049 private:
00050
00051 SFBool _ccw;
00052 SFBool _solid;
00053 SFBool _verticesDuplicated;
00054 SFBool _color;
00055 SFBool _texCoord;
00056
00057 std::vector<std::vector<C4F_N3F_V3F> *> _C4F_N3F_V3FvertexStripArrayArray;
00058 std::vector<std::vector<N3F_V3F> *> _N3F_V3FvertexStripArrayArray;
00059 };
00060
00061 }
00062
00063 #endif