vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LoggingFilter.h
Go to the documentation of this file.
1 #ifndef LOGGING_FILTER_H
2 #define LOGGING_FILTER_H
3 
5 
6 #ifdef COMPILE_PHANTOM_DEVICE
7 
8 namespace vreckoDP_PHANToM {
9 
10 /* PHANToM filter to limit the force size. */
11 class LoggingFilter : public PHANToMFilter {
12 public:
13  LoggingFilter();
14 
15  virtual bool loadXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *parameters);
16 
17  virtual void apply(PHANToMSTATE &pState, osg::Vec3 &force, osg::Vec3 &torque);
18 
19 protected:
20  std::string logPrefix;
21 };
22 
23 }
24 
25 #endif
26 
27 
28 #endif