Go to the documentation of this file.
126 #ifndef vtkHyperTree_h
127 #define vtkHyperTree_h
129 #include "vtkCommonDataModelModule.h"
176 unsigned int dimension );
208 void operator=(
const vtkHyperTree&) VTK_DELETE_FUNCTION;
virtual unsigned int GetActualMemorySize()=0
Return the actual memory size in kibibytes (1024 bytes).
virtual void FindChildParameters(int, vtkIdType &, bool &)
Find the Index, Parent Index and IsLeaf() parameters of a child for hypertree.
virtual int GetDimension()=0
abstract base class for most VTK objects
virtual void SubdivideLeaf(vtkHyperTreeCursor *leaf)=0
Subdivide node pointed by cursor, only if its a leaf.
virtual void SetGlobalIndexStart(vtkIdType)=0
Set the start global index for the current tree.
virtual int GetBranchFactor()=0
virtual vtkHyperTreeCursor * NewCursor()=0
virtual void SetGlobalIndexFromLocal(vtkIdType local, vtkIdType global)=0
Set the mapping between local & global ids used by HyperTreeGrids.
virtual void GetScale(double[3])=0
virtual vtkIdType GetNumberOfNodes()=0
virtual vtkIdType GetNumberOfIndex()=0
static VTK_NEWINSTANCE vtkHyperTree * CreateInstance(unsigned int branchFactor, unsigned int dimension)
Return an instance of a templated hypertree for given branch factor and dimension This is done to hid...
Objects that can traverse hypertree nodes.
virtual vtkIdType GetGlobalIndexFromLocal(vtkIdType local)=0
Get the global id of a local node.
An object structured as a tree where each node has exactly either 2^n or 3^n children.
virtual void SetScale(double[3])=0
virtual double GetScale(unsigned int)=0
virtual vtkIdType GetNumberOfLeaves()=0
virtual vtkIdType GetNumberOfLevels()=0
Return the number of levels.
virtual void Initialize()=0