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
MultiplyFilter.h
Go to the documentation of this file.
1
#ifndef MULTIPLY_FILTER_H
2
#define MULTIPLY_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 multiply the forces (torque is often too small to feel). */
11
class
MultiplyForceFilter :
public
PHANToMFilter {
12
public
:
13
MultiplyForceFilter();
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
fMulForce;
21
float
fMulTorque;
22
};
23
24
}
25
26
#endif
27
28
29
#endif
src
vreckoDP
PHANToM
MultiplyFilter.h
Generated on Tue Feb 19 2013 10:23:47 for vrecko by
1.8.3.1