Blender V5.0
SceneVisitor.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
11
13
14#include "MEM_guardedalloc.h"
15
16namespace Freestyle {
17
18#define VISIT_COMPLETE_DEF(type) \
19 virtual void visit##type(type &) {} \
20 virtual void visit##type##Before(type &) {} \
21 virtual void visit##type##After(type &) {}
22
23#define VISIT_DECL(type) virtual void visit##type(type &)
24
25#define VISIT_COMPLETE_DECL(type) \
26 virtual void visit##type##Before(type &); \
27 virtual void visit##type(type &); \
28 virtual void visit##type##After(type &)
29
30class Node;
31class NodeShape;
32class NodeGroup;
33class NodeLight;
34class NodeCamera;
35class NodeDrawingStyle;
36class NodeTransform;
37class NodeViewLayer;
38
39class Rep;
40class LineRep;
41class OrientedLineRep;
42class TriangleRep;
43class VertexRep;
44class IndexedFaceSet;
45class DrawingStyle;
46class FrsMaterial;
47
81
82} /* namespace Freestyle */
Configuration definitions.
Read Guarded memory(de)allocation.
#define VISIT_COMPLETE_DEF(type)
virtual void beginScene()
virtual void endScene()
inherits from class Rep
Definition AppCanvas.cpp:20