ModelAlignPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014-2015 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_ALIGN_PRIVATE_HH_
18 #define _MODEL_ALIGN_PRIVATE_HH_
19 
20 #include <string>
21 #include <vector>
22 #include <map>
23 
26 
28 
30 
31 namespace gazebo
32 {
33  namespace gui
34  {
38  {
41 
44 
47 
50 
53 
56 
59 
62 
64  public: bool initialized;
65 
67  public: std::vector<rendering::VisualPtr> selectedVisuals;
68 
71  public: std::vector<event::ConnectionPtr> connections;
72 
74  public: std::map<rendering::VisualPtr, math::Pose> originalVisualPose;
75  };
76  }
77 }
78 #endif
std::vector< rendering::VisualPtr > selectedVisuals
selected visuals.
Definition: ModelAlignPrivate.hh:67
Generic description of a mouse event.
Definition: MouseEvent.hh:32
boost::shared_ptr< RayQuery > RayQueryPtr
Definition: RenderTypes.hh:158
Generic description of a keyboard event.
Definition: KeyEvent.hh:32
Forward declarations for transport.
rendering::RayQueryPtr rayQuery
Ray query for selecting a surface of an entity.
Definition: ModelAlignPrivate.hh:52
rendering::VisualPtr targetVis
The last selected visual which will be used for alignment.
Definition: ModelAlignPrivate.hh:61
rendering::ScenePtr scene
Pointer to the scene where models are in.
Definition: ModelAlignPrivate.hh:49
transport::NodePtr node
Transportation node.
Definition: ModelAlignPrivate.hh:40
common::KeyEvent keyEvent
Current key event.
Definition: ModelAlignPrivate.hh:58
std::vector< event::ConnectionPtr > connections
A list of connections.
Definition: ModelAlignPrivate.hh:71
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:74
bool initialized
True if the model align tool is initialized.
Definition: ModelAlignPrivate.hh:64
boost::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:102
boost::shared_ptr< UserCamera > UserCameraPtr
Definition: RenderTypes.hh:86
common::MouseEvent mouseEvent
Current mouse event.
Definition: ModelAlignPrivate.hh:55
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
transport::PublisherPtr modelPub
Model publisher that publishes model pose to the server.
Definition: ModelAlignPrivate.hh:43
std::map< rendering::VisualPtr, math::Pose > originalVisualPose
Original model pose used when user resets alignment.
Definition: ModelAlignPrivate.hh:74
rendering::UserCameraPtr userCamera
Pointer to the user camera.
Definition: ModelAlignPrivate.hh:46
Private data for the ModelAlign class.
Definition: ModelAlignPrivate.hh:37