47 #ifndef vtkHyperTreeGrid_h
48 #define vtkHyperTreeGrid_h
50 #include "vtkCommonDataModelModule.h"
93 void CopyStructure(
vtkDataSet* ) VTK_OVERRIDE;
99 void SetGridSize(
unsigned int[3] );
100 void SetGridSize(
unsigned int i,
unsigned int j,
unsigned int k );
101 vtkGetVector3Macro(GridSize,
unsigned int);
108 void SetGridExtent(
int extent[6]);
109 void SetGridExtent(
int iMin,
int iMax,
int jMin,
int jMax,
119 vtkGetMacro(TransposedRootIndexing,
bool);
120 void SetIndexingModeToKJI()
121 { this->SetTransposedRootIndexing(
false ); }
123 { this->SetTransposedRootIndexing(
true ); }
131 void SetBranchFactor(
unsigned int );
132 vtkGetMacro(BranchFactor,
unsigned int);
140 void SetDimension(
unsigned int );
141 vtkGetMacro(Dimension,
unsigned int);
152 vtkIdType GetNumberOfPoints() VTK_OVERRIDE;
212 virtual
void GenerateTrees();
272 int GetCellType(
vtkIdType ) VTK_OVERRIDE;
316 vtkIdType FindPoint(
double x[3] ) VTK_OVERRIDE;
332 double tol2,
int& subId,
double pcoords[3],
333 double *weights ) VTK_OVERRIDE;
344 double tol2,
int& subId,
double pcoords[3],
345 double *weights ) VTK_OVERRIDE;
351 void Initialize() VTK_OVERRIDE;
356 void InitializeTreeIterator( vtkHyperTreeIterator& );
364 int GetMaxCellSize() VTK_OVERRIDE;
392 void GenerateSuperCursorTraversalTable();
401 void InitializeSuperCursor( vtkHyperTreeGridSuperCursor*,
406 void InitializeSuperCursor( vtkHyperTreeGridSuperCursor*,
413 void InitializeSuperCursorChild( vtkHyperTreeGridSuperCursor* parent,
414 vtkHyperTreeGridSuperCursor* child,
415 unsigned int childIdx );
422 vtkGetMacro(NumberOfChildren,
unsigned int);
438 void ComputeBounds() VTK_OVERRIDE;
442 void ComputeDualGrid();
446 unsigned int Dimension;
447 unsigned int GridSize[3];
449 unsigned int BranchFactor;
450 unsigned int NumberOfChildren;
451 bool TransposedRootIndexing;
468 void DeleteInternalArrays();
471 #if !defined(__VTK_WRAP__) && !defined(__WRAP_GCCXML__)
507 vtkIdType RecursiveFindPoint(
double x[3],
509 double* origin,
double*
size);
533 unsigned short Level;
560 std::map<vtkIdType, vtkHyperTree*>::iterator
Iterator;
579 return this->Cursors + this->MiddleCursorId + idx;