- All Known Implementing Classes:
ClassicVRMLExport
,DXFExport
,GLTFExport
,MTGExport
,OBJExport
,PLYExport
,POVExport
,RootlessXMLExporter
,SceneGraphExport
,STLExport
,TEXExport
,VRML97Export
,WebGLExport
,X3DExport
,XEGExportScene
- Enclosing class:
- SceneTree
public static interface SceneTree.Visitor
A
Visitor
is used to visit a SceneTree
.
On invocation of SceneTree.accept(Visitor)
, the complete
tree is passed to the specified visitor. This interface
follows the design pattern "Hierarchical Visitor".- Author:
- Ole Kniemeyer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(SceneTree.Leaf node) Informs the visitor that a leaf is visited.void
Informs the visitor that an inner node has been entered.void
Informs the visitor that an inner node has been left.
-
Method Details
-
visitEnter
Informs the visitor that an inner node has been entered.- Parameters:
node
- the node being entered
-
visitLeave
Informs the visitor that an inner node has been left.- Parameters:
node
- the node being left
-
visit
Informs the visitor that a leaf is visited.- Parameters:
node
- the leaf being visited
-