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

LineProperties.h

Go to the documentation of this file.
00001 
00002 
00003 
00005 
00006 
00011 
00016 
00021 //                            LineProperties.h                               //
00023 
00024 #ifndef LINEPROPERTIES_H
00025 #define LINEPROPERTIES_H
00026 
00027 #include "X3DTypes.h"
00028 #include "X3DAppearanceChildNode.h"
00029 
00030 namespace X3DTK {
00031 namespace X3D {
00032 
00037 
00038 class LineProperties : public X3DAppearanceChildNode
00039 {
00040 public:
00042   LineProperties();
00044   LineProperties(SFInt32 lineStyle, 
00045                  SFFloat width);
00047   virtual SFNode clone() const;
00049   virtual ~LineProperties();
00050   
00052   void setLineStyle(SFInt32 lineStyle);
00054   void setWidth(SFFloat width);
00055   
00057   inline SFInt32 getLineStyle() const {return _lineStyle;};
00059   inline SFFloat getWidth() const {return _width;};
00060   
00062   virtual void load(const X3DFileElement *element);
00064   virtual SFString write() const;
00065 
00066 protected:  
00068   LineProperties(const LineProperties &L);
00069 
00070 private:    
00072   SFInt32 _lineStyle;
00074   SFFloat _width;
00075 };
00076 
00077 }
00078 }
00079 
00080 #endif

Generated on Wed Sep 10 11:25:13 2003 for X3DToolKit by doxygen1.3