ModelAlignPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014-2016 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 
45 
48 
51 
53  public: bool initialized;
54 
56  public: std::vector<rendering::VisualPtr> selectedVisuals;
57 
60  public: std::vector<event::ConnectionPtr> connections;
61 
63  public: std::map<rendering::VisualPtr, math::Pose> originalVisualPose;
64  };
65  }
66 }
67 #endif
std::vector< rendering::VisualPtr > selectedVisuals
selected visuals.
Definition: ModelAlignPrivate.hh:56
transport::PublisherPtr userCmdPub
Publish user command messages for the server to place in the undo queue.
Definition: ModelAlignPrivate.hh:44
Forward declarations for transport.
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:112
rendering::VisualPtr targetVis
The last selected visual which will be used for alignment.
Definition: ModelAlignPrivate.hh:50
rendering::ScenePtr scene
Pointer to the scene where models are in.
Definition: ModelAlignPrivate.hh:47
transport::NodePtr node
Transportation node.
Definition: ModelAlignPrivate.hh:40
std::vector< event::ConnectionPtr > connections
A list of connections.
Definition: ModelAlignPrivate.hh:60
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:80
bool initialized
True if the model align tool is initialized.
Definition: ModelAlignPrivate.hh:53
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
std::map< rendering::VisualPtr, math::Pose > originalVisualPose
Original model pose used when user resets alignment.
Definition: ModelAlignPrivate.hh:63
Private data for the ModelAlign class.
Definition: ModelAlignPrivate.hh:37