|
Point Cloud Viewer
1.00
A Viewer to display point clouds with phong shading by converting them to splats.
|
PointCloudViewer This class is the main window of the Application. More...
#include <pointcloudviewer.h>
Inherits QMainWindow.
Public Slots | |
| void | openFile () |
| Show dialog to open new file. | |
| void | closeSelected () |
| remove the selected object, close file if it's a point cloud | |
| void | showBGColorDialog () |
| show dialog to change Background Color. | |
| void | resetCam () |
| reset the camera | |
| void | resetObject () |
| reset the currently selected object | |
| void | addLight () |
| add a new light | |
| void | showLightColorDialog () |
| show dialog to change light color | |
| void | showObjectNameDialog () |
| show dialog to change object name | |
| void | updateFov (int fov) |
| update the FOV, called from gui More... | |
Public Member Functions | |
| PointCloudViewer (QWidget *parent=0) | |
| void | setProgramLogic (ProgramLogic &pl) |
| set Reference to ProgramLogic object More... | |
| void | addFov (int value) |
| change Fov by value, called from mouse listener More... | |
| void | addOpenFile (QString name) |
| add an object to the scene object list in the gui More... | |
| int | getSelectedObject () |
| return the index of currently selected scene object in the gui More... | |
| void | removeCurrentFile () |
| remove the current selected object from the list of scene objects | |
| int | getShaderParamShininess () |
| get value for shininess from gui. More... | |
| float | getShaderParamAmbient () |
| get value for ambient light from gui. More... | |
| void | updateFPS (float msec) |
| update the FPS counter More... | |
| void | updateObjectText (unsigned int index) |
| update the text of the current selected scene object More... | |
PointCloudViewer This class is the main window of the Application.
| void PointCloudViewer::addFov | ( | int | value | ) |
change Fov by value, called from mouse listener
| value |
| void PointCloudViewer::addOpenFile | ( | QString | name | ) |
add an object to the scene object list in the gui
| name | of the object |
| int PointCloudViewer::getSelectedObject | ( | ) |
return the index of currently selected scene object in the gui
| float PointCloudViewer::getShaderParamAmbient | ( | ) |
get value for ambient light from gui.
| int PointCloudViewer::getShaderParamShininess | ( | ) |
get value for shininess from gui.
| void PointCloudViewer::setProgramLogic | ( | ProgramLogic & | pl | ) |
set Reference to ProgramLogic object
| pl |
|
slot |
update the FOV, called from gui
| fov |
| void PointCloudViewer::updateFPS | ( | float | msec | ) |
update the FPS counter
| msec | - rendertime in ms. |
| void PointCloudViewer::updateObjectText | ( | unsigned int | index | ) |
update the text of the current selected scene object
| index |