SegmentItemPrivate.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_SEGMENTITEM_PRIVATE_HH_
19 #define _GAZEBO_GUI_BUILDING_SEGMENTITEM_PRIVATE_HH_
20 
21 #include "gazebo/gui/qt.h"
22 
23 namespace gazebo
24 {
25  namespace gui
26  {
29  {
31  public: QPointF start;
32 
34  public: QPointF end;
35 
37  public: QPointF segmentMouseMove;
38 
40  public: double thickness;
41 
43  public: double grabberWidth;
44 
46  public: double grabberHeight;
47  };
48  }
49 }
50 #endif
QPointF end
Segment's end position in pixel coordinates.
Definition: SegmentItemPrivate.hh:34
double thickness
Thickness of the segment on the 2d view, in pixels.
Definition: SegmentItemPrivate.hh:40
double grabberHeight
Height of grabbers in pixels.
Definition: SegmentItemPrivate.hh:46
QPointF start
Segment's start position in pixel coordinates.
Definition: SegmentItemPrivate.hh:31
double grabberWidth
Width of grabbers in pixels.
Definition: SegmentItemPrivate.hh:43
QPointF segmentMouseMove
Keep track of mouse press position for translation.
Definition: SegmentItemPrivate.hh:37
Private data for the SegmentItem class.
Definition: SegmentItemPrivate.hh:28