37#ifndef vtkDataAssemblyVisitor_h
38#define vtkDataAssemblyVisitor_h
40#include "vtkCommonDataModelModule.h"
45VTK_ABI_NAMESPACE_BEGIN
74 virtual void Visit(
int nodeid) = 0;
106 std::unique_ptr<vtkInternals> Internals;
~vtkDataAssemblyVisitor() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void BeginSubTree(int nodeid)
Methods called at the start and end of a subtree traversal.
friend class vtkDataAssembly
virtual bool GetTraverseSubtree(int nodeid)
Called to check if the subtree anchored at nodeid is to be traversed.
int GetTraversalOrder() const
Returns the current traversal order.
std::vector< unsigned int > GetCurrentDataSetIndices() const
API to access information from the current node being processed.
const char * GetCurrentNodeName() const
API to access information from the current node being processed.
virtual void EndSubTree(int nodeid)
Methods called at the start and end of a subtree traversal.
virtual void Visit(int nodeid)=0
Called on every node being visited.
const vtkDataAssembly * GetAssembly() const
Provides access to the assembly during traversal, otherwise returns nullptr.
hierarchical representation to use with vtkPartitionedDataSetCollection
a simple class to control print indentation