LibrePCB Developers Documentation
|
Asynchronously generates a 3D board scene for OpenGL rendering. More...
#include <opengltriangleobject.h>
Public Member Functions | |
OpenGlTriangleObject () noexcept | |
OpenGlTriangleObject (const OpenGlTriangleObject &other)=delete | |
virtual | ~OpenGlTriangleObject () noexcept |
void | setData (const QColor &color, const QVector< QVector3D > &data) noexcept |
virtual void | draw (QOpenGLFunctions &gl, QOpenGLShaderProgram &program) noexcept override |
OpenGlTriangleObject & | operator= (const OpenGlTriangleObject &rhs)=delete |
Public Member Functions inherited from OpenGlObject | |
OpenGlObject () noexcept=default | |
OpenGlObject (const OpenGlObject &other) noexcept=default | |
virtual | ~OpenGlObject () noexcept=default |
Private Attributes | |
QOpenGLBuffer | mBuffer |
int | mCount |
QMutex | mMutex |
QColor | mColor |
std::optional< QVector< QVector3D > > | mNewTriangles |
Asynchronously generates a 3D board scene for OpenGL rendering.
|
noexcept |
|
delete |
|
virtualnoexcept |
|
noexcept |
|
overridevirtualnoexcept |
Implements OpenGlObject.
|
delete |
|
private |
|
private |
|
private |
|
private |
|
private |