X3D_Collision.h

Go to the documentation of this file.
00001 #ifndef X3DTK_X3D_COLLISION_H
00002 #define X3DTK_X3D_COLLISION_H
00003 
00004 #include "X3D_X3DGroupingNode.h"
00005 #include "X3D_X3DBoundedObject.h"
00006 #include "X3D_X3DSensorNode.h"
00007 
00008 namespace X3DTK {
00009 namespace X3D {
00010 
00019 class Collision : public X3DGroupingNode, public X3DBoundedObject//, public X3DSensorNode
00020 {
00021 public:
00023   Collision();
00025   virtual ~Collision();
00026   
00028   void setCollide(const SFBool &collide);
00030   void setProxy(X3DChildNode *proxy);
00031   
00033   inline const SFBool &getCollide() const {return _collide;};
00035   inline SFNode getProxy() const {return _proxy;};
00036   
00037 private:
00038   SFBool _collide;
00039   SFNode _proxy; 
00040 };
00041 
00042 }
00043 }
00044 
00045 #endif

Generated on Fri Jul 30 12:02:29 2004 for X3DToolKit by doxygen 1.3.6