00001 #ifndef X3DTK_X3D_LINEPROPERTIES_H 00002 #define X3DTK_X3D_LINEPROPERTIES_H 00003 00004 #include "X3DTypes.h" 00005 #include "X3D_X3DAppearanceChildNode.h" 00006 00007 namespace X3DTK { 00008 namespace X3D { 00009 00018 class LineProperties : public X3DAppearanceChildNode 00019 { 00020 public: 00022 LineProperties(); 00024 virtual ~LineProperties(); 00025 00027 void setLineStyle(const SFInt32 &lineStyle); 00029 void setWidth(const SFFloat &width); 00030 00032 inline const SFInt32 &getLineStyle() const {return _lineStyle;}; 00034 inline const SFFloat &getWidth() const {return _width;}; 00035 00036 private: 00038 SFInt32 _lineStyle; 00040 SFFloat _width; 00041 }; 00042 00043 } 00044 } 00045 00046 #endif