X3D_MyCoordinate.h

Go to the documentation of this file.
00001 #ifndef MYCOORDINATE_H
00002 #define MYCOORDINATE_H
00003 
00004 #include <X3DTK/X3D/scenegraph.h>
00005 
00006 namespace X3DTK {
00007 namespace X3D {
00008 
00009 // Class X3D::MyCoordinate extending the X3D::Coordinate node by adding a weight information.
00010 
00011 class MyCoordinate : public Coordinate
00012 {
00013 public:
00014   MyCoordinate();
00015   
00016   void setWeight(const MFFloat &weight);             
00017   inline const MFFloat &getWeight() const {return _weight;};
00018 
00019 private:  
00020   MFFloat _weight;    
00021 };
00022 
00023 }
00024 }
00025 
00026 #endif

Generated on Mon Jul 12 09:40:00 2004 for X3DToolKit by doxygen 1.3.6