FloorItemPrivate.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_FLOORITEM_PRIVATE_HH_
19 #define _GAZEBO_GUI_BUILDING_FLOORITEM_PRIVATE_HH_
20 
21 #include <vector>
22 
23 #include "gazebo/gui/qt.h"
24 
25 namespace gazebo
26 {
27  namespace gui
28  {
29  class WallSegmentItem;
30 
33  {
35  public: double floorDepth;
36 
38  public: double floorHeight;
39 
41  public: double floorWidth;
42 
44  public: QPointF floorPos;
45 
48  public: bool dirty;
49 
51  public: std::vector<WallSegmentItem *> wallSegments;
52 
54  public: QPolygonF floorBoundingRect;
55  };
56  }
57 }
58 #endif
bool dirty
A flag to indicate whether or not there have been changes to the wall items.
Definition: FloorItemPrivate.hh:48
QPolygonF floorBoundingRect
Bounding box of the floor item.
Definition: FloorItemPrivate.hh:54
double floorWidth
Width of floor item in pixels.
Definition: FloorItemPrivate.hh:41
double floorHeight
Height of floor item in pixels.
Definition: FloorItemPrivate.hh:38
double floorDepth
Depth of floor item in pixels.
Definition: FloorItemPrivate.hh:35
std::vector< WallSegmentItem * > wallSegments
A list of wall items that the floor item holds.
Definition: FloorItemPrivate.hh:51
Private data for the FloorItem class.
Definition: FloorItemPrivate.hh:32
QPointF floorPos
Scene position of floor item in pixel coordinates.
Definition: FloorItemPrivate.hh:44