119 #ifndef vtkHyperOctree_h 120 #define vtkHyperOctree_h 122 #include "vtkCommonDataModelModule.h" 127 class vtkHyperOctreeInternal;
130 class vtkHyperOctreeIdSet;
143 #if !defined(VTK_LEGACY_REMOVE) 184 void SetDimension(
int dim);
258 vtkSetVector3Macro(Size,
double);
265 vtkGetVector3Macro(Size,
double);
272 vtkSetVector3Macro(Origin,
double);
274 vtkGetVector3Macro(Origin,
double);
382 double tol2,
int& subId,
double pcoords[3],
383 double *weights)
override;
394 double tol2,
int& subId,
double pcoords[3],
395 double *weights)
override;
440 void GetPointsOnParentFaces(
int faces[3],
523 void SetDualGridFlag(
int flag);
524 vtkGetMacro(DualGridFlag,
int);
564 void UpdateDualArrays();
570 void UpdateGridArrays();
576 void DeleteInternalArrays();
579 unsigned short *xyzIds,
int level);
581 unsigned char* visited,
582 double* origin,
double*
size);
585 unsigned char* visited,
int* cornerNeighborIds);
593 int NeighborhoodTraversalTable[216];
594 void GenerateGridNeighborhoodTraversalTable();
595 void GenerateDualNeighborhoodTraversalTable();
605 vtkIdType RecursiveFindPoint(
double x[3],
607 double *origin,
double *
size);
624 void ToChild(
int child);
625 unsigned short GetIsLeaf();
632 unsigned short IsLeaf;
633 unsigned short Level;
635 #endif // LEGACY remove
virtual vtkIdType GetNumberOfCells()=0
Determine the number of cells composing the dataset.
virtual void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)=0
Topological inquiry to get cells using point.
vtkIdTypeArray * CornerLeafIds
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
Locate cell based on global coordinate x and tolerance squared.
quickly locate points in 3-space
virtual vtkIdType GetNumberOfPoints()=0
Determine the number of points composing the dataset.
abstract class to specify dataset behavior
unsigned short GetLevel()
a cell that represents an orthogonal quadrilateral
virtual void ComputeBounds()
Compute the data bounding box from data points.
An object used by filters to store points computed on face or edge of an hyperoctant.
vtkHyperOctree * GetTree()
helper class to generate triangulations
dynamic, self-adjusting array of vtkIdType
A dataset structured as a tree where each node has exactly 2^n children.
static vtkDataSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
provides thread-safe access to cells
cell represents a 1D line
abstract class to specify cell behavior
a cell that represents a 3D orthogonal parallelepiped
unsigned long GetActualMemorySize() override
Return the actual size of the data in kibibytes (1024 bytes).
a simple class to control print indentation
virtual int GetMaxCellSize()=0
Convenience method returns largest cell size in dataset.
list of point or cell ids
virtual void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)=0
Topological inquiry to get points defining cell.
int GetDataObjectType() override
Return the type of data object.
a cell that represents an n-sided polygon
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
represent and manipulate attribute data in a dataset
virtual void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
Topological inquiry to get all cells using list of points exclusive of cell specified (e...
Objects that can traverse hyperoctree nodes.
vtkHyperOctreeInternal * CellTree
void Initialize() override
Restore data object to initial state.
virtual void CopyStructure(vtkDataSet *ds)=0
Copy the geometric and topological structure of an object.
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
virtual double * GetPoint(vtkIdType ptId)=0
Get point coordinates with ptId such that: 0 <= ptId < NumberOfPoints.
vtkIdTypeArray * LeafCornerIds
vtkHyperOctreeCursor * TmpChild
general representation of visualization data
vtkIdType FindPoint(double x, double y, double z)
Locate the closest point to the global coordinate x.
virtual vtkCell * GetCell(vtkIdType cellId)=0
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int GetCellType(vtkIdType cellId)=0
Get type of cell with cellId such that: 0 <= cellId < NumberOfCells.