All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ModelManipulatorPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 #ifndef _MODEL_MANIPULATOR_PRIVATE_HH_
18 #define _MODEL_MANIPULATOR_PRIVATE_HH_
19 
20 #include <string>
21 
24 
26 
28 
29 namespace gazebo
30 {
31  namespace gui
32  {
35  {
39 
41  public: std::string manipMode;
42 
45 
48 
51 
54 
57 
60 
63 
66 
69 
72 
75 
77  public: bool initialized;
78 
81 
84 
86  public: bool globalManip;
87  };
88  }
89 }
90 #endif
Generic description of a mouse event.
Definition: MouseEvent.hh:32
boost::shared_ptr< SelectionObj > SelectionObjPtr
Definition: RenderTypes.hh:152
bool globalManip
True to manipulate model in global frame.
Definition: ModelManipulatorPrivate.hh:86
Encapsulates a position and rotation in three space.
Definition: Pose.hh:40
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
Mathematical representation of a box and related functions.
Definition: Box.hh:33
Generic integer x, y vector.
Definition: Vector2i.hh:39
transport::PublisherPtr modelPub
Model publisher that publishes model pose to the server.
Definition: ModelManipulatorPrivate.hh:59
Generic description of a keyboard event.
Definition: KeyEvent.hh:31
transport::NodePtr node
Transportation node.
Definition: ModelManipulatorPrivate.hh:56
Forward declarations for transport.
rendering::UserCameraPtr userCamera
Pointer to the user camera.
Definition: ModelManipulatorPrivate.hh:65
common::KeyEvent keyEvent
Current key event.
Definition: ModelManipulatorPrivate.hh:74
Private data for the ModelManipulator class.
Definition: ModelManipulatorPrivate.hh:34
rendering::ScenePtr scene
Pointer to the scene where models are in.
Definition: ModelManipulatorPrivate.hh:68
math::Vector2i mouseStart
Keep track of the mouse start screen position.
Definition: ModelManipulatorPrivate.hh:47
transport::PublisherPtr lightPub
Light publisher that publishes light pose to the server.
Definition: ModelManipulatorPrivate.hh:62
math::Vector3 mouseVisualScale
Scale of the visual attached to the mouse.
Definition: ModelManipulatorPrivate.hh:80
common::MouseEvent mouseEvent
Current mouse event.
Definition: ModelManipulatorPrivate.hh:71
rendering::SelectionObjPtr selectionObj
Selection object which users can interact with to manipulate the model.
Definition: ModelManipulatorPrivate.hh:38
std::string manipMode
The current manipulation mode.
Definition: ModelManipulatorPrivate.hh:41
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:52
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:72
boost::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:100
rendering::VisualPtr selectedVis
The current selected visual.
Definition: ModelManipulatorPrivate.hh:50
boost::shared_ptr< UserCamera > UserCameraPtr
Definition: RenderTypes.hh:84
math::Box mouseVisualBbox
Bounding box of the visual attached to the mouse (for scaling).
Definition: ModelManipulatorPrivate.hh:83
rendering::VisualPtr mouseMoveVis
The current visual attached to the mouse.
Definition: ModelManipulatorPrivate.hh:53
math::Pose mouseMoveVisStartPose
Keep track of the mouse start pose before a move action.
Definition: ModelManipulatorPrivate.hh:44
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:44
bool initialized
True if the model manipulator is initialized.
Definition: ModelManipulatorPrivate.hh:77