Basic visual interface.
More...
#include <Interface.h>
|
static void | vertex3 (QVector3D const &) |
| glVertex3f from QVector3D More...
|
|
static void | visualLine (QVector3D const &_from, QVector3D const &_to) |
| Draws a line. More...
|
|
static void | color (QColor _color, float _alpha=1.0) |
| glColor4f from QColor More...
|
|
virtual omni::visual::Interface::~Interface |
( |
| ) |
|
|
inlinevirtual |
void omni::visual::Interface::color |
( |
QColor |
_color, |
|
|
float |
_alpha = 1.0 |
|
) |
| |
|
staticprotected |
glColor4f from QColor
42 glColor4f(_color.red() / 255.0, _color.green() / 255.0,
43 _color.blue() / 255.0, _alpha);
virtual void omni::visual::Interface::draw |
( |
| ) |
const |
|
pure virtual |
virtual void omni::visual::Interface::update |
( |
| ) |
|
|
inlinevirtual |
void omni::visual::Interface::vertex3 |
( |
QVector3D const & |
_v | ) |
|
|
staticprotected |
glVertex3f from QVector3D
29 glVertex3f(_v.x(), _v.y(), _v.z());
void omni::visual::Interface::visualLine |
( |
QVector3D const & |
_from, |
|
|
QVector3D const & |
_to |
|
) |
| |
|
staticprotected |
Draws a line.
static void vertex3(QVector3D const &)
glVertex3f from QVector3D
Definition: Interface.cpp:27
The documentation for this class was generated from the following files: