37 #ifndef vtkDataAssemblyVisitor_h
38 #define vtkDataAssemblyVisitor_h
40 #include "vtkCommonDataModelModule.h"
45 VTK_ABI_NAMESPACE_BEGIN
74 virtual void Visit(
int nodeid) = 0;
97 const char* GetCurrentNodeName()
const;
98 std::vector<std::string> GetCurrentNodePath()
const;
99 std::vector<unsigned int> GetCurrentDataSetIndices()
const;
107 std::unique_ptr<vtkInternals> Internals;
114 VTK_ABI_NAMESPACE_END
abstract base class for most VTK objects
virtual void EndSubTree(int nodeid)
Methods called at the start and end of a subtree traversal.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual bool GetTraverseSubtree(int nodeid)
Called to check if the subtree anchored at nodeid is to be traversed.
visitor API for vtkDataAssembly
virtual void BeginSubTree(int nodeid)
Methods called at the start and end of a subtree traversal.
a simple class to control print indentation
int GetTraversalOrder() const
Returns the current traversal order.
hierarchical representation to use with vtkPartitionedDataSetCollection
const vtkDataAssembly * GetAssembly() const
Provides access to the assembly during traversal, otherwise returns nullptr.