// DragSensor.H: DragSensor nodes.

// This file has been generated using nodegen 0.5a.
// Restrict manual editing to the sections delimited by
// . the comments "utility includes" and "end of utility includes"
// . the comments "utility members" and "end of utility members"

#ifndef _DragSensor_H_
#define _DragSensor_H_

#include "xrml.H"
#include "PointingDeviceSensor.H"

// utility includes
// end of utility includes

namespace xrml {
#define DragSensorTypeId 	"DragSensor"
extern bool IsDragSensor(SFNode*);

class DragSensor:  public PointingDeviceSensor {
public:
  //
  virtual int major_version(void), minor_version(void);
  virtual bool is_leaf_class(void);
  
  DragSensor();
  
  //
  virtual void     	render(void);
  
  // eventOuts:
  SFVec3f            	trackPoint_changed;
  virtual void     	post_trackPoint_changed(const SFVec3f& val);
  
  // update status
  virtual bool     	trackPoint_changed_is_updated(void);
  virtual void     	trackPoint_changed_clear_update(void);
  
  // utility members
  
protected:
  inline void util_init(void) { }
  inline void util_clone(const DragSensor& src) { }
  inline void util_destruct(void) { }
};

// end of utility members
} // namespace xrml
#endif /*_DragSensor_H_*/
