134 #ifndef vtkHyperTree_h 135 #define vtkHyperTree_h 137 #include "vtkCommonDataModelModule.h" 151 virtual void Initialize() = 0;
156 virtual vtkIdType GetNumberOfLevels() = 0;
161 virtual vtkIdType GetNumberOfVertices() = 0;
166 virtual vtkIdType GetNumberOfNodes() = 0;
171 virtual vtkIdType GetNumberOfLeaves() = 0;
176 virtual int GetBranchFactor() = 0;
181 virtual int GetDimension() = 0;
186 virtual vtkIdType GetNumberOfChildren() = 0;
192 virtual void SetScale(
double[3] ) = 0;
193 virtual void GetScale(
double[3] ) = 0;
194 virtual double GetScale(
unsigned int ) = 0;
203 static vtkHyperTree* CreateInstance(
unsigned int branchFactor,
204 unsigned int dimension );
210 virtual void FindParentIndex(
vtkIdType& );
217 virtual void FindChildParameters(
int,
vtkIdType&,
bool& );
236 virtual unsigned int GetActualMemorySize() = 0;
242 virtual void SetGlobalIndexStart(
vtkIdType ) = 0;
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.
Objects for depth-first traversal HyperTrees.
a simple class to control print indentation
An object structured as a tree where each node has exactly either 2^d or 3^d children.