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();
00024   virtual ~IndexedFaceSet();
00025   
00027   void setColorIndex(const MFInt32 &colorIndex);
00029   void setConvex(const SFBool &convex);
00031   void setCoordIndex(const MFInt32 &coordIndex);
00033   void setCreaseAngle(const SFFloat &creaseAngle);
00035   void setNormalIndex(const MFInt32 &normalIndex);
00037   void setTexCoordIndex(const MFInt32 &texCoordIndex);
00038     
00040   inline const MFInt32 &getColorIndex() const {return _colorIndex;};
00042   inline const SFBool &getConvex() const {return _convex;};  
00044   inline const MFInt32 &getCoordIndex() const {return _coordIndex;};
00046   inline const SFFloat &getCreaseAngle() const {return _creaseAngle;};
00048   inline const MFInt32 &getNormalIndex() const {return _normalIndex;};
00050   inline const MFInt32 &getTexCoordIndex() const {return _texCoordIndex;};
00051 
00052 private:  
00054   MFInt32 _colorIndex;
00056   SFBool _convex;
00058   MFInt32 _coordIndex;
00060   SFFloat _creaseAngle; 
00062   MFInt32 _normalIndex;
00064   MFInt32 _texCoordIndex;
00065 };
00066 
00067 }
00068 }
00069 
00070 #endif

Generated on Fri Aug 27 13:16:23 2004 for X3DToolKit by doxygen 1.3.6