 |
VTK
9.0.1
|
Go to the documentation of this file.
59 #ifndef vtkHyperTreeGrid_h
60 #define vtkHyperTreeGrid_h
62 #include "vtkCommonDataModelModule.h"
117 vtkSetStringMacro(ModeSqueeze);
118 vtkGetStringMacro(ModeSqueeze);
123 virtual void Squeeze();
149 void SetDimensions(
const unsigned int dims[3]);
150 void SetDimensions(
const int dims[3]);
151 void SetDimensions(
unsigned int i,
unsigned int j,
unsigned int k);
152 void SetDimensions(
int i,
int j,
int k);
160 const unsigned int* GetDimensions() const
VTK_SIZEHINT(3);
162 void GetDimensions(
int dim[3]) const;
163 void GetDimensions(
unsigned int dim[3]) const;
173 void SetExtent(const
int extent[6]);
174 void SetExtent(
int x1,
int x2,
int y1,
int y2,
int z1,
int z2);
175 vtkGetVector6Macro(Extent,
int);
184 const
unsigned int* GetCellDims() const
VTK_SIZEHINT(3);
185 void GetCellDims(
int cellDims[3]) const;
186 void GetCellDims(
unsigned int cellDims[3]) const;
196 unsigned int GetDimension()
const {
return this->Dimension; }
205 assert(
"pre: valid_dim" && this->GetDimension() == 1);
206 axis = this->Axis[0];
214 void Get2DAxes(
unsigned int& axis1,
unsigned int& axis2)
const
216 assert(
"pre: valid_dim" && this->GetDimension() == 2);
217 axis1 = this->Axis[0];
218 axis2 = this->Axis[1];
226 const unsigned int*
GetAxes()
const {
return this->Axis; }
253 vtkSetMacro(TransposedRootIndexing,
bool);
254 vtkGetMacro(TransposedRootIndexing,
bool);
273 vtkGetMacro(FreezeState,
bool);
280 void SetBranchFactor(
unsigned int);
302 unsigned int GetNumberOfLevels(
vtkIdType);
307 unsigned int GetNumberOfLevels();
338 virtual void SetFixedCoordinates(
unsigned int axis,
double value);
358 vtkSetMacro(HasInterface,
bool);
359 vtkGetMacro(HasInterface,
bool);
360 vtkBooleanMacro(HasInterface,
bool);
367 vtkSetStringMacro(InterfaceNormalsName);
368 vtkGetStringMacro(InterfaceNormalsName);
375 vtkSetStringMacro(InterfaceInterceptsName);
376 vtkGetStringMacro(InterfaceInterceptsName);
383 vtkSetMacro(DepthLimiter,
unsigned int);
384 vtkGetMacro(DepthLimiter,
unsigned int);
390 void InitializeOrientedCursor(
397 void InitializeOrientedGeometryCursor(
405 void InitializeNonOrientedCursor(
412 void InitializeNonOrientedGeometryCursor(
423 unsigned int RecurseDichotomic(
429 virtual unsigned int FindDichotomicX(
double value)
const;
430 virtual unsigned int FindDichotomicY(
double value)
const;
431 virtual unsigned int FindDichotomicZ(
double value)
const;
436 void InitializeNonOrientedVonNeumannSuperCursor(
444 void InitializeNonOrientedVonNeumannSuperCursorLight(
446 bool create =
false);
453 void InitializeNonOrientedMooreSuperCursor(
461 void InitializeNonOrientedMooreSuperCursorLight(
506 virtual unsigned long GetActualMemorySizeBytes();
521 bool RecursivelyInitializePureMask(
579 unsigned int GetChildMask(
unsigned int);
584 void GetIndexFromLevelZeroCoordinates(
vtkIdType&,
unsigned int,
unsigned int,
unsigned int)
const;
591 vtkIdType GetShiftedLevelZeroIndex(
vtkIdType,
unsigned int,
unsigned int,
unsigned int)
const;
596 void GetLevelZeroCoordinatesFromIndex(
597 vtkIdType,
unsigned int&,
unsigned int&,
unsigned int&)
const;
602 virtual void GetLevelZeroOriginAndSizeFromIndex(
vtkIdType,
double*,
double*);
607 virtual void GetLevelZeroOriginFromIndex(
vtkIdType,
double*);
624 void InitializeLocalIndexNode();
630 bool HasAnyGhostCells()
const;
674 std::map<vtkIdType, vtkSmartPointer<vtkHyperTree> >::iterator
Iterator;
704 void GetBounds(
double bounds[6]);
716 void GetCenter(
double center[3]);
746 unsigned int BranchFactor;
747 unsigned int Dimension;
755 bool TreeGhostArrayCached;
758 unsigned int Orientation;
759 unsigned int Axis[2];
762 unsigned int NumberOfChildren;
763 bool TransposedRootIndexing;
769 unsigned int Dimensions[3];
770 unsigned int CellDims[3];
775 bool WithCoordinates;
786 char* InterfaceNormalsName;
787 char* InterfaceInterceptsName;
793 unsigned int DepthLimiter;
represent and manipulate 3D points
Objects for traversal a HyperTreeGrid.
unsigned int GetBranchFactor() const
virtual void Initialize()
Restore data object to initial state,.
Objects for traversal a HyperTreeGrid.
represent and manipulate point attribute data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
represent and manipulate attribute data in a dataset
dynamic, self-adjusting array of unsigned char
Hold a reference to a vtkObjectBase instance.
#define VTK_HYPER_TREE_GRID
Objects for traversal a HyperTreeGrid.
void SetIndexingModeToKJI()
Objects for traversal a HyperTreeGrid.
abstract superclass for arrays of numeric data
virtual void DeepCopy(vtkDataObject *src)
An iterator object to iteratively access trees in the grid.
int GetExtentType() override
Structured extent.
cell represents a 1D line
unsigned int GetNumberOfChildren() const
The number of children each node can have.
vtkHyperTreeGridIterator()
Fast, simple class for dealing with 3D bounds.
create and manipulate ordered lists of objects
void Get1DAxis(unsigned int &axis) const
JB retourne l'indice de la dimension valide.
#define VTK_SIZEHINT(...)
Objects for traversal a HyperTreeGrid.
a simple class to control print indentation
object represents upward pointers from points to list of cells using each point
std::map< vtkIdType, vtkSmartPointer< vtkHyperTree > >::iterator Iterator
void Get2DAxes(unsigned int &axis1, unsigned int &axis2) const
JB Retourne l'indice des deux dimensions valides.
A data object structured as a tree.
Allocate and hold a VTK object.
unsigned int GetOrientation() const
Get the orientation of 1D or 2D grids:
const unsigned int * GetAxes() const
JB Get the axis information (used for CopyStructure)
Objects for traversal a HyperTreeGrid.
virtual unsigned long GetActualMemorySize()
Return the actual size of the data in kibibytes (1024 bytes).
Objects for traversal a HyperTreeGrid.
dynamic, self-adjusting array of vtkIdType
a cell that represents an orthogonal quadrilateral
dynamic, self-adjusting array of bits
dynamic, self-adjusting array of double
general representation of visualization data
virtual void ShallowCopy(vtkDataObject *src)
Shallow and Deep copy.
Objects for traversal a HyperTreeGrid.
int GetDataObjectType() override
Return what type of dataset this is.
static vtkDataObject * New()
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
void SetIndexingModeToIJK()