X3D_IndexedFaceSet.h

Go to the documentation of this file.
00001 #ifndef X3DTK_X3D_INDEXEDFACESET_H
00002 #define X3DTK_X3D_INDEXEDFACESET_H
00003 
00004 #include "X3DTypes.h"
00005 #include "X3D_X3DComposedGeometryNode.h"
00006 
00007 namespace X3DTK {
00008 namespace X3D {
00009 
00018 class IndexedFaceSet : public X3DComposedGeometryNode
00019 {
00020 public:
00022   IndexedFaceSet();
00023   
00025   void setColorIndex(const MFInt32 &colorIndex);
00027   void setConvex(const SFBool &convex);
00029   void setCoordIndex(const MFInt32 &coordIndex);
00031   void setCreaseAngle(const SFFloat &creaseAngle);
00033   void setNormalIndex(const MFInt32 &normalIndex);
00035   void setTexCoordIndex(const MFInt32 &texCoordIndex);
00036     
00038   inline const MFInt32 &getColorIndex() const {return _colorIndex;};
00040   inline const SFBool &getConvex() const {return _convex;};  
00042   inline const MFInt32 &getCoordIndex() const {return _coordIndex;};
00044   inline const SFFloat &getCreaseAngle() const {return _creaseAngle;};
00046   inline const MFInt32 &getNormalIndex() const {return _normalIndex;};
00048   inline const MFInt32 &getTexCoordIndex() const {return _texCoordIndex;};
00049 
00050 private:  
00052   MFInt32 _colorIndex;
00054   SFBool _convex;
00056   MFInt32 _coordIndex;
00058   SFFloat _creaseAngle; 
00060   MFInt32 _normalIndex;
00062   MFInt32 _texCoordIndex;
00063 };
00064 
00065 }
00066 }
00067 
00068 #endif

Generated on Mon Jul 12 09:40:00 2004 for X3DToolKit by doxygen 1.3.6