#include <ViewerGui.h>
|
| ViewerGui (const std::string &filename="", QWidget *parent=0, unsigned int initTreeDepth=16) |
|
| ~ViewerGui () |
|
|
void | addNextScan () |
|
void | addOctree (AbstractOcTree *tree, int id, pose6d origin) |
|
void | addOctree (AbstractOcTree *tree, int id) |
|
void | generateOctree () |
|
bool | getOctreeRecord (int id, OcTreeRecord *&otr) |
|
void | loadCameraPosition (const char *filename) |
|
void | loadGraph (bool completeGraph=true) |
|
void | openFile () |
|
void | openGraph (bool completeGraph=true) |
|
void | openMapCollection () |
|
void | openOcTree () |
| open "regular" file containing an octree More...
|
|
void | openPC () |
|
void | openPointcloud () |
|
void | openTree () |
| open binary format OcTree More...
|
|
void | saveCameraPosition (const char *filename) const |
|
void | setNodesInBBX (const point3d &min, const point3d &max, bool occupied) |
|
void | setNonNodesInBBX (const point3d &min, const point3d &max, bool occupied) |
|
void | setOcTreeUISwitches () |
|
void | showInfo (QString string, bool newline=false) |
|
void | showOcTree () |
|
void | updateNodesInBBX (const point3d &min, const point3d &max, bool occupied) |
|
Definition at line 55 of file ViewerGui.h.
◆ ViewerGui()
octomap::ViewerGui::ViewerGui |
( |
const std::string & |
filename = "" , |
|
|
QWidget * |
parent = 0 , |
|
|
unsigned int |
initTreeDepth = 16 |
|
) |
| |
◆ ~ViewerGui()
octomap::ViewerGui::~ViewerGui |
( |
| ) |
|
◆ addNextScan()
void octomap::ViewerGui::addNextScan |
( |
| ) |
|
|
private |
◆ addNextScans
void octomap::ViewerGui::addNextScans |
( |
unsigned |
scans | ) |
|
|
slot |
◆ addOctree() [1/2]
◆ addOctree() [2/2]
◆ changeCamPosition
void octomap::ViewerGui::changeCamPosition |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
lookX, |
|
|
double |
lookY, |
|
|
double |
lookZ |
|
) |
| |
|
signal |
◆ changeCurrentScan
void octomap::ViewerGui::changeCurrentScan |
( |
unsigned |
scans | ) |
|
|
signal |
◆ changeNumberOfScans
void octomap::ViewerGui::changeNumberOfScans |
( |
unsigned |
scans | ) |
|
|
signal |
◆ changeResolution
void octomap::ViewerGui::changeResolution |
( |
double |
resolution | ) |
|
|
signal |
◆ changeTreeDepth
void octomap::ViewerGui::changeTreeDepth |
( |
int |
depth | ) |
|
|
slot |
◆ generateOctree()
void octomap::ViewerGui::generateOctree |
( |
| ) |
|
|
private |
◆ getOctreeRecord()
bool octomap::ViewerGui::getOctreeRecord |
( |
int |
id, |
|
|
OcTreeRecord *& |
otr |
|
) |
| |
|
private |
◆ gotoFirstScan
void octomap::ViewerGui::gotoFirstScan |
( |
| ) |
|
|
slot |
◆ isShown
bool octomap::ViewerGui::isShown |
( |
| ) |
|
|
slot |
◆ loadCameraPosition()
void octomap::ViewerGui::loadCameraPosition |
( |
const char * |
filename | ) |
|
|
private |
◆ loadGraph()
void octomap::ViewerGui::loadGraph |
( |
bool |
completeGraph = true | ) |
|
|
private |
◆ on_action_bg_black_triggered
void octomap::ViewerGui::on_action_bg_black_triggered |
( |
| ) |
|
|
privateslot |
◆ on_action_bg_gray_triggered
void octomap::ViewerGui::on_action_bg_gray_triggered |
( |
| ) |
|
|
privateslot |
◆ on_action_bg_white_triggered
void octomap::ViewerGui::on_action_bg_white_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionAlternateRendering_toggled
void octomap::ViewerGui::on_actionAlternateRendering_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionAxes_toggled
void octomap::ViewerGui::on_actionAxes_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionClear_nodes_in_selection_triggered
void octomap::ViewerGui::on_actionClear_nodes_in_selection_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionClear_selection_triggered
void octomap::ViewerGui::on_actionClear_selection_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionClear_triggered
void octomap::ViewerGui::on_actionClear_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionClear_unknown_in_selection_triggered
void octomap::ViewerGui::on_actionClear_unknown_in_selection_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionConvert_ml_tree_triggered
void octomap::ViewerGui::on_actionConvert_ml_tree_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionDelete_nodes_in_selection_triggered
void octomap::ViewerGui::on_actionDelete_nodes_in_selection_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionDelete_nodes_outside_of_selection_triggered
void octomap::ViewerGui::on_actionDelete_nodes_outside_of_selection_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionExit_triggered
void octomap::ViewerGui::on_actionExit_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionExpand_tree_triggered
void octomap::ViewerGui::on_actionExpand_tree_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionExport_sequence_triggered
void octomap::ViewerGui::on_actionExport_sequence_triggered |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionExport_view_triggered
void octomap::ViewerGui::on_actionExport_view_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionFill_nodes_in_selection_triggered
void octomap::ViewerGui::on_actionFill_nodes_in_selection_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionFill_selection_triggered
void octomap::ViewerGui::on_actionFill_selection_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionFill_unknown_in_selection_triggered
void octomap::ViewerGui::on_actionFill_unknown_in_selection_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionFree_toggled
void octomap::ViewerGui::on_actionFree_toggled |
( |
bool |
enabled | ) |
|
|
privateslot |
◆ on_actionHeight_map_toggled
void octomap::ViewerGui::on_actionHeight_map_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionHelp_triggered
void octomap::ViewerGui::on_actionHelp_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionHideBackground_toggled
void octomap::ViewerGui::on_actionHideBackground_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionOctree_cells_toggled
void octomap::ViewerGui::on_actionOctree_cells_toggled |
( |
bool |
enabled | ) |
|
|
privateslot |
◆ on_actionOctree_structure_toggled
void octomap::ViewerGui::on_actionOctree_structure_toggled |
( |
bool |
enabled | ) |
|
|
privateslot |
◆ on_actionOpen_file_triggered
void octomap::ViewerGui::on_actionOpen_file_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionOpen_graph_incremental_triggered
void octomap::ViewerGui::on_actionOpen_graph_incremental_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionPointcloud_toggled
void octomap::ViewerGui::on_actionPointcloud_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionPrintout_mode_toggled
void octomap::ViewerGui::on_actionPrintout_mode_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionPrune_tree_triggered
void octomap::ViewerGui::on_actionPrune_tree_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionReload_Octree_triggered
void octomap::ViewerGui::on_actionReload_Octree_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionRestore_camera_triggered
void octomap::ViewerGui::on_actionRestore_camera_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionSave_file_triggered
void octomap::ViewerGui::on_actionSave_file_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionSelected_toggled
void octomap::ViewerGui::on_actionSelected_toggled |
( |
bool |
enabled | ) |
|
|
privateslot |
◆ on_actionSelection_box_toggled
void octomap::ViewerGui::on_actionSelection_box_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionSemanticColoring_toggled
void octomap::ViewerGui::on_actionSemanticColoring_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionSettings_triggered
void octomap::ViewerGui::on_actionSettings_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionStore_camera_triggered
void octomap::ViewerGui::on_actionStore_camera_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionTest_triggered
void octomap::ViewerGui::on_actionTest_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionTrajectory_toggled
void octomap::ViewerGui::on_actionTrajectory_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_loadcampose_triggered
void octomap::ViewerGui::on_loadcampose_triggered |
( |
| ) |
|
|
privateslot |
◆ on_savecampose_triggered
void octomap::ViewerGui::on_savecampose_triggered |
( |
| ) |
|
|
privateslot |
◆ openFile()
void octomap::ViewerGui::openFile |
( |
| ) |
|
|
private |
(Re-)load the data file stored in m_fileName. Depending on the extension, the respective load function is used.
Definition at line 396 of file ViewerGui.cpp.
◆ openGraph()
void octomap::ViewerGui::openGraph |
( |
bool |
completeGraph = true | ) |
|
|
private |
◆ openMapCollection()
void octomap::ViewerGui::openMapCollection |
( |
| ) |
|
|
private |
◆ openOcTree()
void octomap::ViewerGui::openOcTree |
( |
| ) |
|
|
private |
open "regular" file containing an octree
Definition at line 493 of file ViewerGui.cpp.
◆ openPC()
void octomap::ViewerGui::openPC |
( |
| ) |
|
|
private |
◆ openPointcloud()
void octomap::ViewerGui::openPointcloud |
( |
| ) |
|
|
private |
Reads in a .dat file which consists of single points in ASCII, one point per line, values separated by white spaces
Definition at line 438 of file ViewerGui.cpp.
◆ openTree()
void octomap::ViewerGui::openTree |
( |
| ) |
|
|
private |
◆ saveCameraPosition()
void octomap::ViewerGui::saveCameraPosition |
( |
const char * |
filename | ) |
const |
|
private |
◆ setNodesInBBX()
void octomap::ViewerGui::setNodesInBBX |
( |
const point3d & |
min, |
|
|
const point3d & |
max, |
|
|
bool |
occupied |
|
) |
| |
|
private |
◆ setNonNodesInBBX()
void octomap::ViewerGui::setNonNodesInBBX |
( |
const point3d & |
min, |
|
|
const point3d & |
max, |
|
|
bool |
occupied |
|
) |
| |
|
private |
◆ setOcTreeUISwitches()
void octomap::ViewerGui::setOcTreeUISwitches |
( |
| ) |
|
|
private |
◆ showInfo()
void octomap::ViewerGui::showInfo |
( |
QString |
string, |
|
|
bool |
newline = false |
|
) |
| |
|
private |
◆ showOcTree()
void octomap::ViewerGui::showOcTree |
( |
| ) |
|
|
private |
◆ updateNodesInBBX()
void octomap::ViewerGui::updateNodesInBBX |
( |
const point3d & |
min, |
|
|
const point3d & |
max, |
|
|
bool |
occupied |
|
) |
| |
|
private |
◆ updateStatusBar
void octomap::ViewerGui::updateStatusBar |
( |
QString |
message, |
|
|
int |
duration |
|
) |
| |
|
signal |
◆ DEFAULT_OCTREE_ID
const unsigned int octomap::ViewerGui::DEFAULT_OCTREE_ID = 0 |
|
static |
◆ LASERTYPE_SICK
const unsigned int octomap::ViewerGui::LASERTYPE_SICK = 1 |
|
static |
◆ LASERTYPE_URG
const unsigned int octomap::ViewerGui::LASERTYPE_URG = 0 |
|
static |
◆ m_cameraFollowMode
◆ m_cameraStored
bool octomap::ViewerGui::m_cameraStored |
|
private |
◆ m_filename
std::string octomap::ViewerGui::m_filename |
|
private |
Filename of last loaded file, in case it is necessary to reload it.
Definition at line 220 of file ViewerGui.h.
◆ m_glwidget
◆ m_laserMaxRange
double octomap::ViewerGui::m_laserMaxRange |
|
private |
◆ m_laserType
unsigned int octomap::ViewerGui::m_laserType |
|
private |
◆ m_mapMemoryStatus
QLabel* octomap::ViewerGui::m_mapMemoryStatus |
|
private |
◆ m_mapSizeStatus
QLabel* octomap::ViewerGui::m_mapSizeStatus |
|
private |
◆ m_max_tree_depth
unsigned int octomap::ViewerGui::m_max_tree_depth |
|
private |
◆ m_nextScanToAdd
◆ m_occupancyThresh
double octomap::ViewerGui::m_occupancyThresh |
|
private |
◆ m_octreeResolution
double octomap::ViewerGui::m_octreeResolution |
|
private |
◆ m_octrees
◆ m_pointcloudDrawer
◆ m_scanGraph
◆ m_trajectoryDrawer
◆ ui
Ui::ViewerGuiClass octomap::ViewerGui::ui |
|
private |
The documentation for this class was generated from the following files: