28 #ifndef __vtkHyperTreeCursor_h
29 #define __vtkHyperTreeCursor_h
31 #include "vtkCommonDataModelModule.h"
32 #include "vtkObject.h"
60 void PrintSelf(ostream& os, vtkIndent indent);
67 virtual vtkIdType GetLeafId() = 0;
70 virtual vtkIdType GetNodeId() = 0;
73 virtual bool IsLeaf() = 0;
78 virtual bool IsTerminalNode() = 0;
81 virtual bool IsRoot() = 0;
85 virtual int GetCurrentLevel() = 0;
90 virtual int GetChildIndex() = 0;
94 virtual void ToRoot() = 0;
98 virtual void ToParent() = 0;
103 virtual void ToChild(
int child ) = 0;
126 virtual int GetIndex(
int d ) = 0;
130 virtual int GetNumberOfChildren() = 0;
133 virtual int GetDimension() = 0;
141 virtual void MoveToNode(
int* indices,
int level ) = 0;
144 virtual bool Found() = 0;
const int VTK_2TREE_CHILD_NE
const int VTK_2TREE_CHILD_SW
Objects that can traverse hypertree nodes.
const int VTK_2TREE_CHILD_SE
An object structured as a tree where each node has exactly either 2^n or 3^n children.
const int VTK_1TREE_TREE_CHILD_LEFT
const int VTK_2TREE_CHILD_NW
const int VTK_1TREE_TREE_CHILD_RIGHT