 |
VTK
9.1.0
|
Go to the documentation of this file.
49 #ifndef vtkDataAssemblyVisitor_h
50 #define vtkDataAssemblyVisitor_h
52 #include "vtkCommonDataModelModule.h"
85 virtual void Visit(
int nodeid) = 0;
117 std::unique_ptr<vtkInternals> Internals;
hierarchical representation to use with vtkPartitionedDataSetCollection
visitor API for vtkDataAssembly
std::vector< unsigned int > GetCurrentDataSetIndices() const
API to access information from the current node being processed.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkDataAssemblyVisitor() override
virtual void EndSubTree(int vtkNotUsed(nodeid))
Methods called at the start and end of a subtree traversal.
a simple class to control print indentation
virtual void Visit(int nodeid)=0
Called on every node being visited.
const char * GetCurrentNodeName() const
API to access information from the current node being processed.
int GetTraversalOrder() const
Returns the current traversal order.
const vtkDataAssembly * GetAssembly() const
Provides access to the assembly during traversal, otherwise returns nullptr.
virtual void BeginSubTree(int vtkNotUsed(nodeid))
Methods called at the start and end of a subtree traversal.
virtual bool GetTraverseSubtree(int vtkNotUsed(nodeid))
Called to check if the subtree anchored at nodeid is to be traversed.