stdr_robot_creator_loader.h
Go to the documentation of this file.
1 /******************************************************************************
2  STDR Simulator - Simple Two DImensional Robot Simulator
3  Copyright (C) 2013 STDR Simulator
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 3 of the License, or
7  (at your option) any later version.
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12  You should have received a copy of the GNU General Public License
13  along with this program; if not, write to the Free Software Foundation,
14  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15 
16  Authors :
17  * Manos Tsardoulias, etsardou@gmail.com
18  * Aris Thallas, aris.thallas@gmail.com
19  * Chris Zalidis, zalidis@gmail.com
20 ******************************************************************************/
21 
22 #ifndef STDR_ROBOT_CREATOR_LOADER
23 #define STDR_ROBOT_CREATOR_LOADER
24 
25 #include "ui_robotCreator.h"
35 #include "stdr_gui/stdr_tools.h"
36 
41 namespace stdr_gui
42 {
47  class CRobotCreatorLoader : public QWidget, public Ui_RobotCreator
48  {
49  //------------------------------------------------------------------------//
50  private:
52  int argc_;
54  char ** argv_;
55  //------------------------------------------------------------------------//
56  public:
58  std::vector<QTreeWidgetItem> lasers;
60  std::vector<QTreeWidgetItem> sonars;
62  std::vector<QTreeWidgetItem> rfids;
63  std::vector<QTreeWidgetItem> co2_sensors;
64  std::vector<QTreeWidgetItem> thermal_sensors;
65  std::vector<QTreeWidgetItem> sound_sensors;
66 
68  QTreeWidgetItem robotNode;
70  QTreeWidgetItem lasersNode;
72  QTreeWidgetItem sonarsNode;
74  QTreeWidgetItem rfidAntennasNode;
75  QTreeWidgetItem co2SensorsNode;
76  QTreeWidgetItem thermalSensorsNode;
77  QTreeWidgetItem soundSensorsNode;
79  QTreeWidgetItem kinematicNode;
81  QTreeWidgetItem robotInfoOrientation;
83  QTreeWidgetItem robotInfoRadius;
84 
86  QTreeWidgetItem robotInfoFootprint;
88  std::vector<QTreeWidgetItem> footPoints;
89 
92 
94  QIcon addIcon;
96  QIcon editIcon;
98  QIcon removeIcon;
100  QIcon saveIcon;
102  QIcon loadIcon;
103 
119 
126  CRobotCreatorLoader(int argc, char **argv);
127 
132  void setupInitialTree(void);
133  };
134 }
135 
136 #endif
CRobotCreatorLoader(int argc, char **argv)
Default contructor.
Implements the low level functionalities of the Laser properties widget. Inherits form QWidget and Ui...
QTreeWidgetItem robotInfoFootprint
Holds the tree items that contain the footprint points.
std::vector< QTreeWidgetItem > co2_sensors
Implements the low level functionalities of the Kinematic properties widget. Inherits form QWidget an...
CRobotPropertiesLoader robotPropLoader
Object of robot footprint widget.
CKinematicPropertiesLoader kinematicPropLoader
Object of rfid antenna properties widget.
QTreeWidgetItem sonarsNode
Tree item for the rfid antennas root.
CRfidAntennaPropertiesLoader rfidAntennaPropLoader
QTreeWidgetItem robotInfoOrientation
Tree item for the robot radius.
Implements the low level functionalities of the robot creator. Inherits form QWidget and Ui_RobotCrea...
std::vector< QTreeWidgetItem > sonars
Holds the tree items that contain rfid antenna sensors.
std::vector< QTreeWidgetItem > thermal_sensors
CLaserPropertiesLoader laserPropLoader
Object of sonar properties widget.
std::vector< QTreeWidgetItem > sound_sensors
Tree item for the robot.
QTreeWidgetItem kinematicNode
Tree item for the robot orientation.
CRobotFootprintLoader robotFootLoader
Object of laser properties widget.
CSoundSensorPropertiesLoader soundSensorPropLoader
std::vector< QTreeWidgetItem > rfids
QTreeWidgetItem robotNode
Tree item for the lasers root.
QTreeWidgetItem soundSensorsNode
Tree item for the kinematic.
CSonarPropertiesLoader sonarPropLoader
Object of robot kinematic properties widget.
Implements the low level functionalities of the robot footprint widget. Inherits form QWidget and Ui_...
QTreeWidgetItem robotInfoRadius
Tree item for the robot footprint.
QTreeWidgetItem lasersNode
Tree item for the sonars root.
int argc_
< Number of input arguments
std::vector< QTreeWidgetItem > lasers
< Holds the tree items that contain laser sensors
The main namespace for STDR GUI.
std::vector< QTreeWidgetItem > footPoints
Holds the robot preview image.
CCO2SensorPropertiesLoader co2SensorPropLoader
QIcon loadIcon
Object of robot properties widget.
void setupInitialTree(void)
Sets up the information tree in robot creator widget.
CThermalSensorPropertiesLoader thermalSensorPropLoader
Implements the low level functionalities of the sonar properties widget. Inherits form QWidget and Ui...
Implements the low level functionalities of the Rfid antenna properties widget. Inherits form QWidget...


stdr_gui
Author(s): Manos Tsardoulias
autogenerated on Mon Jun 10 2019 15:15:17