Descriptor class for queueing model updates via the ModelProcessingThread.
#include <Rendering/OpenGL/wsglmodelupdateinfo.h>
|
| WSGLModelUpdateInfo (const QString &modelId, Mesh::MeshModelSource &source, double edgeBreakThreshold, PriorityType priority=0) |
|
| WSGLModelUpdateInfo (const WSGLModelUpdateInfo &)=delete |
|
| ~WSGLModelUpdateInfo () |
|
QList< WSGLBufferObjectCacheItemPtr > | getCompletedBufferObjects () const |
|
Stage | getCurrentStage () const |
|
double | getEdgeBreakThreshold () const |
|
Mesh::MeshModelSource::LockedPtr< false > | getMeshModelSource () |
|
const QString & | getModelId () const |
|
const Mesh::MultiNodeNormals & | getNormals () const |
|
PriorityType | getPriority () const |
|
Result | getResult () const |
|
const QDateTime & | getTimeNormalsGenerated () const |
|
bool | isMeshModelSourceDeleted () const |
|
WSGLModelUpdateInfo & | operator= (const WSGLModelUpdateInfo &)=delete |
|
void | queueCopyToOpenGLHexahedralVolumes (const WSGLBufferObjectCacheItemPtr &item, GLuint *buffer) |
|
void | queueCopyToOpenGLPoints (const WSGLBufferObjectCacheItemPtr &item, GLuint *buffer) |
|
void | queueCopyToOpenGLPositionsAndNormals (const WSGLBufferObjectCacheItemPtr &item, GLfloat *buffer) |
|
void | queueCopyToOpenGLQuads (const WSGLBufferObjectCacheItemPtr &item, GLuint *buffer) |
|
void | queueCopyToOpenGLSegments (const WSGLBufferObjectCacheItemPtr &item, GLuint *buffer) |
|
void | queueCopyToOpenGLTriangles (const WSGLBufferObjectCacheItemPtr &item, GLuint *buffer) |
|
void | queueCopyToOpenGLVolumesAsTriangles (const WSGLBufferObjectCacheItemPtr &item, GLuint *volBuffer) |
|
void | queueCopyToOpenGLVolumesAsTrianglesWithAdjacency (const WSGLBufferObjectCacheItemPtr &item, GLuint *volBuffer) |
|
void | setPriority (PriorityType p) |
|
void | updateNormals (Mesh::MeshModelInterface &model) |
|
◆ PriorityType
◆ Result
Enumerator |
---|
Incomplete | |
Failed | |
Succeeded | |
Aborted | |
◆ Stage
- Note
- Order is important here, as comparisons using < are used in the code.
Enumerator |
---|
Queued | |
NormalsUpdated | |
Completed | |
◆ WSGLModelUpdateInfo() [1/2]
◆ WSGLModelUpdateInfo() [2/2]
◆ ~WSGLModelUpdateInfo()
◆ executeQueuedGLCopyFunctions()
- Parameters
-
model | The model for which we are queueing data copy operations for. |
◆ getCompletedBufferObjects()
- Returns
- A list of all buffer objects that have had their copy operations completed. Generally, if the operation was able to be completed, this should be everything that was added via one of the queue functions.
◆ getCurrentStage()
◆ getEdgeBreakThreshold()
double getEdgeBreakThreshold |
( |
| ) |
const |
◆ getMeshModelSource()
◆ getModelId()
const QString & getModelId |
( |
| ) |
const |
◆ getNormals()
◆ getPriority()
◆ getResult()
◆ getTimeNormalsGenerated()
const QDateTime & getTimeNormalsGenerated |
( |
| ) |
const |
◆ isMeshModelSourceDeleted()
bool isMeshModelSourceDeleted |
( |
| ) |
const |
◆ operator=()
◆ queueCopyToOpenGLHexahedralVolumes()
◆ queueCopyToOpenGLPoints()
◆ queueCopyToOpenGLPositionsAndNormals()
◆ queueCopyToOpenGLQuads()
◆ queueCopyToOpenGLSegments()
◆ queueCopyToOpenGLTriangles()
◆ queueCopyToOpenGLVolumesAsTriangles()
◆ queueCopyToOpenGLVolumesAsTrianglesWithAdjacency()
◆ setCompleted()
void setCompleted |
( |
Result |
result | ) |
|
|
protected |
◆ setPriority()
◆ updateNormals()