Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

X3D_LineProperties.h

Go to the documentation of this file.
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   LineProperties(const SFInt32 &lineStyle, 
00025                  const SFFloat &width);
00027   virtual SFAbstractNode clone() const;
00029   virtual ~LineProperties();
00030   
00032   void setLineStyle(const SFInt32 &lineStyle);
00034   void setWidth(const SFFloat &width);
00035   
00037   inline const SFInt32 &getLineStyle() const {return _lineStyle;};
00039   inline const SFFloat &getWidth() const {return _width;};
00040   
00042   virtual void load(const X3DFileElement *element);
00044   virtual SFString &write(SFString &output) const;
00045 
00046 protected:  
00048   LineProperties(const LineProperties &L);
00049 
00050 private:    
00052   SFInt32 _lineStyle;
00054   SFFloat _width;
00055 };
00056 
00057 }
00058 }
00059 
00060 #endif

Generated on Wed Apr 7 12:15:21 2004 for X3DToolKit by doxygen 1.3.3