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
ToolSlice.h
Go to the documentation of this file.
1
#ifndef _DYNAMIC_ART_SLICE_TOOL_H
2
#define _DYNAMIC_ART_SLICE_TOOL_H
3
4
#include "
DATool.h
"
5
#include "
PoA.h
"
6
7
8
namespace
APDYNAMICART
9
{
10
11
class
DAEnvironment;
12
13
class
ToolSlice
:
public
DATool
14
{
15
public
:
16
17
ToolSlice
();
23
virtual
void
activate
();
24
virtual
void
deactivate
();
25
virtual
bool
initialize
(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode
*parameters = NULL);
26
virtual
void
turnOn
();
27
virtual
void
turnOff
();
28
29
protected
:
30
//int sensorNumber; ///< number of optitrack sensor (trackable in TrackingTools). Usually 0 (right hand)
31
//std::string posString; ///< "SensorXPosition" where X is sensor number
32
//std::string oriString; ///< "SensorXOrientation" where X is sensor number
33
//std::string PointerPosReqString; ///< request for (initial) position string
34
//std::string PointerOriReqString; ///< request for (initial) orientation string
35
//DAEnvironment* daEnvironment; ///< DAEnvironment
36
//osg::ref_ptr<PoA> poa; ///< actual poa, if there is some
37
38
//osg::Vec3 originalHandposition;
39
//osg::Quat originalHandOrientation;
40
//osg::Vec3 originalLocalHandposition;
41
//osg::Vec3 localHandDiffVec; //movement of hand in local coords.
42
43
//osg::Vec3 newHandPosition;
44
//osg::Quat newHandOrientation;
45
46
//osg::Vec3 originalPoAPosition; // PoA coords are always local
47
//osg::Quat originalPoAOrientation;
48
//osg::Vec3 originalPoAScale;
49
50
//osg::Vec3 DAAposition;
51
//osg::Quat DAAOrientation;
52
//osg::Vec3 DAAScale;
53
54
//bool clipping; //is clipping active
55
osg::ClipNode*
clipNode
;
56
osg::ClipPlane*
lowClipPlane
;
57
osg::ClipPlane*
topClipPlane
;
58
};
59
60
}
61
#endif // _DYNAMIC_ART_SLICE_TOOL_H
include
vreckoAP
DynamicArt
ToolSlice.h
Generated on Tue Feb 19 2013 10:23:43 for vrecko by
1.8.3.1