00001 #ifndef X3DTK_X3D_TRIANGLEFANSET_H 00002 #define X3DTK_X3D_TRIANGLEFANSET_H 00003 00004 #include "X3DTypes.h" 00005 #include "X3D_X3DComposedGeometryNode.h" 00006 00007 namespace X3DTK { 00008 namespace X3D { 00009 00018 class TriangleFanSet : public X3DComposedGeometryNode 00019 { 00020 public: 00022 TriangleFanSet(); 00023 00025 void setConvex(const SFBool &convex); 00027 void setCreaseAngle(const SFFloat &creaseAngle); 00029 void setFanCount(const MFInt32 &fanCount); 00030 00032 inline const SFBool &getConvex() const {return _convex;}; 00034 inline const SFFloat &getCreaseAngle() const {return _creaseAngle;}; 00036 inline const MFInt32 &getFanCount() const {return _fanCount;}; 00037 00038 private: 00040 SFBool _convex; 00042 SFFloat _creaseAngle; 00044 MFInt32 _fanCount; 00045 }; 00046 00047 } 00048 } 00049 00050 #endif