RendererWidget Class Reference
#include <RendererWidget.h>
List of all members.
Public Slots |
void | makeSnapshot (const char *_filename) |
void | setLaserPose (float _x, float _y, float _theta=0) |
void | setOffset (float _x, float _y, float _z) |
void | setRotation (float _x, float _y, float _z) |
void | setScale (float _scale) |
Signals |
void | mouseMovedGL (int button, int x1, int y1, int x2, int y2) |
void | mousePressedGL (int button, int x, int y) |
Public Member Functions |
void | addRenderer (AbstractRenderer *_renderer) |
void | removeRenderer (AbstractRenderer *_renderer) |
| RendererWidget (QWidget *_parent=0) |
void | unprojectCoordinates (GLdouble viewX, GLdouble viewY, GLdouble *worldX, GLdouble *worldY, GLdouble *worldZ) |
void | unprojectCoordinates (GLdouble viewX, GLdouble viewY, GLdouble viewZ, GLdouble *worldX, GLdouble *worldY, GLdouble *worldZ) |
Protected Member Functions |
virtual void | initializeGL () |
virtual void | mouseMoveEvent (QMouseEvent *_event) |
virtual void | mousePressEvent (QMouseEvent *_event) |
virtual void | mouseReleaseEvent (QMouseEvent *_event) |
virtual void | paintGL () |
virtual void | resizeGL (int _width, int _height) |
virtual void | wheelEvent (QWheelEvent *_event) |
Protected Attributes |
GLdouble | m_GLdefaultDepth |
float | m_laserPoseTheta |
float | m_laserPoseX |
float | m_laserPoseY |
QPoint | m_lastMousePosition |
QPoint | m_lastMousePressPosition |
float | m_offsetX |
float | m_offsetY |
float | m_offsetZ |
std::vector< AbstractRenderer * > | m_renderObject |
float | m_rotationX |
float | m_rotationY |
float | m_rotationZ |
float | m_scale |
Detailed Description
Definition at line 34 of file RendererWidget.h.
Constructor & Destructor Documentation
RendererWidget::RendererWidget |
( |
QWidget * |
_parent = 0 |
) |
|
Member Function Documentation
void RendererWidget::initializeGL |
( |
|
) |
[protected, virtual] |
void RendererWidget::makeSnapshot |
( |
const char * |
_filename |
) |
[slot] |
void RendererWidget::mouseMovedGL |
( |
int |
button, |
|
|
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2 | |
|
) |
| | [signal] |
void RendererWidget::mouseMoveEvent |
( |
QMouseEvent * |
_event |
) |
[protected, virtual] |
void RendererWidget::mousePressedGL |
( |
int |
button, |
|
|
int |
x, |
|
|
int |
y | |
|
) |
| | [signal] |
void RendererWidget::mousePressEvent |
( |
QMouseEvent * |
_event |
) |
[protected, virtual] |
void RendererWidget::mouseReleaseEvent |
( |
QMouseEvent * |
_event |
) |
[protected, virtual] |
void RendererWidget::paintGL |
( |
|
) |
[protected, virtual] |
void RendererWidget::resizeGL |
( |
int |
_width, |
|
|
int |
_height | |
|
) |
| | [protected, virtual] |
void RendererWidget::setLaserPose |
( |
float |
_x, |
|
|
float |
_y, |
|
|
float |
_theta = 0 | |
|
) |
| | [slot] |
void RendererWidget::setOffset |
( |
float |
_x, |
|
|
float |
_y, |
|
|
float |
_z | |
|
) |
| | [slot] |
void RendererWidget::setRotation |
( |
float |
_x, |
|
|
float |
_y, |
|
|
float |
_z | |
|
) |
| | [slot] |
void RendererWidget::setScale |
( |
float |
_scale |
) |
[slot] |
void RendererWidget::unprojectCoordinates |
( |
GLdouble |
viewX, |
|
|
GLdouble |
viewY, |
|
|
GLdouble * |
worldX, |
|
|
GLdouble * |
worldY, |
|
|
GLdouble * |
worldZ | |
|
) |
| | |
void RendererWidget::unprojectCoordinates |
( |
GLdouble |
viewX, |
|
|
GLdouble |
viewY, |
|
|
GLdouble |
viewZ, |
|
|
GLdouble * |
worldX, |
|
|
GLdouble * |
worldY, |
|
|
GLdouble * |
worldZ | |
|
) |
| | |
void RendererWidget::wheelEvent |
( |
QWheelEvent * |
_event |
) |
[protected, virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: