mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
New visitor for ImGui display of scene
This commit is contained in:
@@ -1,11 +1,29 @@
|
||||
#ifndef IMGUIVISITOR_H
|
||||
#define IMGUIVISITOR_H
|
||||
|
||||
#include "Visitor.h"
|
||||
|
||||
class ImGuiVisitor
|
||||
class ImGuiVisitor: public Visitor
|
||||
{
|
||||
public:
|
||||
ImGuiVisitor();
|
||||
|
||||
// Elements of Scene
|
||||
void visit(Scene& n) override;
|
||||
void visit(Node& n) override;
|
||||
void visit(Group& n) override;
|
||||
void visit(Switch& n) override;
|
||||
void visit(Primitive& n) override;
|
||||
void visit(ImageSurface& n) override;
|
||||
void visit(MediaSurface& n) override;
|
||||
void visit(LineStrip& n) override;
|
||||
void visit(LineSquare& n) override;
|
||||
void visit(LineCircle& n) override;
|
||||
|
||||
// Elements with attributes
|
||||
void visit(MediaPlayer& n) override;
|
||||
void visit(Shader& n) override;
|
||||
void visit(ImageShader& n) override;
|
||||
};
|
||||
|
||||
#endif // IMGUIVISITOR_H
|
||||
#endif // IMGUIVISITOR_H
|
||||
|
||||
Reference in New Issue
Block a user