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
ToolEraser.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
DATool.h
"
4
#include "
PoA.h
"
5
6
7
namespace
APDYNAMICART
8
{
9
10
11
class
DAEnvironment;
12
13
17
class
ToolEraser
:
public
DATool
18
{
19
public
:
20
21
ToolEraser
();
22
~ToolEraser
();
23
28
void
activate
();
29
30
void
deactivate
();
31
32
bool
initialize
(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode
*parameters = NULL);
33
34
//void processEvent(const std::string &input_name, void *value);
35
36
// TODO if addController event works as I wish, this function will not be needed
37
void
setDAEnvironment
(
DAEnvironment
* p_dae) {
_daEnvironment
= p_dae; }
38
39
void
turnOn
();
40
41
void
turnOff
();
42
43
44
45
protected
:
46
int
_sensorNumber
;
47
std::string
_PointerPosReqString
;
48
std::string
_PointerOriReqString
;
49
50
DECLARE_REQUEST_OUTPUT
(SensorPosition, MessageInt,
MessageVec3
);
51
52
// asking about what object is actually selected - Input Connector should answer
53
DECLARE_REQUEST_OUTPUT
(SelectedObjectID, MessageInt, MessageObjectID);
54
55
};
56
57
}
include
vreckoAP
DynamicArt
ToolEraser.h
Generated on Tue Feb 19 2013 10:23:43 for vrecko by
1.8.3.1