00001 #ifndef X3DTK_X3D_TRIANGLESET_H 00002 #define X3DTK_X3D_TRIANGLESET_H 00003 00004 #include "X3DTypes.h" 00005 #include "X3D_X3DComposedGeometryNode.h" 00006 00007 namespace X3DTK { 00008 namespace X3D { 00009 00018 class TriangleSet : public X3DComposedGeometryNode 00019 { 00020 public: 00022 TriangleSet(); 00024 virtual ~TriangleSet(); 00025 00027 void setConvex(const SFBool &convex); 00029 void setCreaseAngle(const SFFloat &creaseAngle); 00031 00033 inline const SFBool &getConvex() const {return _convex;}; 00035 inline const SFFloat &getCreaseAngle() const {return _creaseAngle;}; 00036 00037 private: 00039 SFBool _convex; 00041 SFFloat _creaseAngle; 00042 }; 00043 00044 } 00045 } 00046 00047 #endif