mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 10:49:59 +01:00
Extend mechanism of visitor for all important classes that has
attributes of a scene (for saving in XML, or other visitors)
This commit is contained in:
@@ -13,14 +13,19 @@ class SessionVisitor : public Visitor {
|
||||
public:
|
||||
SessionVisitor(std::string filename);
|
||||
|
||||
// Elements of Scene
|
||||
void visit(Node& n) override;
|
||||
void visit(Primitive& n) override;
|
||||
void visit(Group& n) override;
|
||||
void visit(Primitive& n) override;
|
||||
void visit(Scene& n) override;
|
||||
void visit(TexturedRectangle& n) override;
|
||||
void visit(MediaRectangle& n) override;
|
||||
void visit(LineStrip& n) override;
|
||||
void visit(Scene& n) override;
|
||||
|
||||
// Elements with attributes
|
||||
void visit(MediaPlayer& n) override;
|
||||
void visit(Shader& n) override;
|
||||
void visit(ImageShader& n) override;
|
||||
};
|
||||
|
||||
#endif // XMLVISITOR_H
|
||||
|
||||
Reference in New Issue
Block a user