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
ToolSelector.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 "
SectorManager.h
"
7
8
namespace
APDYNAMICART
9
{
10
12
17
const
unsigned
int
NOT_FOUND
= -1;
18
19
class
ToolSelector
:
public
DATool
20
{
21
public
:
22
ToolSelector
();
23
25
virtual
void
activate
();
26
virtual
void
deactivate
();
27
virtual
void
turnOn
();
28
virtual
void
turnOff
();
29
virtual
void
update
();
30
virtual
bool
initialize
(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode
*parameters = NULL );
31
33
std::string
createMenuStructure
();
34
void
guiItemClicked
(
const
char
* itemID);
35
void
menuSliderChanged
(
const
char
* sliderID,
float
sliderPos);
36
37
protected
:
39
PoA
*
getSelectedPoA
();
40
void
resetValues
();
41
int
getNearestIndex
();
42
int
getSectorNumber
();
43
void
initMenu
();
44
46
osg::Vec3
_DAAposition
;
47
osg::Quat
_DAAOrientation
;
48
osg::Vec3
_DAAScale
;
49
50
HoopPtr
_hoop
;
51
Vec3ArrayPtr
_snapPointArray
;
52
double
_selectStart
;
53
double
_selectEnd
;
54
double
_lastEnd
;
55
unsigned
int
_sectorIndex
;
56
unsigned
int
_arraySize
;
57
bool
_overZero
;
58
int
_sectorNumber
;
59
SectorManager
*
_sectorManager
;
60
APGUI::Menu
*
_menuAbility
;
61
APGUI::GUI_Controller
*
_guiController
;
62
66
DECLARE_REQUEST_OUTPUT
(SensorTransformation, MessageInt,
MessageSensorTransformation
);
67
DECLARE_REQUEST_OUTPUT
(SelectedObjectID, MessageInt, MessageObjectID);
69
DECLARE_INPUT
(GUIItemClicked,
MessageString
);
70
DECLARE_INPUT
(CreateMenuStructure, MessageInt);
71
DECLARE_INPUT
(HidingMenu, MessageBool);
72
DECLARE_OUTPUT
(MenuStructure,
MessageString
);
73
};
74
75
typedef
osg::ref_ptr<ToolSelector>
ToolSelectorPtr
;
76
77
}
include
vreckoAP
DynamicArt
ToolSelector.h
Generated on Tue Feb 19 2013 10:23:43 for vrecko by
1.8.3.1