VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtPointObjectFacade.h
Go to the documentation of this file.
1
// /******************************************************************************
2
// ** Copyright (c) 2009 MAK Technologies, Inc.
3
// ** All rights reserved.
4
// ******************************************************************************/
5
// /******************************************************************************
6
// ** $RCSfile: DtPointObjectFacade.h,v $ $Revision: 1.19 $ $State: Exp $
7
// ******************************************************************************/
8
//
9
// //! \file DtPointObjectFacade.h
10
// //! \brief Contains makVrv::DtPointObjectFacade class.
11
// //! \ingroup vrvCore
12
//
13
// #ifndef DtPointObjectFacade_H_
14
// #define DtPointObjectFacade_H_
15
//
16
// #include <vrvCore/vrvCore.h>
17
// #include <vrvCore/DtUniqueID.h>
18
// #include <vrvCore/DtEnvironmentalStateListener.h>
19
// #include <vrvCore/DtBaseConnection.h>
20
// #include <vrvCore/DtObjectFacadeInterface.h>
21
// #include <vrvUtil/DtUnicode.h>
22
//
23
// #include <matrix/vlVector.h>
24
// #include <boost/signal.hpp>
25
//
26
// #include <vector>
27
// #include <string>
28
//
29
// namespace makVrv
30
// {
31
// class DtMouseState;
32
// class DtEnvironmentalVisualizerSet;
33
// class DtAgentManagerInterface;
34
//
35
// //! \brief Facade for a 3d model with position determined by a single
36
// //! control point
37
// //! \ingroup vrvCore
38
// class DT_DLL_VRVCORE DtPointObjectFacade : public DtObjectFacadeInterface
39
// {
40
// public:
41
// //! \brief CTOR
42
// DtPointObjectFacade(DtAgentManagerInterface& sceneInterface, int modelSet);
43
//
44
// //! \brief DTOR
45
// virtual ~DtPointObjectFacade();
46
//
47
// //! \brief Set the offset of the object from the origin
48
// virtual void setOffset(const DtVector& position);
49
//
50
// //! \brief Realize with the specified model definition
51
// virtual void setModelDefinition(const std::string& modelDefinition);
52
//
53
// //! \brief Set the model definitions for the indicator widget
54
// virtual void setIndicatorModelDefinitions(
55
// const std::string& normalTheme,
56
// const std::string& activeTheme,
57
// const std::string& selectedTheme,
58
// const std::string& multiSelectedTheme);
59
//
60
// //! \brief Set the color of the shape in RGBA
61
// virtual void setColor(float r,float g,float b,float a);
62
//
63
// //! \brief Set the facade object's individual selection state
64
// virtual void setSelected(bool selected);
65
//
66
// //! \brief Get the facade object's individual selection state
67
// virtual bool singleSelected() const;
68
//
69
// //! \brief set when the facade is selected as part of a group
70
// virtual void setMultiSelected(bool selected);
71
//
72
// //! \brief query if the facade is selected as part of a group
73
// virtual bool multiSelected() const;
74
//
75
// //! \brief Get if the facade is single or multiselected
76
// virtual bool selected() const;
77
//
78
// //! \brief Set the text for the info box
79
// virtual void setInfoText(const DtUnicode& text);
80
//
81
// //! \brief Set the info box visibility for the facade
82
// virtual void setInfoVisible(bool visible, bool signal=true );
83
//
84
// //! \brief Set if the Height Above Terrain (HAT) line is visible.
85
// void setHatLineVisible( bool visible );
86
//
87
// //! \brief Set the widgets visible or not
88
// virtual void setIndicatorsEnabled( bool enabled );
89
//
90
// //! \brief Set the widget indicators to be on only for selected objects
91
// virtual void setIndicatorsOnSelect(bool enabled);
92
//
93
// //! \brief Set whether the object is rendered
94
// virtual void setVisible( bool visible );
95
//
96
// //! \brief Set an origin for the object
97
// virtual void setOrigin(const DtVector& origin);
98
//
99
// //! Set true to allow this object to be picked
100
// virtual void setPickable( bool pickable );
101
//
102
// //! Set event handling on or off for the point object's widgets
103
// virtual void setWidgetEventsEnabled(bool enabled);
104
//
105
// virtual DtUniqueID uniqueID() const;
106
//
107
// //! \brief Get the offset of the object from the origin
108
// virtual DtVector offset();
109
//
110
// //! \brief Get the origin of the object
111
// virtual DtVector origin();
112
//
113
// //! \brief Returns the model set that this facade was visualized for
114
// virtual int modelSet() const;
115
//
116
// //! Returns the visualizer based on the name, or 0 if does not exists
117
// virtual DtStateVisualizer* visualizer(const std::string&);
118
//
119
// DtEnvironmentalVisualizerSet* visualizer()
120
// {
121
// return myVisualizer;
122
// }
123
//
124
// //! \brief Emitted when the info becomes visible or invisible
125
// boost::signal<void (bool isVisible)> signal_infoVisibleChanged;
126
//
127
// protected:
128
//
129
// //! \brief Called when a widget owned by the facade gets a mouse down event
130
// virtual void slot_indicatorMouseDown(
131
// DtMouseState& state, DtUniqueID objectId, const std::string& displayEngineName,
132
// const std::string& windowName, const std::string& channelName);
133
//
134
// //! Called when a widget owned by the facade gets a mouse up event
135
// virtual void slot_indicatorMouseUp(
136
// DtMouseState& state, DtUniqueID objectId, const std::string& displayEngineName,
137
// const std::string& windowName, const std::string& channelName);
138
//
139
// //! Called when a widget owned by the facade gets a mouse double click event
140
// virtual void slot_indicatorMouseDblClick(
141
// DtMouseState& state, DtUniqueID objectId, const std::string& displayEngineName,
142
// const std::string& windowName, const std::string& channelName);
143
//
144
// //! \brief Copy CTOR
145
// DtPointObjectFacade(DtPointObjectFacade&);
146
//
147
// protected:
148
// DtEnvironmentalVisualizerSet* myVisualizer;
149
// DtBaseConnection mySimulation;
150
// DtEnvironmentalStateListener myListener;
151
// };
152
// }
153
//
154
// #endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)