46 #ifndef vtkHyperTreeGrid_h
47 #define vtkHyperTreeGrid_h
93 void SetGridSize(
unsigned int[3] );
94 void SetGridSize(
unsigned int i,
unsigned int j,
unsigned int k );
95 vtkGetVector3Macro(GridSize,
unsigned int);
100 void SetGridExtent(
int extent[6]);
101 void SetGridExtent(
int iMin,
int iMax,
int jMin,
int jMax,
109 vtkSetMacro(TransposedRootIndexing,
bool);
110 vtkGetMacro(TransposedRootIndexing,
bool);
112 { this->SetTransposedRootIndexing(
false ); }
114 { this->SetTransposedRootIndexing(
true ); }
120 void SetBranchFactor(
unsigned int );
121 vtkGetMacro(BranchFactor,
unsigned int);
126 void SetDimension(
unsigned int );
127 vtkGetMacro(Dimension,
unsigned int);
176 virtual void GenerateTrees();
265 double tol2,
int& subId,
double pcoords[3],
277 double tol2,
int& subId,
double pcoords[3],
285 void InitializeTreeIterator( vtkHyperTreeIterator& );
309 void GenerateSuperCursorTraversalTable();
317 void InitializeSuperCursor( vtkHyperTreeGridSuperCursor*,
322 void InitializeSuperCursor( vtkHyperTreeGridSuperCursor*,
328 void InitializeSuperCursorChild( vtkHyperTreeGridSuperCursor* parent,
329 vtkHyperTreeGridSuperCursor* child,
330 unsigned int childIdx );
337 vtkGetMacro(NumberOfChildren,
unsigned int);
358 void ComputeDualGrid();
363 unsigned int GridSize[3];
381 std::map<vtkIdType, double> PointShifts[3];
384 void DeleteInternalArrays();
388 #if !defined(__WRAP__) && !defined(__WRAP_GCCXML__)
426 vtkIdType RecursiveFindPoint(
double x[3],
428 double* origin,
double*
size);
454 unsigned short Level;
475 std::map<vtkIdType, vtkHyperTree*>::iterator
Iterator;
494 return this->Cursors + this->MiddleCursorId + idx;
std::map< vtkIdType, vtkHyperTree * > HyperTrees
virtual vtkIdType GetNumberOfCells()=0
virtual void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)=0
unsigned long GetActualMemorySize()
object represents upward pointers from points to list of cells using each point
static vtkDataObject * New()
virtual vtkIdType FindCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)=0
void SetIndexingModeToKJI()
unsigned int NumberOfChildren
virtual vtkIdType GetNumberOfPoints()=0
abstract class to specify dataset behavior
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a cell that represents an orthogonal quadrilateral
vtkDataArray * ZCoordinates
unsigned short GetLevel()
virtual void ComputeBounds()
dynamic, self-adjusting array of vtkIdType
unsigned int BranchFactor
void SetIndexingModeToIJK()
provides thread-safe access to cells
Objects that can traverse hypertree nodes.
cell represents a 1D line
abstract class to specify cell behavior
void PrintSelf(ostream &os, vtkIndent indent)
a cell that represents a 3D orthogonal parallelepiped
a simple class to control print indentation
virtual int GetMaxCellSize()=0
list of point or cell ids
virtual void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)=0
abstract superclass for arrays of numeric data
vtkDataArray * YCoordinates
vtkIdTypeArray * Connectivity
std::map< vtkIdType, bool > PointShifted
represent and manipulate attribute data in a dataset
vtkIdTypeArray * MaterialMaskIndex
virtual void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
void DeepCopy(vtkDataObject *src)
dynamic, self-adjusting array of bits
create and manipulate unsorted lists of objects
An object structured as a tree where each node has exactly either 2^n or 3^n children.
bool TransposedRootIndexing
vtkHyperTreeSimpleCursor * GetCursor(int idx)
virtual void CopyStructure(vtkDataSet *ds)=0
virtual double * GetPoint(vtkIdType ptId)=0
std::map< vtkIdType, double > ReductionFactors
vtkBitArray * MaterialMask
general representation of visualization data
vtkIdType FindPoint(double x, double y, double z)
std::map< vtkIdType, vtkHyperTree * >::iterator Iterator
vtkDataArray * XCoordinates
#define VTKCOMMONDATAMODEL_EXPORT
virtual vtkCell * GetCell(vtkIdType cellId)=0
represent and manipulate 3D points
virtual int GetCellType(vtkIdType cellId)=0
void ShallowCopy(vtkDataObject *src)