vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
vrecko
Vrecko - the Virtual Reality Engine
Dynamic Art module
L-system plant modeler - module for Vrecko
Head Up Display module
Space Partitioning - module for Vrecko
Todo List
Deprecated List
Namespaces
Classes
Files
File List
include
base
helpers
vrecko
vreckoAP
ArtificialWorld
behindO
Boids
CableEditor
CameraMovement
CameraPath
CarSim
ConnectEditor
ConstrainedMovement
DynamicArt
AP_DynamicArt.h
Attractor.h
Brush.h
BrushStroke.h
ColorGenAdapter.h
ComputeStrategy.h
ComputeThread.h
Configuration.h
Controller.h
Ctrl_Attractor.h
Ctrl_FreeHandPainting.h
Ctrl_MotionVisualization.h
Ctrl_PerlinLines.h
Ctrl_PolyhedraSculptures.h
Ctrl_StringSculptures.h
DAEnvironment.h
DATool.h
DiameterGenAdapter.h
Hook.h
HookManager.h
Hoop.h
HoopShape.h
JuliaAttractor.h
Modes.h
MotionTrail.h
NullAttractor.h
OrdinaryAttractor.h
Parameters.h
ParticleSystem.h
Pattern.h
PatternGeode.h
PerlinLines.h
PerlinLinesTools.h
PhysXManager.h
PoA.h
PolyhedraSculpture.h
PS_Component.h
PS_emptyClass.h
PS_Face.h
PS_FacePlane.h
PS_FlatShape.h
PS_Layer.h
PS_Polyhedron.h
PS_Symmetry.h
RotationFrameGenAdapter.h
SectorColorGen.h
SectorManager.h
SimpleBox.h
SplineAdapter.h
TimeLineSpline.h
Timing.h
ToolBrush.h
ToolEraser.h
ToolHook.h
ToolMagicWand.h
ToolRotation.h
ToolSelector.h
ToolSlice.h
ToolTongs.h
Utils.h
EditorController
EditorQAbilities
FFDEditor
Filter
games
Garden
GUI
HeadTracking
HelloWorld
HUD
InputConnector
LightsEditor
Menu
Nature
navigation
ObjectUtils
ODE
RoomEdit
ShootingSimulation
SpacePartitioning
TextOutput
vreckoDP
vreckoUtils
src
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ToolHook.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
DATool.h
"
4
#include "
PoA.h
"
5
#include "
Hoop.h
"
6
#include "
Hook.h
"
7
8
namespace
APDYNAMICART
9
{
10
12
15
typedef
std::pair<HoopPtr, osg::ref_ptr<HookObject> >
Hook
;
16
17
class
ToolHook
:
public
DATool
18
{
19
public
:
20
ToolHook
();
21
23
virtual
void
activate
();
24
virtual
void
deactivate
();
25
virtual
void
turnOn
();
26
virtual
void
turnOff
();
27
virtual
void
update
();
28
virtual
bool
initialize
(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode
*parameters = NULL );
29
31
float
getRopeRadius
()
const
{
return
_ropeRadius
; }
32
34
std::string
createMenuStructure
();
35
void
guiItemClicked
(
const
char
* itemID);
36
void
menuSliderChanged
(
const
char
* sliderID,
float
sliderPos);
37
38
protected
:
40
PoA
*
getSelectedPoA
();
41
osg::Vec3
getCursorPosition
();
42
void
initMenu
();
43
44
osg::Vec3
_DAAposition
;
45
osg::Quat
_DAAOrientation
;
46
osg::Vec3
_DAAScale
;
47
HoopPtr
_poa
;
48
osg::Vec3
_hookPosition
;
49
float
_ropeRadius
;
50
51
APGUI::Menu
*
_menuAbility
;
52
APGUI::GUI_Controller
*
_guiController
;
53
osg::Vec3
_axis
;
54
58
DECLARE_REQUEST_OUTPUT
(SensorTransformation, MessageInt,
MessageSensorTransformation
);
59
DECLARE_REQUEST_OUTPUT
(SelectedObjectID, MessageInt, MessageObjectID);
61
DECLARE_INPUT
(GUIItemClicked,
MessageString
);
62
DECLARE_INPUT
(CreateMenuStructure, MessageInt);
63
DECLARE_INPUT
(HidingMenu, MessageBool);
64
DECLARE_OUTPUT
(MenuStructure,
MessageString
);
65
};
66
67
}
include
vreckoAP
DynamicArt
ToolHook.h
Generated on Tue Feb 19 2013 10:23:43 for vrecko by
1.8.3.1