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
VibrationLabelActivator.h
Go to the documentation of this file.
1
#include <
vrecko/Ability.h
>
2
#include <vreckoDP/base/PHANToM.h>
3
4
5
#include "
Auxiliary.h
"
6
#include "
VibrationLabel.h
"
7
8
using namespace
vrecko;
9
using namespace
vreckoDP_base;
10
namespace
VirtualFixture{
11
12
class
VibrationLabelActivator
:
public
PHANToMFilter {
13
public
:
14
VibrationLabelActivator
();
15
~VibrationLabelActivator
() {};
16
18
void
apply(PHANToM *pPHANToM, osg::Vec3 &force);
19
void
processEvent(
const
std::string &input_name,
void
*value);
20
21
void
preInitialize(
void
);
22
void
postInitialize(
void
);
23
void
update(
void
);
24
25
bool
loadXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode
*pParametersNode);
26
XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode
*getXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *);
27
28
protected
:
29
PHANToM *
PHANToMDevice
;
30
bool
all_on
;
31
bool
active
;
//if true, it will be active
32
33
};
34
35
};
src
vreckoAP
VF
VibrationLabelActivator.h
Generated on Tue Feb 19 2013 10:23:47 for vrecko by
1.8.3.1