Shows a 3D OpenGl kind of compass.
More...
#include <compassWidget.h>
List of all members.
Detailed Description
Shows a 3D OpenGl kind of compass.
- Author:
- Markus Knapp
Definition at line 35 of file compassWidget.h.
Constructor & Destructor Documentation
CompassWidget::CompassWidget |
( |
QWidget * |
parent = 0 | ) |
|
CompassWidget::~CompassWidget |
( |
| ) |
|
Member Function Documentation
void CompassWidget::initializeGL |
( |
| ) |
|
|
protected |
QSize CompassWidget::minimumSizeHint |
( |
| ) |
const |
void CompassWidget::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
void CompassWidget::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
void CompassWidget::normalizeAngle |
( |
float * |
angle | ) |
|
|
private |
void CompassWidget::paintGL |
( |
| ) |
|
|
protected |
void CompassWidget::resizeGL |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
protected |
void CompassWidget::setAllRotations |
( |
float |
xAngle, |
|
|
float |
yAngle, |
|
|
float |
zAngle |
|
) |
| |
|
slot |
This is an additional member function, provided for convenience.
- Parameters:
-
xAngle | should be between 0.0 and 360.0 |
yAngle | should be between 0.0 and 360.0 |
zAngle | should be between 0.0 and 360.0 |
Definition at line 411 of file compassWidget.cpp.
void CompassWidget::setBackgroundColor |
( |
QColor |
col | ) |
|
|
slot |
void CompassWidget::setXRotation |
( |
float |
angle | ) |
|
|
slot |
void CompassWidget::setYRotation |
( |
float |
angle | ) |
|
|
slot |
void CompassWidget::setZRotation |
( |
float |
angle | ) |
|
|
slot |
QSize CompassWidget::sizeHint |
( |
| ) |
const |
void CompassWidget::xRotationChanged |
( |
float |
angle | ) |
|
|
signal |
void CompassWidget::yRotationChanged |
( |
float |
angle | ) |
|
|
signal |
void CompassWidget::zRotationChanged |
( |
float |
angle | ) |
|
|
signal |
Member Data Documentation
QColor CompassWidget::backgroundColor |
|
private |
GLdouble CompassWidget::cubeDepth |
|
private |
GLdouble CompassWidget::cubeHeight |
|
private |
GLdouble CompassWidget::cubeWidth |
|
private |
GLdouble CompassWidget::cyl_height |
|
private |
GLdouble CompassWidget::cyl_radius |
|
private |
QPoint CompassWidget::lastPos |
|
private |
double CompassWidget::m_mouseAngleH |
|
private |
double CompassWidget::m_mouseAngleV |
|
private |
int CompassWidget::m_mouseLastX |
|
private |
int CompassWidget::m_mouseLastY |
|
private |
QImage CompassWidget::robotImageBack |
|
private |
QImage CompassWidget::robotImageFront |
|
private |
QImage CompassWidget::robotImageLeft |
|
private |
QImage CompassWidget::robotImageRight |
|
private |
GLuint CompassWidget::robotTextureBack |
|
private |
GLuint CompassWidget::robotTextureFront |
|
private |
GLuint CompassWidget::robotTextureLeft |
|
private |
GLuint CompassWidget::robotTextureRight |
|
private |
QColor CompassWidget::xAxisColor |
|
private |
GLUquadricObj* CompassWidget::xAxisCone |
|
private |
GLUquadricObj* CompassWidget::xAxisCylinder |
|
private |
float CompassWidget::xRot |
|
private |
QColor CompassWidget::yAxisColor |
|
private |
GLUquadricObj* CompassWidget::yAxisCone |
|
private |
GLUquadricObj* CompassWidget::yAxisCylinder |
|
private |
float CompassWidget::yRot |
|
private |
QColor CompassWidget::zAxisColor |
|
private |
GLUquadricObj* CompassWidget::zAxisCone |
|
private |
GLUquadricObj* CompassWidget::zAxisCylinder |
|
private |
float CompassWidget::zRot |
|
private |
The documentation for this class was generated from the following files: