Point Cloud Viewer  1.00
A Viewer to display point clouds with phong shading by converting them to splats.
PointCloudViewer Class Reference

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...
 

Detailed Description

PointCloudViewer This class is the main window of the Application.

Member Function Documentation

void PointCloudViewer::addFov ( int  value)

change Fov by value, called from mouse listener

Parameters
value
void PointCloudViewer::addOpenFile ( QString  name)

add an object to the scene object list in the gui

Parameters
nameof the object
int PointCloudViewer::getSelectedObject ( )

return the index of currently selected scene object in the gui

Returns
float PointCloudViewer::getShaderParamAmbient ( )

get value for ambient light from gui.

Returns
int PointCloudViewer::getShaderParamShininess ( )

get value for shininess from gui.

Returns
void PointCloudViewer::setProgramLogic ( ProgramLogic pl)

set Reference to ProgramLogic object

Parameters
pl
void PointCloudViewer::updateFov ( int  fov)
slot

update the FOV, called from gui

Parameters
fov
void PointCloudViewer::updateFPS ( float  msec)

update the FPS counter

Parameters
msec- rendertime in ms.
void PointCloudViewer::updateObjectText ( unsigned int  index)

update the text of the current selected scene object

Parameters
index

The documentation for this class was generated from the following files: