VTK
9.4.20241108
|
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid. More...
#include <vtkHyperTreeGrid.h>
Classes | |
class | vtkHyperTreeGridIterator |
An iterator object to iteratively access trees in the grid. More... | |
Public Types | |
typedef vtkDataObject | Superclass |
Public Types inherited from vtkDataObject | |
enum | FieldAssociations { FIELD_ASSOCIATION_POINTS , FIELD_ASSOCIATION_CELLS , FIELD_ASSOCIATION_NONE , FIELD_ASSOCIATION_POINTS_THEN_CELLS , FIELD_ASSOCIATION_VERTICES , FIELD_ASSOCIATION_EDGES , FIELD_ASSOCIATION_ROWS , NUMBER_OF_ASSOCIATIONS } |
Possible values for the FIELD_ASSOCIATION information entry. More... | |
enum | AttributeTypes { POINT , CELL , FIELD , POINT_THEN_CELL , VERTEX , EDGE , ROW , NUMBER_OF_ATTRIBUTE_TYPES } |
Possible attribute types. More... | |
enum | FieldOperations { FIELD_OPERATION_PRESERVED , FIELD_OPERATION_REINTERPOLATED , FIELD_OPERATION_MODIFIED , FIELD_OPERATION_REMOVED } |
Possible values for the FIELD_OPERATION information entry. More... | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual vtkTypeBool | IsA (const char *type) |
Return 1 if this class is the same type of (or a subclass of) the named class. | |
vtkHyperTreeGrid * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. | |
virtual void | SetModeSqueeze (const char *) |
Set/Get mode squeeze. | |
virtual char * | GetModeSqueeze () |
virtual void | Squeeze () |
Squeeze this representation. | |
int | GetDataObjectType () override |
Return what type of dataset this is. | |
virtual void | CopyStructure (vtkDataObject *) |
Copy the internal geometric and topological structure of a vtkHyperTreeGrid object. | |
virtual void | CopyEmptyStructure (vtkDataObject *) |
Copy the internal structure with no data associated. | |
vtkIdType | GetMaxNumberOfTrees () const |
Return the maximum number of trees in the level 0 grid. | |
vtkIdType | GetNumberOfNonEmptyTrees () |
Get the number of non empty trees in this grid. | |
vtkIdType | GetNumberOfLeaves () |
Get the number of leaves in the primal tree grid. | |
unsigned int | GetNumberOfLevels (vtkIdType) |
Return the number of levels in an individual (primal) tree. | |
unsigned int | GetNumberOfLevels () |
Return the number of levels in the hyper tree grid. | |
bool | HasMask () |
Determine whether blanking mask is empty or not. | |
vtkHyperTreeGridNonOrientedGeometryCursor * | FindNonOrientedGeometryCursor (double x[3]) |
Return a geometric cursor pointing to one of the nodes at position x | |
virtual unsigned int | FindDichotomicX (double value, double tol=0.0) const |
virtual unsigned int | FindDichotomicY (double value, double tol=0.0) const |
virtual unsigned int | FindDichotomicZ (double value, double tol=0.0) const |
void | Initialize () override |
Restore data object to initial state. | |
virtual vtkHyperTree * | GetTree (vtkIdType, bool create=false) |
Return tree located at given index of hyper tree grid NB: This will construct a new HyperTree if grid slot is empty. | |
void | SetTree (vtkIdType, vtkHyperTree *) |
Assign given tree to given index of hyper tree grid NB: This will create a new slot in the grid if needed. | |
size_t | RemoveTree (vtkIdType index) |
Remove the tree at the given index. | |
void | ShallowCopy (vtkDataObject *) override |
Create shallow copy of hyper tree grid. | |
void | DeepCopy (vtkDataObject *) override |
Create deep copy of hyper tree grid. | |
int | GetExtentType () override |
Structured extent. | |
virtual unsigned long | GetActualMemorySizeBytes () |
Return the actual size of the data in bytes. | |
unsigned long | GetActualMemorySize () override |
Return the actual size of the data in kibibytes (1024 bytes). | |
bool | SupportsGhostArray (int type) override |
Returns true if type is CELL, false otherwise. | |
vtkBitArray * | GetPureMask () |
Get or create pure material mask. | |
unsigned int | GetChildMask (unsigned int) |
Return hard-coded bitcode correspondng to child mask Dimension 1: Factor 2: 0: 100, 1: 001 Factor 3: 0: 100, 1: 010, 2: 001 Dimension 2: Factor 2: 0: 1101 0000 0, 1: 0110 0100 0 2: 0001 0011 0, 3: 0000 0101 1 Factor 3: 0: 1101 0000 0, 1: 0100 0000 0, 2: 0110 0100 0 3: 0001 0000 0, 4: 0000 1000 0, 5: 0000 0100 0 6: 0001 0011 0, 7: 0000 0001 0, 8: 0000 0101 1 Dimension 3: Factor 2: 0: 1101 1000 0110 1000 0000 0000 000, 1: 0110 1100 0011 0010 0000 0000 000 2: 0001 1011 0000 1001 1000 0000 000, 3: 0000 1101 1000 0010 1100 0000 000 4: 0000 0000 0110 1000 0011 0110 000, 5: 0000 0000 0011 0010 0001 1011 000 6: 0000 0000 0000 1001 1000 0110 110, 7: 0000 0000 0000 0010 1100 0011 011 Factor 3: 0: 1101 1000 0110 1000 0000 0000 000 1: 0100 1000 0010 0000 0000 0000 000 2: 0110 1100 0011 0010 0000 0000 000 3: 0001 1000 0000 1000 0000 0000 000 4: 0000 1000 0000 0000 0000 0000 000 5: 0000 1100 0000 0010 0000 0000 000 6: 0001 1011 0000 1001 1000 0000 000 7: 0000 1001 0000 0000 1000 0000 000 8: 0000 1101 1000 0010 1100 0000 000 9: 0000 0000 0110 1000 0000 0000 000 10: 0000 0000 0010 0000 0000 0000 000 11: 0000 0000 0011 0010 0000 0000 000 12: 0000 0000 0000 1000 0000 0000 000 13: 0000 0000 0000 0100 0000 0000 000 14: 0000 0000 0000 0010 0000 0000 000 15: 0000 0000 0000 1001 1000 0000 000 16: 0000 0000 0000 0000 1000 0000 000 17: 0000 0000 0000 0010 1100 0000 000 18: 0000 0000 0110 1000 0011 0110 000 19: 0000 0000 0010 0000 0001 0010 000 20: 0000 0000 0011 0010 0001 1011 000 21: 0000 0000 0000 1000 0000 0110 000 22: 0000 0000 0000 0000 0000 0010 000 23: 0000 0000 0000 0010 0000 0011 000 24: 0000 0000 0000 1001 1000 0110 110 25: 0000 0000 0000 0000 1000 0010 010 26: 0000 0000 0000 0010 1100 0011 011. | |
void | GetIndexFromLevelZeroCoordinates (vtkIdType &, unsigned int, unsigned int, unsigned int) const |
Convert the Cartesian coordinates of a root in the grid to its global index. | |
vtkIdType | GetShiftedLevelZeroIndex (vtkIdType, int, int, int) const |
Return the root index of a root cell with given index displaced. | |
void | GetLevelZeroCoordinatesFromIndex (vtkIdType, unsigned int &, unsigned int &, unsigned int &) const |
Convert the global index of a root to its Cartesian coordinates in the grid. | |
virtual void | GetLevelZeroOriginAndSizeFromIndex (vtkIdType, double *, double *) |
Convert the global index of a root to its Spatial coordinates origin and size. | |
virtual void | GetLevelZeroOriginFromIndex (vtkIdType, double *) |
Convert the global index of a root to its Spatial coordinates origin and size. | |
vtkIdType | GetGlobalNodeIndexMax () |
Return the maximum global index value. | |
void | InitializeLocalIndexNode () |
Initialize local indexes for every individual Hyper Tree after they have been refined. | |
bool | HasAnyGhostCells () const |
Returns true if a ghost cell array is defined. | |
vtkUnsignedCharArray * | GetGhostCells () |
Gets the array that defines the ghost type of each cell. | |
vtkUnsignedCharArray * | GetTreeGhostArray () |
Gets the array that defines the ghost type of each cell. | |
vtkUnsignedCharArray * | AllocateTreeGhostArray () |
Allocate ghost array for points. | |
void | InitializeTreeIterator (vtkHyperTreeGridIterator &) |
Initialize an iterator to browse level 0 trees. | |
virtual void | ComputeBounds () |
Compute the hyper tree grid bounding box ignoring masked cells. | |
virtual void | GetGridBounds (double bounds[6]) |
Return a pointer to the grid bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). | |
double * | GetCenter () |
Get the center of the bounding box. | |
void | GetCenter (double center[3]) |
Get the center of the bounding box. | |
vtkCellData * | GetCellData () |
Return a pointer to this dataset's hypertree node data. | |
vtkFieldData * | GetAttributesAsFieldData (int type) override |
Returns the hypertree node field data stored as cell data. | |
vtkIdType | GetNumberOfElements (int type) override |
Returns the number of nodes. | |
vtkIdType | GetNumberOfCells () |
Return the number of cells. | |
void | SetDimensions (const unsigned int dims[3]) |
Set/Get sizes of this rectilinear grid dataset. | |
void | SetDimensions (const int dims[3]) |
Set/Get sizes of this rectilinear grid dataset. | |
void | SetDimensions (unsigned int i, unsigned int j, unsigned int k) |
Set/Get sizes of this rectilinear grid dataset. | |
void | SetDimensions (int i, int j, int k) |
Set/Get sizes of this rectilinear grid dataset. | |
const unsigned int * | GetDimensions () const |
Get dimensions of this rectilinear grid dataset. | |
void | GetDimensions (int dim[3]) const |
Get dimensions of this rectilinear grid dataset. | |
void | GetDimensions (unsigned int dim[3]) const |
Get dimensions of this rectilinear grid dataset. | |
void | SetExtent (const int extent[6]) |
Different ways to set the extent of the data array. | |
void | SetExtent (int x1, int x2, int y1, int y2, int z1, int z2) |
Different ways to set the extent of the data array. | |
virtual int * | GetExtent () |
Different ways to set the extent of the data array. | |
virtual void | GetExtent (int &, int &, int &, int &, int &, int &) |
Different ways to set the extent of the data array. | |
virtual void | GetExtent (int[6]) |
Different ways to set the extent of the data array. | |
const unsigned int * | GetCellDims () const |
Get grid sizes of this structured cells dataset. | |
void | GetCellDims (int cellDims[3]) const |
Get grid sizes of this structured cells dataset. | |
void | GetCellDims (unsigned int cellDims[3]) const |
Get grid sizes of this structured cells dataset. | |
unsigned int | GetDimension () const |
Get the dimensionality of the grid deduite a partir de Dimensions/Extent. | |
void | Get1DAxis (unsigned int &axis) const |
Retourne l'indice de la dimension valide. | |
void | Get2DAxes (unsigned int &axis1, unsigned int &axis2) const |
Retourne l'indice des deux dimensions valides. | |
const unsigned int * | GetAxes () const |
Get the axis information (used for CopyStructure) | |
unsigned int | GetNumberOfChildren () const |
The number of children each node can have. | |
virtual void | SetTransposedRootIndexing (bool) |
Specify whether indexing mode of grid root cells must be transposed to x-axis first, z-axis last, instead of the default z-axis first, k-axis last. | |
virtual bool | GetTransposedRootIndexing () |
Specify whether indexing mode of grid root cells must be transposed to x-axis first, z-axis last, instead of the default z-axis first, k-axis last. | |
void | SetIndexingModeToKJI () |
Specify whether indexing mode of grid root cells must be transposed to x-axis first, z-axis last, instead of the default z-axis first, k-axis last. | |
void | SetIndexingModeToIJK () |
Specify whether indexing mode of grid root cells must be transposed to x-axis first, z-axis last, instead of the default z-axis first, k-axis last. | |
unsigned int | GetOrientation () const |
Get the orientation of 1D or 2D grids: | |
virtual bool | GetFreezeState () |
Get the state of frozen. | |
void | SetBranchFactor (unsigned int) |
Set/Get the subdivision factor in the grid refinement scheme. | |
unsigned int | GetBranchFactor () const |
Set/Get the subdivision factor in the grid refinement scheme. | |
virtual void | SetXCoordinates (vtkDataArray *) |
Set/Get the grid coordinates in the x-direction. | |
virtual vtkDataArray * | GetXCoordinates () |
Set/Get the grid coordinates in the x-direction. | |
virtual void | SetYCoordinates (vtkDataArray *) |
Set/Get the grid coordinates in the y-direction. | |
virtual vtkDataArray * | GetYCoordinates () |
Set/Get the grid coordinates in the y-direction. | |
virtual void | SetZCoordinates (vtkDataArray *) |
Set/Get the grid coordinates in the z-direction. | |
virtual vtkDataArray * | GetZCoordinates () |
Set/Get the grid coordinates in the z-direction. | |
virtual void | CopyCoordinates (const vtkHyperTreeGrid *output) |
Augented services on Coordinates. | |
virtual void | SetFixedCoordinates (unsigned int axis, double value) |
Augented services on Coordinates. | |
void | SetMask (vtkBitArray *) |
Set/Get the blanking mask of primal leaf cells. | |
virtual vtkBitArray * | GetMask () |
Set/Get the blanking mask of primal leaf cells. | |
virtual void | SetHasInterface (bool) |
Set/Get presence or absence of interface. | |
virtual bool | GetHasInterface () |
Set/Get presence or absence of interface. | |
virtual void | HasInterfaceOn () |
Set/Get presence or absence of interface. | |
virtual void | HasInterfaceOff () |
Set/Get presence or absence of interface. | |
virtual void | SetInterfaceNormalsName (const char *) |
Set/Get names of interface normal vectors arrays. | |
virtual char * | GetInterfaceNormalsName () |
Set/Get names of interface normal vectors arrays. | |
virtual void | SetInterfaceInterceptsName (const char *) |
Set/Get names of interface intercepts arrays. | |
virtual char * | GetInterfaceInterceptsName () |
Set/Get names of interface intercepts arrays. | |
virtual void | SetDepthLimiter (unsigned int) |
Set/Get depth limiter value. | |
virtual unsigned int | GetDepthLimiter () |
Set/Get depth limiter value. | |
void | InitializeOrientedCursor (vtkHyperTreeGridOrientedCursor *cursor, vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
vtkHyperTreeGridOrientedCursor * | NewOrientedCursor (vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
void | InitializeOrientedGeometryCursor (vtkHyperTreeGridOrientedGeometryCursor *cursor, vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
vtkHyperTreeGridOrientedGeometryCursor * | NewOrientedGeometryCursor (vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
void | InitializeNonOrientedCursor (vtkHyperTreeGridNonOrientedCursor *cursor, vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
vtkHyperTreeGridNonOrientedCursor * | NewNonOrientedCursor (vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
void | InitializeNonOrientedGeometryCursor (vtkHyperTreeGridNonOrientedGeometryCursor *cursor, vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
vtkHyperTreeGridNonOrientedGeometryCursor * | NewNonOrientedGeometryCursor (vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
void | InitializeNonOrientedUnlimitedGeometryCursor (vtkHyperTreeGridNonOrientedUnlimitedGeometryCursor *cursor, vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
vtkHyperTreeGridNonOrientedUnlimitedGeometryCursor * | NewNonOrientedUnlimitedGeometryCursor (vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
void | InitializeNonOrientedVonNeumannSuperCursor (vtkHyperTreeGridNonOrientedVonNeumannSuperCursor *cursor, vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
vtkHyperTreeGridNonOrientedVonNeumannSuperCursor * | NewNonOrientedVonNeumannSuperCursor (vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
void | InitializeNonOrientedVonNeumannSuperCursorLight (vtkHyperTreeGridNonOrientedVonNeumannSuperCursorLight *cursor, vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
vtkHyperTreeGridNonOrientedVonNeumannSuperCursorLight * | NewNonOrientedVonNeumannSuperCursorLight (vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
void | InitializeNonOrientedMooreSuperCursor (vtkHyperTreeGridNonOrientedMooreSuperCursor *cursor, vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
vtkHyperTreeGridNonOrientedMooreSuperCursor * | NewNonOrientedMooreSuperCursor (vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
void | InitializeNonOrientedMooreSuperCursorLight (vtkHyperTreeGridNonOrientedMooreSuperCursorLight *cursor, vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
vtkHyperTreeGridNonOrientedMooreSuperCursorLight * | NewNonOrientedMooreSuperCursorLight (vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
void | InitializeNonOrientedUnlimitedMooreSuperCursor (vtkHyperTreeGridNonOrientedUnlimitedMooreSuperCursor *cursor, vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
vtkHyperTreeGridNonOrientedUnlimitedMooreSuperCursor * | NewNonOrientedUnlimitedMooreSuperCursor (vtkIdType index, bool create=false) |
Used to initialize a cursor of the given type. | |
virtual double * | GetBounds () |
Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). | |
void | GetBounds (double bounds[6]) |
Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). | |
Public Member Functions inherited from vtkDataObject | |
virtual vtkTypeBool | IsA (const char *type) |
Return 1 if this class is the same type of (or a subclass of) the named class. | |
vtkDataObject * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. | |
vtkMTimeType | GetMTime () override |
Data objects are composite objects and need to check each part for MTime. | |
virtual void | Initialize () |
Restore data object to initial state,. | |
void | ReleaseData () |
Release data back to system to conserve memory resource. | |
virtual int | GetDataObjectType () |
Return class name of data type. | |
vtkMTimeType | GetUpdateTime () |
Used by Threaded ports to determine if they should initiate an asynchronous update (still in development). | |
virtual unsigned long | GetActualMemorySize () |
Return the actual size of the data in kibibytes (1024 bytes). | |
virtual void | CopyInformationFromPipeline (vtkInformation *vtkNotUsed(info)) |
Copy from the pipeline information to the data object's own information. | |
virtual void | CopyInformationToPipeline (vtkInformation *vtkNotUsed(info)) |
Copy information from this data object to the pipeline information. | |
void | DataHasBeenGenerated () |
This method is called by the source when it executes to generate data. | |
virtual void | PrepareForNewData () |
make the output data ready for new data to be inserted. | |
virtual void | ShallowCopy (vtkDataObject *src) |
The goal of the method is to copy the data up to the array pointers only. | |
virtual void | DeepCopy (vtkDataObject *src) |
The goal of the method is to copy the complete data from src into this object. | |
virtual int | GetExtentType () |
The ExtentType will be left as VTK_PIECES_EXTENT for data objects such as vtkPolyData and vtkUnstructuredGrid. | |
virtual void | Crop (const int *updateExtent) |
This method crops the data object (if necessary) so that the extent matches the update extent. | |
virtual vtkDataSetAttributes * | GetAttributes (int type) |
Returns the attributes of the data object of the specified attribute type. | |
virtual vtkUnsignedCharArray * | GetGhostArray (int type) |
Returns the ghost arrays of the data object of the specified attribute type. | |
virtual bool | SupportsGhostArray (int type) |
Returns if this type of data object support ghost array for specified type. | |
virtual vtkFieldData * | GetAttributesAsFieldData (int type) |
Returns the attributes of the data object as a vtkFieldData. | |
virtual int | GetAttributeTypeForArray (vtkAbstractArray *arr) |
Retrieves the attribute type that an array came from. | |
virtual vtkIdType | GetNumberOfElements (int type) |
Get the number of elements for a specific attribute type (POINT, CELL, etc.). | |
virtual vtkInformation * | GetInformation () |
Set/Get the information object associated with this data object. | |
virtual void | SetInformation (vtkInformation *) |
Set/Get the information object associated with this data object. | |
virtual vtkTypeBool | GetDataReleased () |
Get the flag indicating the data has been released. | |
virtual void | SetFieldData (vtkFieldData *) |
Assign or retrieve a general field data to this data object. | |
virtual vtkFieldData * | GetFieldData () |
Assign or retrieve a general field data to this data object. | |
void | GlobalReleaseDataFlagOn () |
Turn on/off flag to control whether every object releases its data after being used by a filter. | |
void | GlobalReleaseDataFlagOff () |
Turn on/off flag to control whether every object releases its data after being used by a filter. | |
Public Member Functions inherited from vtkObject | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
Turn debugging output on. | |
virtual void | DebugOff () |
Turn debugging output off. | |
bool | GetDebug () |
Get the value of the debug flag. | |
void | SetDebug (bool debugFlag) |
Set the value of the debug flag. | |
virtual void | Modified () |
Update the modification time for this object. | |
virtual vtkMTimeType | GetMTime () |
Return this object's modified time. | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. | |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
vtkTypeBool | HasObserver (unsigned long event) |
vtkTypeBool | HasObserver (const char *event) |
vtkTypeBool | InvokeEvent (unsigned long event) |
vtkTypeBool | InvokeEvent (const char *event) |
std::string | GetObjectDescription () const override |
The object description printed in messages and PrintSelf output. | |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
vtkCommand * | GetCommand (unsigned long tag) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
void | RemoveObserver (vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
void | RemoveObservers (unsigned long event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
void | RemoveObservers (const char *event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
Overloads to AddObserver that allow developers to add class member functions as callbacks for events. | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
Overloads to AddObserver that allow developers to add class member functions as callbacks for events. | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
Allow user to set the AbortFlagOn() with the return value of the callback method. | |
vtkTypeBool | InvokeEvent (unsigned long event, void *callData) |
This method invokes an event and return whether the event was aborted or not. | |
vtkTypeBool | InvokeEvent (const char *event, void *callData) |
This method invokes an event and return whether the event was aborted or not. | |
virtual void | SetObjectName (const std::string &objectName) |
Set/get the name of this object for reporting purposes. | |
virtual std::string | GetObjectName () const |
Set/get the name of this object for reporting purposes. | |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
Return the class name as a string. | |
virtual std::string | GetObjectDescription () const |
The object description printed in messages and PrintSelf output. | |
virtual vtkTypeBool | IsA (const char *name) |
Return 1 if this class is the same type of (or a subclass of) the named class. | |
virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). | |
virtual void | Delete () |
Delete a VTK object. | |
virtual void | FastDelete () |
Delete a reference to this object. | |
void | InitializeObjectBase () |
void | Print (ostream &os) |
Print an object to an ostream. | |
void | Register (vtkObjectBase *o) |
Increase the reference count (mark as used by another object). | |
virtual void | UnRegister (vtkObjectBase *o) |
Decrease the reference count (release by another object). | |
int | GetReferenceCount () |
Return the current reference count of this object. | |
void | SetReferenceCount (int) |
Sets the reference count. | |
bool | GetIsInMemkind () const |
A local state flag that remembers whether this object lives in the normal or extended memory space. | |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
Methods invoked by print to print information about the object including superclasses. | |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
Methods invoked by print to print information about the object including superclasses. | |
virtual bool | UsesGarbageCollector () const |
Indicate whether the class uses vtkGarbageCollector or not. | |
Static Public Member Functions | |
static vtkInformationIntegerKey * | LEVELS () |
static vtkInformationIntegerKey * | DIMENSION () |
static vtkInformationIntegerKey * | ORIENTATION () |
static vtkInformationDoubleVectorKey * | SIZES () |
static vtkHyperTreeGrid * | New () |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtkHyperTreeGrid * | SafeDownCast (vtkObjectBase *o) |
static vtkHyperTreeGrid * | GetData (vtkInformation *info) |
Retrieve an instance of this class from an information object. | |
static vtkHyperTreeGrid * | GetData (vtkInformationVector *v, int i=0) |
Retrieve an instance of this class from an information object. | |
Static Public Member Functions inherited from vtkDataObject | |
static vtkDataObject * | New () |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtkDataObject * | SafeDownCast (vtkObjectBase *o) |
static vtkInformation * | GetActiveFieldInformation (vtkInformation *info, int fieldAssociation, int attributeType) |
Return the information object within the input information object's field data corresponding to the specified association (FIELD_ASSOCIATION_POINTS or FIELD_ASSOCIATION_CELLS) and attribute (SCALARS, VECTORS, NORMALS, TCOORDS, or TENSORS) | |
static vtkInformation * | GetNamedFieldInformation (vtkInformation *info, int fieldAssociation, const char *name) |
Return the information object within the input information object's field data corresponding to the specified association (FIELD_ASSOCIATION_POINTS or FIELD_ASSOCIATION_CELLS) and name. | |
static void | RemoveNamedFieldInformation (vtkInformation *info, int fieldAssociation, const char *name) |
Remove the info associated with an array. | |
static vtkInformation * | SetActiveAttribute (vtkInformation *info, int fieldAssociation, const char *attributeName, int attributeType) |
Set the named array to be the active field for the specified type (SCALARS, VECTORS, NORMALS, TCOORDS, or TENSORS) and association (FIELD_ASSOCIATION_POINTS or FIELD_ASSOCIATION_CELLS). | |
static void | SetActiveAttributeInfo (vtkInformation *info, int fieldAssociation, int attributeType, const char *name, int arrayType, int numComponents, int numTuples) |
Set the name, array type, number of components, and number of tuples within the passed information object for the active attribute of type attributeType (in specified association, FIELD_ASSOCIATION_POINTS or FIELD_ASSOCIATION_CELLS). | |
static void | SetPointDataActiveScalarInfo (vtkInformation *info, int arrayType, int numComponents) |
Convenience version of previous method for use (primarily) by the Imaging filters. | |
static const char * | GetAssociationTypeAsString (int associationType) |
Given an integer association type, this static method returns a string type for the attribute (i.e. | |
static int | GetAssociationTypeFromString (const char *associationName) |
Given a string association name, this static method returns an integer association type for the attribute (i.e. | |
static vtkInformationStringKey * | DATA_TYPE_NAME () |
static vtkInformationDataObjectKey * | DATA_OBJECT () |
static vtkInformationIntegerKey * | DATA_EXTENT_TYPE () |
static vtkInformationIntegerPointerKey * | DATA_EXTENT () |
static vtkInformationIntegerVectorKey * | ALL_PIECES_EXTENT () |
static vtkInformationIntegerKey * | DATA_PIECE_NUMBER () |
static vtkInformationIntegerKey * | DATA_NUMBER_OF_PIECES () |
static vtkInformationIntegerKey * | DATA_NUMBER_OF_GHOST_LEVELS () |
static vtkInformationDoubleKey * | DATA_TIME_STEP () |
static vtkInformationInformationVectorKey * | POINT_DATA_VECTOR () |
static vtkInformationInformationVectorKey * | CELL_DATA_VECTOR () |
static vtkInformationInformationVectorKey * | VERTEX_DATA_VECTOR () |
static vtkInformationInformationVectorKey * | EDGE_DATA_VECTOR () |
static vtkInformationIntegerKey * | FIELD_ARRAY_TYPE () |
static vtkInformationIntegerKey * | FIELD_ASSOCIATION () |
static vtkInformationIntegerKey * | FIELD_ATTRIBUTE_TYPE () |
static vtkInformationIntegerKey * | FIELD_ACTIVE_ATTRIBUTE () |
static vtkInformationIntegerKey * | FIELD_NUMBER_OF_COMPONENTS () |
static vtkInformationIntegerKey * | FIELD_NUMBER_OF_TUPLES () |
static vtkInformationIntegerKey * | FIELD_OPERATION () |
static vtkInformationDoubleVectorKey * | FIELD_RANGE () |
static vtkInformationIntegerVectorKey * | PIECE_EXTENT () |
static vtkInformationStringKey * | FIELD_NAME () |
static vtkInformationDoubleVectorKey * | ORIGIN () |
static vtkInformationDoubleVectorKey * | SPACING () |
static vtkInformationDoubleVectorKey * | DIRECTION () |
static vtkInformationDoubleVectorKey * | BOUNDING_BOX () |
static vtkInformationDataObjectKey * | SIL () |
static vtkDataObject * | GetData (vtkInformation *info) |
Retrieve an instance of this class from an information object. | |
static vtkDataObject * | GetData (vtkInformationVector *v, int i=0) |
Retrieve an instance of this class from an information object. | |
static void | SetGlobalReleaseDataFlag (vtkTypeBool val) |
Turn on/off flag to control whether every object releases its data after being used by a filter. | |
static vtkTypeBool | GetGlobalReleaseDataFlag () |
Turn on/off flag to control whether every object releases its data after being used by a filter. | |
Static Public Member Functions inherited from vtkObject | |
static vtkObject * | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. | |
static void | BreakOnError () |
This method is called when vtkErrorMacro executes. | |
static void | SetGlobalWarningDisplay (vtkTypeBool val) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | GlobalWarningDisplayOn () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | GlobalWarningDisplayOff () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static vtkTypeBool | GetGlobalWarningDisplay () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
Static Public Member Functions inherited from vtkObjectBase | |
static vtkTypeBool | IsTypeOf (const char *name) |
Return 1 if this class type is the same type of (or a subclass of) the named class. | |
static vtkIdType | GetNumberOfGenerationsFromBaseType (const char *name) |
Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). | |
static vtkObjectBase * | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. | |
static void | SetMemkindDirectory (const char *directoryname) |
The name of a directory, ideally mounted -o dax, to memory map an extended memory space within. | |
static bool | GetUsingMemkind () |
A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space. | |
Static Public Attributes | |
static constexpr vtkIdType | InvalidIndex = ~0 |
Invalid index that is returned for undefined nodes, for example for nodes that are out of bounds (they can exist with the super cursors). | |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkHyperTreeGrid () | |
Constructor with default bounds (0,1, 0,1, 0,1). | |
~vtkHyperTreeGrid () override | |
Destructor. | |
Protected Member Functions inherited from vtkDataObject | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkDataObject () | |
~vtkDataObject () override | |
Protected Member Functions inherited from vtkObject | |
vtkObject () | |
~vtkObject () override | |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr) |
These methods allow a command to exclusively grab all events. | |
void | InternalReleaseFocus () |
These methods allow a command to exclusively grab all events. | |
Protected Member Functions inherited from vtkObjectBase | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) |
virtual void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) |
virtual void | ReportReferences (vtkGarbageCollector *) |
virtual void | ObjectFinalize () |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
char * | ModeSqueeze |
ModeSqueeze. | |
double | Bounds [6] |
double | Center [3] |
bool | FreezeState |
unsigned int | BranchFactor |
unsigned int | Dimension |
unsigned int | NumberOfChildren |
bool | TransposedRootIndexing |
int | DataDescription |
int | Extent [6] |
bool | WithCoordinates |
vtkDataArray * | XCoordinates |
vtkDataArray * | YCoordinates |
vtkDataArray * | ZCoordinates |
vtkBitArray * | Mask |
vtkBitArray * | PureMask |
bool | HasInterface |
char * | InterfaceNormalsName |
char * | InterfaceInterceptsName |
std::map< vtkIdType, vtkSmartPointer< vtkHyperTree > > | HyperTrees |
vtkNew< vtkCellData > | CellData |
unsigned int | DepthLimiter |
vtkUnsignedCharArray * | TreeGhostArray |
These arrays pointers are caches used to avoid a string comparison (when getting ghost arrays using GetArray(name)) | |
bool | TreeGhostArrayCached |
These arrays pointers are caches used to avoid a string comparison (when getting ghost arrays using GetArray(name)) | |
Protected Attributes inherited from vtkDataObject | |
vtkFieldData * | FieldData |
vtkTypeBool | DataReleased |
vtkTimeStamp | UpdateTime |
vtkInformation * | Information |
Protected Attributes inherited from vtkObject | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
std::string | ObjectName |
Protected Attributes inherited from vtkObjectBase | |
std::atomic< int32_t > | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Additional Inherited Members | |
Static Protected Member Functions inherited from vtkObjectBase | |
static vtkMallocingFunction | GetCurrentMallocFunction () |
static vtkReallocingFunction | GetCurrentReallocFunction () |
static vtkFreeingFunction | GetCurrentFreeFunction () |
static vtkFreeingFunction | GetAlternateFreeFunction () |
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
An hypertree grid is a dataset containing a rectilinear grid of root nodes, each of which can be refined as a vtkHyperTree grid. This organization of the root nodes allows for the definition of tree-based AMR grids that do not have uniform geometry. Some filters can be applied on this dataset: contour, outline, geometry.
The order and number of points must match that specified by the dimensions of the grid. The point order increases in i fastest (from 0<=i<dims[0]), then j (0<=j<dims[1]), then k (0<=k<dims[2]) where dims[] are the dimensions of the grid in the i-j-k topological directions. The number of points is dims[0]*dims[1]*dims[2]. The same is true for the cells of the grid. The order and number of cells must match that specified by the dimensions of the grid. The cell order increases in i fastest (from 0<=i<(dims[0]-1)), then j (0<=j<(dims[1]-1)), then k (0<=k<(dims[2]-1)) The number of cells is (dims[0]-1)*(dims[1]-1)*(dims[2]-1).
Dimensions : number of points by direction of rectilinear grid CellDims : number of cells by directions of rectilinear grid (1 for each dimensions 1)
Definition at line 88 of file vtkHyperTreeGrid.h.
Definition at line 97 of file vtkHyperTreeGrid.h.
|
protected |
Constructor with default bounds (0,1, 0,1, 0,1).
|
overrideprotected |
Destructor.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class.
Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDataObject.
Reimplemented in vtkUniformHyperTreeGrid.
|
static |
|
protectedvirtual |
Reimplemented from vtkDataObject.
Reimplemented in vtkUniformHyperTreeGrid.
vtkHyperTreeGrid * vtkHyperTreeGrid::NewInstance | ( | ) | const |
|
overridevirtual |
Methods invoked by print to print information about the object including superclasses.
Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkDataObject.
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Set/Get mode squeeze.
|
virtual |
|
virtual |
Squeeze this representation.
|
inlineoverridevirtual |
Return what type of dataset this is.
Reimplemented from vtkDataObject.
Reimplemented in vtkUniformHyperTreeGrid.
Definition at line 120 of file vtkHyperTreeGrid.h.
|
virtual |
Copy the internal geometric and topological structure of a vtkHyperTreeGrid object.
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Copy the internal structure with no data associated.
void vtkHyperTreeGrid::SetDimensions | ( | const unsigned int | dims[3] | ) |
Set/Get sizes of this rectilinear grid dataset.
void vtkHyperTreeGrid::SetDimensions | ( | const int | dims[3] | ) |
Set/Get sizes of this rectilinear grid dataset.
void vtkHyperTreeGrid::SetDimensions | ( | unsigned int | i, |
unsigned int | j, | ||
unsigned int | k | ||
) |
Set/Get sizes of this rectilinear grid dataset.
void vtkHyperTreeGrid::SetDimensions | ( | int | i, |
int | j, | ||
int | k | ||
) |
Set/Get sizes of this rectilinear grid dataset.
const unsigned int * vtkHyperTreeGrid::GetDimensions | ( | ) | const |
Get dimensions of this rectilinear grid dataset.
The dimensions correspond to the number of points
void vtkHyperTreeGrid::GetDimensions | ( | int | dim[3] | ) | const |
Get dimensions of this rectilinear grid dataset.
The dimensions correspond to the number of points
void vtkHyperTreeGrid::GetDimensions | ( | unsigned int | dim[3] | ) | const |
Get dimensions of this rectilinear grid dataset.
The dimensions correspond to the number of points
void vtkHyperTreeGrid::SetExtent | ( | const int | extent[6] | ) |
Different ways to set the extent of the data array.
The extent should be set before the "Scalars" are set or allocated. The Extent is stored in the order (X, Y, Z). Set/Get extent of this rectilinear grid dataset.
void vtkHyperTreeGrid::SetExtent | ( | int | x1, |
int | x2, | ||
int | y1, | ||
int | y2, | ||
int | z1, | ||
int | z2 | ||
) |
Different ways to set the extent of the data array.
The extent should be set before the "Scalars" are set or allocated. The Extent is stored in the order (X, Y, Z). Set/Get extent of this rectilinear grid dataset.
|
virtual |
Different ways to set the extent of the data array.
The extent should be set before the "Scalars" are set or allocated. The Extent is stored in the order (X, Y, Z). Set/Get extent of this rectilinear grid dataset.
|
virtual |
Different ways to set the extent of the data array.
The extent should be set before the "Scalars" are set or allocated. The Extent is stored in the order (X, Y, Z). Set/Get extent of this rectilinear grid dataset.
|
virtual |
Different ways to set the extent of the data array.
The extent should be set before the "Scalars" are set or allocated. The Extent is stored in the order (X, Y, Z). Set/Get extent of this rectilinear grid dataset.
const unsigned int * vtkHyperTreeGrid::GetCellDims | ( | ) | const |
Get grid sizes of this structured cells dataset.
Valeurs deduites a partir de Dimensions/Extent Les dimensions non exprimees auront pour valeur 1.
void vtkHyperTreeGrid::GetCellDims | ( | int | cellDims[3] | ) | const |
Get grid sizes of this structured cells dataset.
Valeurs deduites a partir de Dimensions/Extent Les dimensions non exprimees auront pour valeur 1.
void vtkHyperTreeGrid::GetCellDims | ( | unsigned int | cellDims[3] | ) | const |
Get grid sizes of this structured cells dataset.
Valeurs deduites a partir de Dimensions/Extent Les dimensions non exprimees auront pour valeur 1.
|
inline |
Get the dimensionality of the grid deduite a partir de Dimensions/Extent.
Definition at line 187 of file vtkHyperTreeGrid.h.
|
inline |
Retourne l'indice de la dimension valide.
Definition at line 194 of file vtkHyperTreeGrid.h.
|
inline |
Retourne l'indice des deux dimensions valides.
Definition at line 205 of file vtkHyperTreeGrid.h.
|
inline |
Get the axis information (used for CopyStructure)
Definition at line 217 of file vtkHyperTreeGrid.h.
|
inline |
The number of children each node can have.
Definition at line 225 of file vtkHyperTreeGrid.h.
|
virtual |
Specify whether indexing mode of grid root cells must be transposed to x-axis first, z-axis last, instead of the default z-axis first, k-axis last.
|
virtual |
Specify whether indexing mode of grid root cells must be transposed to x-axis first, z-axis last, instead of the default z-axis first, k-axis last.
|
inline |
Specify whether indexing mode of grid root cells must be transposed to x-axis first, z-axis last, instead of the default z-axis first, k-axis last.
Definition at line 235 of file vtkHyperTreeGrid.h.
|
inline |
Specify whether indexing mode of grid root cells must be transposed to x-axis first, z-axis last, instead of the default z-axis first, k-axis last.
Definition at line 236 of file vtkHyperTreeGrid.h.
|
inline |
Get the orientation of 1D or 2D grids:
Definition at line 246 of file vtkHyperTreeGrid.h.
|
virtual |
Get the state of frozen.
void vtkHyperTreeGrid::SetBranchFactor | ( | unsigned int | ) |
Set/Get the subdivision factor in the grid refinement scheme.
|
inline |
Set/Get the subdivision factor in the grid refinement scheme.
Definition at line 261 of file vtkHyperTreeGrid.h.
vtkIdType vtkHyperTreeGrid::GetMaxNumberOfTrees | ( | ) | const |
Return the maximum number of trees in the level 0 grid.
vtkIdType vtkHyperTreeGrid::GetNumberOfNonEmptyTrees | ( | ) |
Get the number of non empty trees in this grid.
vtkIdType vtkHyperTreeGrid::GetNumberOfLeaves | ( | ) |
Get the number of leaves in the primal tree grid.
unsigned int vtkHyperTreeGrid::GetNumberOfLevels | ( | vtkIdType | ) |
Return the number of levels in an individual (primal) tree.
unsigned int vtkHyperTreeGrid::GetNumberOfLevels | ( | ) |
Return the number of levels in the hyper tree grid.
|
virtual |
Set/Get the grid coordinates in the x-direction.
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Set/Get the grid coordinates in the x-direction.
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Set/Get the grid coordinates in the y-direction.
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Set/Get the grid coordinates in the y-direction.
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Set/Get the grid coordinates in the z-direction.
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Set/Get the grid coordinates in the z-direction.
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Augented services on Coordinates.
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Augented services on Coordinates.
Reimplemented in vtkUniformHyperTreeGrid.
void vtkHyperTreeGrid::SetMask | ( | vtkBitArray * | ) |
Set/Get the blanking mask of primal leaf cells.
|
virtual |
Set/Get the blanking mask of primal leaf cells.
bool vtkHyperTreeGrid::HasMask | ( | ) |
Determine whether blanking mask is empty or not.
|
virtual |
Set/Get presence or absence of interface.
|
virtual |
Set/Get presence or absence of interface.
|
virtual |
Set/Get presence or absence of interface.
|
virtual |
Set/Get presence or absence of interface.
|
virtual |
Set/Get names of interface normal vectors arrays.
|
virtual |
Set/Get names of interface normal vectors arrays.
|
virtual |
Set/Get names of interface intercepts arrays.
|
virtual |
Set/Get names of interface intercepts arrays.
|
virtual |
Set/Get depth limiter value.
|
virtual |
Set/Get depth limiter value.
void vtkHyperTreeGrid::InitializeOrientedCursor | ( | vtkHyperTreeGridOrientedCursor * | cursor, |
vtkIdType | index, | ||
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
vtkHyperTreeGridOrientedCursor * vtkHyperTreeGrid::NewOrientedCursor | ( | vtkIdType | index, |
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
void vtkHyperTreeGrid::InitializeOrientedGeometryCursor | ( | vtkHyperTreeGridOrientedGeometryCursor * | cursor, |
vtkIdType | index, | ||
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
vtkHyperTreeGridOrientedGeometryCursor * vtkHyperTreeGrid::NewOrientedGeometryCursor | ( | vtkIdType | index, |
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
void vtkHyperTreeGrid::InitializeNonOrientedCursor | ( | vtkHyperTreeGridNonOrientedCursor * | cursor, |
vtkIdType | index, | ||
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
vtkHyperTreeGridNonOrientedCursor * vtkHyperTreeGrid::NewNonOrientedCursor | ( | vtkIdType | index, |
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
void vtkHyperTreeGrid::InitializeNonOrientedGeometryCursor | ( | vtkHyperTreeGridNonOrientedGeometryCursor * | cursor, |
vtkIdType | index, | ||
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
vtkHyperTreeGridNonOrientedGeometryCursor * vtkHyperTreeGrid::NewNonOrientedGeometryCursor | ( | vtkIdType | index, |
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
void vtkHyperTreeGrid::InitializeNonOrientedUnlimitedGeometryCursor | ( | vtkHyperTreeGridNonOrientedUnlimitedGeometryCursor * | cursor, |
vtkIdType | index, | ||
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
vtkHyperTreeGridNonOrientedUnlimitedGeometryCursor * vtkHyperTreeGrid::NewNonOrientedUnlimitedGeometryCursor | ( | vtkIdType | index, |
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
vtkHyperTreeGridNonOrientedGeometryCursor * vtkHyperTreeGrid::FindNonOrientedGeometryCursor | ( | double | x[3] | ) |
Return a geometric cursor pointing to one of the nodes at position x
|
virtual |
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Reimplemented in vtkUniformHyperTreeGrid.
void vtkHyperTreeGrid::InitializeNonOrientedVonNeumannSuperCursor | ( | vtkHyperTreeGridNonOrientedVonNeumannSuperCursor * | cursor, |
vtkIdType | index, | ||
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
vtkHyperTreeGridNonOrientedVonNeumannSuperCursor * vtkHyperTreeGrid::NewNonOrientedVonNeumannSuperCursor | ( | vtkIdType | index, |
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
void vtkHyperTreeGrid::InitializeNonOrientedVonNeumannSuperCursorLight | ( | vtkHyperTreeGridNonOrientedVonNeumannSuperCursorLight * | cursor, |
vtkIdType | index, | ||
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
vtkHyperTreeGridNonOrientedVonNeumannSuperCursorLight * vtkHyperTreeGrid::NewNonOrientedVonNeumannSuperCursorLight | ( | vtkIdType | index, |
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
void vtkHyperTreeGrid::InitializeNonOrientedMooreSuperCursor | ( | vtkHyperTreeGridNonOrientedMooreSuperCursor * | cursor, |
vtkIdType | index, | ||
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
vtkHyperTreeGridNonOrientedMooreSuperCursor * vtkHyperTreeGrid::NewNonOrientedMooreSuperCursor | ( | vtkIdType | index, |
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
void vtkHyperTreeGrid::InitializeNonOrientedMooreSuperCursorLight | ( | vtkHyperTreeGridNonOrientedMooreSuperCursorLight * | cursor, |
vtkIdType | index, | ||
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
vtkHyperTreeGridNonOrientedMooreSuperCursorLight * vtkHyperTreeGrid::NewNonOrientedMooreSuperCursorLight | ( | vtkIdType | index, |
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
void vtkHyperTreeGrid::InitializeNonOrientedUnlimitedMooreSuperCursor | ( | vtkHyperTreeGridNonOrientedUnlimitedMooreSuperCursor * | cursor, |
vtkIdType | index, | ||
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
vtkHyperTreeGridNonOrientedUnlimitedMooreSuperCursor * vtkHyperTreeGrid::NewNonOrientedUnlimitedMooreSuperCursor | ( | vtkIdType | index, |
bool | create = false |
||
) |
Used to initialize a cursor of the given type.
cursor: the cursor to initialize
index: the index of the tree to use in the HTG
create: allow to construct the hyper tree if the slot is empty
|
overridevirtual |
Restore data object to initial state.
Reimplemented from vtkDataObject.
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Return tree located at given index of hyper tree grid NB: This will construct a new HyperTree if grid slot is empty.
Reimplemented in vtkUniformHyperTreeGrid.
void vtkHyperTreeGrid::SetTree | ( | vtkIdType | , |
vtkHyperTree * | |||
) |
Assign given tree to given index of hyper tree grid NB: This will create a new slot in the grid if needed.
size_t vtkHyperTreeGrid::RemoveTree | ( | vtkIdType | index | ) |
Remove the tree at the given index.
Return the number of trees removed (0 or 1).
|
overridevirtual |
Create shallow copy of hyper tree grid.
Reimplemented from vtkDataObject.
Reimplemented in vtkUniformHyperTreeGrid.
|
overridevirtual |
Create deep copy of hyper tree grid.
Reimplemented from vtkDataObject.
Reimplemented in vtkUniformHyperTreeGrid.
|
inlineoverridevirtual |
Structured extent.
The extent type is a 3D extent.
Reimplemented from vtkDataObject.
Definition at line 502 of file vtkHyperTreeGrid.h.
|
virtual |
Return the actual size of the data in bytes.
This number is valid only after the pipeline has updated. The memory size returned is guaranteed to be greater than or equal to the memory required to represent the data (e.g., extra space in arrays, etc. are not included in the return value). THIS METHOD IS THREAD SAFE.
Reimplemented in vtkUniformHyperTreeGrid.
|
overridevirtual |
Return the actual size of the data in kibibytes (1024 bytes).
This number is valid only after the pipeline has updated. The memory size returned is guaranteed to be greater than or equal to the memory required to represent the data (e.g., extra space in arrays, etc. are not included in the return value). THIS METHOD IS THREAD SAFE.
Reimplemented from vtkDataObject.
|
overridevirtual |
Returns true if type is CELL, false otherwise.
Reimplemented from vtkDataObject.
vtkBitArray * vtkHyperTreeGrid::GetPureMask | ( | ) |
Get or create pure material mask.
PureMask is a boolean array size to the number of cells which describes, for each cell, if it is pure material mask (PMM), a mask which is true if the cell is not pure. The PMM of a cell is true:
The PureMask array is deleted during a call to the SetMask method (which itself calls the CleanPureMask method). It will be (re)built during the first call to this GetPureMask method. A second call to this same method will be free because this array is stored permanently in memory, as long as the CleanPureMask method is not called.
unsigned int vtkHyperTreeGrid::GetChildMask | ( | unsigned int | ) |
Return hard-coded bitcode correspondng to child mask Dimension 1: Factor 2: 0: 100, 1: 001 Factor 3: 0: 100, 1: 010, 2: 001 Dimension 2: Factor 2: 0: 1101 0000 0, 1: 0110 0100 0 2: 0001 0011 0, 3: 0000 0101 1 Factor 3: 0: 1101 0000 0, 1: 0100 0000 0, 2: 0110 0100 0 3: 0001 0000 0, 4: 0000 1000 0, 5: 0000 0100 0 6: 0001 0011 0, 7: 0000 0001 0, 8: 0000 0101 1 Dimension 3: Factor 2: 0: 1101 1000 0110 1000 0000 0000 000, 1: 0110 1100 0011 0010 0000 0000 000 2: 0001 1011 0000 1001 1000 0000 000, 3: 0000 1101 1000 0010 1100 0000 000 4: 0000 0000 0110 1000 0011 0110 000, 5: 0000 0000 0011 0010 0001 1011 000 6: 0000 0000 0000 1001 1000 0110 110, 7: 0000 0000 0000 0010 1100 0011 011 Factor 3: 0: 1101 1000 0110 1000 0000 0000 000 1: 0100 1000 0010 0000 0000 0000 000 2: 0110 1100 0011 0010 0000 0000 000 3: 0001 1000 0000 1000 0000 0000 000 4: 0000 1000 0000 0000 0000 0000 000 5: 0000 1100 0000 0010 0000 0000 000 6: 0001 1011 0000 1001 1000 0000 000 7: 0000 1001 0000 0000 1000 0000 000 8: 0000 1101 1000 0010 1100 0000 000 9: 0000 0000 0110 1000 0000 0000 000 10: 0000 0000 0010 0000 0000 0000 000 11: 0000 0000 0011 0010 0000 0000 000 12: 0000 0000 0000 1000 0000 0000 000 13: 0000 0000 0000 0100 0000 0000 000 14: 0000 0000 0000 0010 0000 0000 000 15: 0000 0000 0000 1001 1000 0000 000 16: 0000 0000 0000 0000 1000 0000 000 17: 0000 0000 0000 0010 1100 0000 000 18: 0000 0000 0110 1000 0011 0110 000 19: 0000 0000 0010 0000 0001 0010 000 20: 0000 0000 0011 0010 0001 1011 000 21: 0000 0000 0000 1000 0000 0110 000 22: 0000 0000 0000 0000 0000 0010 000 23: 0000 0000 0000 0010 0000 0011 000 24: 0000 0000 0000 1001 1000 0110 110 25: 0000 0000 0000 0000 1000 0010 010 26: 0000 0000 0000 0010 1100 0011 011.
void vtkHyperTreeGrid::GetIndexFromLevelZeroCoordinates | ( | vtkIdType & | , |
unsigned int | , | ||
unsigned int | , | ||
unsigned int | |||
) | const |
Convert the Cartesian coordinates of a root in the grid to its global index.
Return the root index of a root cell with given index displaced.
by a cartesian vector in the grid (di,dj,dk).
However, in HTG 2D, this method used Orientation information. According to the orientation values (0/1/2), the association of the topological axes changes with the real axes (YZ/XZ/XY).
NB: No boundary checks are performed.
void vtkHyperTreeGrid::GetLevelZeroCoordinatesFromIndex | ( | vtkIdType | , |
unsigned int & | , | ||
unsigned int & | , | ||
unsigned int & | |||
) | const |
Convert the global index of a root to its Cartesian coordinates in the grid.
|
virtual |
Convert the global index of a root to its Spatial coordinates origin and size.
Reimplemented in vtkUniformHyperTreeGrid.
|
virtual |
Convert the global index of a root to its Spatial coordinates origin and size.
Reimplemented in vtkUniformHyperTreeGrid.
vtkIdType vtkHyperTreeGrid::GetGlobalNodeIndexMax | ( | ) |
Return the maximum global index value.
Can be useful to allocate new cell arrays.
void vtkHyperTreeGrid::InitializeLocalIndexNode | ( | ) |
Initialize local indexes for every individual Hyper Tree after they have been refined.
bool vtkHyperTreeGrid::HasAnyGhostCells | ( | ) | const |
Returns true if a ghost cell array is defined.
vtkUnsignedCharArray * vtkHyperTreeGrid::GetGhostCells | ( | ) |
Gets the array that defines the ghost type of each cell.
see also GetTreeGhostArray().
vtkUnsignedCharArray * vtkHyperTreeGrid::GetTreeGhostArray | ( | ) |
Gets the array that defines the ghost type of each cell.
Unlike GetGhostCells(), we cache the pointer to the array to save a lookup involving string comparisons
vtkUnsignedCharArray * vtkHyperTreeGrid::AllocateTreeGhostArray | ( | ) |
Allocate ghost array for points.
void vtkHyperTreeGrid::InitializeTreeIterator | ( | vtkHyperTreeGridIterator & | ) |
Initialize an iterator to browse level 0 trees.
FIXME: this method is completely unnecessary.
|
static |
Retrieve an instance of this class from an information object.
|
static |
Retrieve an instance of this class from an information object.
|
virtual |
Compute the hyper tree grid bounding box ignoring masked cells.
THIS METHOD IS NOT THREAD SAFE.
|
virtual |
Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax).
This method was incorrectly providing grid bounds before vtk 9.4, grid bounds are available in GetGridBounds() if needed. THIS METHOD IS NOT THREAD SAFE.
void vtkHyperTreeGrid::GetBounds | ( | double | bounds[6] | ) |
Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax).
This method was incorrectly providing grid bounds before vtk 9.4, grid bounds are available in GetGridBounds() if needed. THIS METHOD IS NOT THREAD SAFE.
|
virtual |
Return a pointer to the grid bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax).
THIS METHOD IS NOT THREAD SAFE.
Reimplemented in vtkUniformHyperTreeGrid.
double * vtkHyperTreeGrid::GetCenter | ( | ) |
Get the center of the bounding box.
THIS METHOD IS NOT THREAD SAFE.
void vtkHyperTreeGrid::GetCenter | ( | double | center[3] | ) |
Get the center of the bounding box.
THIS METHOD IS NOT THREAD SAFE.
vtkCellData * vtkHyperTreeGrid::GetCellData | ( | ) |
Return a pointer to this dataset's hypertree node data.
THIS METHOD IS THREAD SAFE
|
overridevirtual |
Returns the hypertree node field data stored as cell data.
If type != vtkDataObject::AttributeTypes::CELL, it defers to vtkDataObject;
Reimplemented from vtkDataObject.
|
overridevirtual |
Returns the number of nodes.
Ii type == vtkDataObject::AttributeTypes::CELL, it defers to vtkDataObject.
Reimplemented from vtkDataObject.
vtkIdType vtkHyperTreeGrid::GetNumberOfCells | ( | ) |
Return the number of cells.
It matches the total number of internal nodes and leaves of the underlying hypertrees.
|
staticconstexpr |
Invalid index that is returned for undefined nodes, for example for nodes that are out of bounds (they can exist with the super cursors).
Definition at line 104 of file vtkHyperTreeGrid.h.
|
protected |
ModeSqueeze.
Definition at line 808 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 810 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 811 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 813 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 814 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 815 of file vtkHyperTreeGrid.h.
|
protected |
These arrays pointers are caches used to avoid a string comparison (when getting ghost arrays using GetArray(name))
Definition at line 822 of file vtkHyperTreeGrid.h.
|
protected |
These arrays pointers are caches used to avoid a string comparison (when getting ghost arrays using GetArray(name))
Definition at line 823 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 832 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 833 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 842 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 843 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 845 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 846 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 847 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 848 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 851 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 852 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 854 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 855 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 856 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 858 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 860 of file vtkHyperTreeGrid.h.
|
protected |
Definition at line 862 of file vtkHyperTreeGrid.h.