vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ClampFilter.h
Go to the documentation of this file.
1
#ifndef CLAMP_FILTER_H
2
#define CLAMP_FILTER_H
3
4
#include <
vreckoDP/PHANToM/PHANToM_Device.h
>
5
6
#ifdef COMPILE_PHANTOM_DEVICE
7
8
namespace
vreckoDP_PHANToM {
9
10
/* PHANToM filter to limit the force size. */
11
class
ClampFilter :
public
PHANToMFilter {
12
public
:
13
ClampFilter();
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
float
fMaxForce;
21
float
fMaxTorque;
22
};
23
24
}
25
26
#endif
27
28
29
#endif
src
vreckoDP
PHANToM
ClampFilter.h
Generated on Tue Feb 19 2013 10:23:47 for vrecko by
1.8.3.1