32 #ifndef OPENPSTD_SCENELAYER_H 33 #define OPENPSTD_SCENELAYER_H 48 std::unique_ptr<QOpenGLShaderProgram> program;
49 unsigned int positionsBuffer;
50 unsigned int valuesBuffer;
55 void CreateColormap(std::shared_ptr<Model>
const &m,
56 std::unique_ptr<QOpenGLFunctions,
void (*)(
void *)>
const &f);
58 std::unique_ptr<std::vector<Edge>> GetAllEdges(std::shared_ptr<Model>
const &m);
60 std::unique_ptr<std::vector<Edge>> RemoveDuplicateEdges(std::unique_ptr<std::vector<Edge>> edges);
65 virtual void InitializeGL(QObject *context, std::unique_ptr<QOpenGLFunctions,
void (*)(
void *)>
const &f);
67 virtual void PaintGL(QObject *context, std::unique_ptr<QOpenGLFunctions,
void (*)(
void *)>
const &f);
69 virtual void UpdateScene(std::shared_ptr<Model>
const &m,
70 std::unique_ptr<QOpenGLFunctions,
void (*)(
void *)>
const &f);
78 #endif //OPENPSTD_SCENELAYER_H This is the general namespace of the OpenPSTD application.
Definition: Boundary.cpp:33
Definition: SceneLayer.h:45
Definition: Viewer2D.h:115
Definition: Viewer2D.h:57