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

LineProperties.h

Go to the documentation of this file.
00001 
00002 //                            LineProperties.h                               //
00004 
00005 #ifndef LINEPROPERTIES_H
00006 #define LINEPROPERTIES_H
00007 
00008 #include "X3DTypes.h"
00009 #include "X3DAppearanceChildNode.h"
00010 
00011 namespace X3DTK {
00012 
00017 
00018 class LineProperties : public X3DAppearanceChildNode
00019 {
00020 public:
00022   LineProperties();
00024   LineProperties(SFInt32 lineStyle, 
00025                  SFFloat width);
00027   virtual SFNode clone() const;
00029   ~LineProperties();
00030   
00032   void setLineStyle(SFInt32 lineStyle);
00034   void setWidth(SFFloat width);
00035   
00037   inline SFInt32 getLineStyle() const {return lineStyle_;};
00039   inline SFFloat getWidth() const {return width_;};
00040   
00042   virtual void loadAttributes(const X3DFileElement *element);
00044   virtual SFString writeAttributes() const;
00045 
00046 protected:  
00048   LineProperties(const LineProperties &L);
00049     
00050 private:
00051   SFInt32 lineStyle_;
00052   SFFloat width_;
00053 };
00054 
00055 }
00056 
00057 #endif

Generated on Wed May 14 10:38:09 2003 for X3DToolKit by doxygen1.3