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(); 00023 00025 void setConvex(const SFBool &convex); 00027 void setCreaseAngle(const SFFloat &creaseAngle); 00029 00031 inline const SFBool &getConvex() const {return _convex;}; 00033 inline const SFFloat &getCreaseAngle() const {return _creaseAngle;}; 00034 00035 private: 00037 SFBool _convex; 00039 SFFloat _creaseAngle; 00040 }; 00041 00042 } 00043 } 00044 00045 #endif