1 #ifndef VISUALIZE_FILTER_H
2 #define VISUALIZE_FILTER_H
6 #ifdef COMPILE_PHANTOM_DEVICE
8 namespace vreckoDP_PHANToM {
11 class VisualizeFilter :
public PHANToMFilter {
15 virtual bool loadXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *parameters);
17 virtual void apply(PHANToMSTATE &pState, osg::Vec3 &force, osg::Vec3 &torque);
20 unsigned long forceObject, torqueObject;
22 float forceScale, torqueScale;
24 void updateObjectTransform(
unsigned long objectID, osg::Vec3 &start, osg::Vec3 &dir,
float fScale);