ModelData.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013-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_DATA_HH_
18 #define _MODEL_DATA_HH_
19 
20 #include <string>
21 #include <vector>
22 
25 
26 #include "gazebo/gui/qt.h"
27 
28 namespace gazebo
29 {
30  namespace gui
31  {
34  class PartData : public QObject
35  {
36  Q_OBJECT
37 
39  public: std::string name;
40 
42  public: bool gravity;
43 
45  public: bool selfCollide;
46 
48  public: bool kinematic;
49 
51  public: math::Pose pose;
52 
55 
57  public: std::vector<rendering::VisualPtr> visuals;
58  };
59  }
60 }
61 
62 #endif
Encapsulates a position and rotation in three space.
Definition: Pose.hh:40
bool selfCollide
True to allow self collision.
Definition: ModelData.hh:45
math::Pose pose
Pose of part.
Definition: ModelData.hh:51
bool kinematic
True to make part kinematic.
Definition: ModelData.hh:48
default namespace for gazebo
std::vector< rendering::VisualPtr > visuals
Visuals of the part.
Definition: ModelData.hh:57
rendering::VisualPtr partVisual
Visual representing this part.
Definition: ModelData.hh:54
std::string name
Name of part.
Definition: ModelData.hh:39
boost::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:102
bool gravity
True to enable gravity on part.
Definition: ModelData.hh:42
Helper class to store part data.
Definition: ModelData.hh:34