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 
55  public: bool initialized;
56 
58  public: std::vector<rendering::VisualPtr> selectedVisuals;
59 
62  public: std::vector<event::ConnectionPtr> connections;
63 
65  public: std::map<rendering::VisualPtr, math::Pose> originalVisualPose;
66  };
67  }
68 }
69 #endif
std::vector< rendering::VisualPtr > selectedVisuals
selected visuals.
Definition: ModelAlignPrivate.hh:58
Forward declarations for transport.
rendering::VisualPtr targetVis
The last selected visual which will be used for alignment.
Definition: ModelAlignPrivate.hh:52
rendering::ScenePtr scene
Pointer to the scene where models are in.
Definition: ModelAlignPrivate.hh:49
transport::NodePtr node
Transportation node.
Definition: ModelAlignPrivate.hh:40
std::vector< event::ConnectionPtr > connections
A list of connections.
Definition: ModelAlignPrivate.hh:62
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:79
bool initialized
True if the model align tool is initialized.
Definition: ModelAlignPrivate.hh:55
boost::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:107
boost::shared_ptr< UserCamera > UserCameraPtr
Definition: RenderTypes.hh:91
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:65
rendering::UserCameraPtr userCamera
Pointer to the user camera.
Definition: ModelAlignPrivate.hh:46
Private data for the ModelAlign class.
Definition: ModelAlignPrivate.hh:37