36 #ifndef OPENPSTD_INTERACTIVELAYER_H 37 #define OPENPSTD_INTERACTIVELAYER_H 47 std::unique_ptr<QOpenGLShaderProgram> program;
48 bool addDomainVisible;
49 bool selectionVisible;
50 unsigned int newDomainBuffer;
51 unsigned int selectionBuffer;
52 QColor newDomainColor;
53 QColor selectionColor;
57 virtual void InitializeGL(QObject *context, std::unique_ptr<QOpenGLFunctions,
void (*)(
void *)>
const &f);
59 virtual void PaintGL(QObject *context, std::unique_ptr<QOpenGLFunctions,
void (*)(
void *)>
const &f);
61 virtual void UpdateScene(std::shared_ptr<Model>
const &m,
62 std::unique_ptr<QOpenGLFunctions,
void (*)(
void *)>
const &f);
70 #endif //OPENPSTD_INTERACTIVELAYER_H This is the general namespace of the OpenPSTD application.
Definition: Boundary.cpp:33
Definition: Viewer2D.h:115
Definition: Viewer2D.h:57
Definition: InteractiveLayer.h:44