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

X3D_Normal.h

Go to the documentation of this file.
00001 #ifndef X3DTK_X3D_NORMAL_H
00002 #define X3DTK_X3D_NORMAL_H
00003 
00004 #include "X3DTypes.h"
00005 #include "X3D_X3DNormalNode.h"
00006 
00007 namespace X3DTK {
00008 namespace X3D {
00009 
00018 class Normal : public X3DNormalNode
00019 {
00020 public:
00022   Normal();
00024   Normal(const MFVec3f &vector);
00026   virtual SFAbstractNode clone() const;
00028   virtual ~Normal();
00029   
00031   void setVector(const MFVec3f &vector);
00032 
00034   inline const MFVec3f &getVector() const {return _vector;};
00035   
00037   virtual void load(const X3DFileElement *element);
00039   virtual SFString &write(SFString &output) const;
00040   
00041 protected: 
00043   Normal(const Normal &N);
00044 
00045 private:  
00047   MFVec3f _vector;  
00048 };
00049 
00050 }
00051 }
00052 
00053 #endif

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