BuildingModelManipPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-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 
18 #ifndef _GAZEBO_GUI_BUILDING_MODEL_MANIP_PRIVATE_HH_
19 #define _GAZEBO_GUI_BUILDING_MODEL_MANIP_PRIVATE_HH_
20 
21 #include <string>
22 #include <vector>
23 
24 #include <ignition/math/Pose3.hh>
25 #include <ignition/math/Vector3.hh>
26 
27 #include "gazebo/common/Color.hh"
29 
31 
32 namespace gazebo
33 {
34  namespace gui
35  {
36  // Forward declare pointers.
37  class BuildingMaker;
38 
42  {
44  public: std::string name;
45 
48 
50  public: ignition::math::Vector3d size;
51 
53  public: ignition::math::Pose3d pose;
54 
56  public: BuildingMaker *maker;
57 
59  public: double transparency;
60 
63 
65  public: std::string texture;
66 
68  public: int level;
69 
71  public: std::vector<event::ConnectionPtr> connections;
72  };
73  }
74 }
75 
76 #endif
rendering::VisualPtr visual
A pointer to the visual managed by the manip.
Definition: BuildingModelManipPrivate.hh:47
double transparency
Visual's transparency.
Definition: BuildingModelManipPrivate.hh:59
std::string name
Name of the manip.
Definition: BuildingModelManipPrivate.hh:44
ignition::math::Vector3d size
Size of the manipular.
Definition: BuildingModelManipPrivate.hh:50
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:112
common::Color color
Visual's color.
Definition: BuildingModelManipPrivate.hh:62
BuildingMaker * maker
Maker that manages this manip.
Definition: BuildingModelManipPrivate.hh:56
Create and manage 3D visuals of a building.
Definition: BuildingMaker.hh:48
std::vector< event::ConnectionPtr > connections
A list of gui editor events connected to this view.
Definition: BuildingModelManipPrivate.hh:71
std::string texture
Visual's texture.
Definition: BuildingModelManipPrivate.hh:65
Defines a color.
Definition: Color.hh:36
int level
Level this manipulator is on.
Definition: BuildingModelManipPrivate.hh:68
Definition: BuildingModelManipPrivate.hh:41
ignition::math::Pose3d pose
Pose of the manip.
Definition: BuildingModelManipPrivate.hh:53