VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkUniformHyperTreeGrid Class Reference

A specifalized type of vtkHyperTreeGrid for the case when root cells have uniform sizes in each direction. More...

#include <vtkUniformHyperTreeGrid.h>

Inheritance diagram for vtkUniformHyperTreeGrid:
[legend]
Collaboration diagram for vtkUniformHyperTreeGrid:
[legend]

Public Types

typedef vtkHyperTreeGrid Superclass
 
- Public Types inherited from vtkHyperTreeGrid
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. More...
 
vtkUniformHyperTreeGridNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
int GetDataObjectType () override
 Return what type of dataset this is. More...
 
void CopyStructure (vtkDataObject *) override
 Copy the internal geometric and topological structure of a vtkUniformHyperTreeGrid object. More...
 
virtual void Initialize () override
 Restore data object to initial state. More...
 
virtual void SetOrigin (double, double, double)
 Set/Get origin of grid. More...
 
virtual void SetOrigin (double[3])
 
virtual doubleGetOrigin ()
 
virtual void GetOrigin (double &, double &, double &)
 
virtual void GetOrigin (double[3])
 
void SetGridScale (double, double, double)
 Set/Get scale of root cells along each direction. More...
 
void SetGridScale (double *)
 
virtual doubleGetGridScale ()
 
virtual void GetGridScale (double &, double &, double &)
 
virtual void GetGridScale (double[3])
 
void SetGridScale (double)
 Set all scales at once when root cells are d-cubes. More...
 
doubleGetBounds () override
 Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). More...
 
void SetXCoordinates (vtkDataArray *XCoordinates) override
 Set/Get the grid coordinates in the x-direction. More...
 
vtkDataArrayGetXCoordinates () override
 
void SetYCoordinates (vtkDataArray *YCoordinates) override
 Set/Get the grid coordinates in the y-direction. More...
 
vtkDataArrayGetYCoordinates () override
 
void SetZCoordinates (vtkDataArray *ZCoordinates) override
 Set/Get the grid coordinates in the z-direction. More...
 
vtkDataArrayGetZCoordinates () override
 
void CopyCoordinates (const vtkHyperTreeGrid *output) override
 JB Augented services on Coordinates. More...
 
void SetFixedCoordinates (unsigned int axis, double value) override
 
void GetLevelZeroOriginAndSizeFromIndex (vtkIdType, double *, double *) override
 Convert the global index of a root to its Spacial coordinates origin and size. More...
 
void GetLevelZeroOriginFromIndex (vtkIdType, double *) override
 Convert the global index of a root to its Spacial coordinates origin and size. More...
 
void ShallowCopy (vtkDataObject *) override
 Create shallow copy of hyper tree grid. More...
 
void DeepCopy (vtkDataObject *) override
 Create deep copy of hyper tree grid. More...
 
unsigned long GetActualMemorySizeBytes () override
 Return the actual size of the data bytes. More...
 
vtkHyperTreeGetTree (vtkIdType, bool create=false) override
 Return tree located at given index of hyper tree grid NB: This will construct a new HyperTree if grid slot is empty. More...
 
- Public Member Functions inherited from vtkHyperTreeGrid
vtkHyperTreeGridNewInstance () const
 
virtual void SetModeSqueeze (const char *)
 Set/Get mode squeeze. More...
 
virtual char * GetModeSqueeze ()
 
virtual void Squeeze ()
 Squeeze this representation. More...
 
void SetDimensions (const unsigned int dims[3])
 Set/Get sizes of this rectilinear grid dataset. More...
 
void SetDimensions (const int dims[3])
 
void SetDimensions (unsigned int i, unsigned int j, unsigned int k)
 
void SetDimensions (int i, int j, int k)
 
const unsigned intGetDimensions () const
 Get dimensions of this rectilinear grid dataset. More...
 
void GetDimensions (int dim[3]) const
 
void GetDimensions (unsigned int dim[3]) const
 
void SetExtent (const int extent[6])
 Different ways to set the extent of the data array. More...
 
void SetExtent (int x1, int x2, int y1, int y2, int z1, int z2)
 
virtual intGetExtent ()
 
virtual void GetExtent (int &, int &, int &, int &, int &, int &)
 
virtual void GetExtent (int[6])
 
const unsigned intGetCellDims () const
 JB Get grid sizes of this structured cells dataset. More...
 
void GetCellDims (int cellDims[3]) const
 
void GetCellDims (unsigned int cellDims[3]) const
 
unsigned int GetDimension () const
 JB Get the dimensionality of the grid deduite a partir de Dimensions/Extent. More...
 
void Get1DAxis (unsigned int &axis) const
 JB retourne l'indice de la dimension valide. More...
 
void Get2DAxes (unsigned int &axis1, unsigned int &axis2) const
 JB Retourne l'indice des deux dimensions valides. More...
 
const unsigned intGetAxes () const
 JB Get the axis information (used for CopyStructure) More...
 
unsigned int GetNumberOfChildren () const
 The number of children each node can have. More...
 
virtual void SetTransposedRootIndexing (bool)
 Get the number or trees available along the 3 axis. More...
 
virtual bool GetTransposedRootIndexing ()
 
void SetIndexingModeToKJI ()
 
void SetIndexingModeToIJK ()
 
unsigned int GetOrientation () const
 Get the orientation of 1D or 2D grids: More...
 
virtual bool GetFreezeState ()
 Get the state of frozen. More...
 
void SetBranchFactor (unsigned int)
 Set/Get the subdivision factor in the grid refinement scheme. More...
 
unsigned int GetBranchFactor () const
 
vtkIdType GetMaxNumberOfTrees ()
 Return the maximum number of trees in the level 0 grid. More...
 
vtkIdType GetNumberOfVertices ()
 Get the number of vertices in the primal tree grid. More...
 
vtkIdType GetNumberOfLeaves ()
 Get the number of leaves in the primal tree grid. More...
 
unsigned int GetNumberOfLevels (vtkIdType)
 Return the number of levels in an individual (primal) tree. More...
 
unsigned int GetNumberOfLevels ()
 Return the number of levels in the hyper tree grid. More...
 
void SetMask (vtkBitArray *)
 Set/Get the blanking mask of primal leaf cells. More...
 
virtual vtkBitArrayGetMask ()
 
bool HasMask ()
 Determine whether blanking mask is empty or not. More...
 
virtual void SetHasInterface (bool)
 Set/Get presence or absence of interface. More...
 
virtual bool GetHasInterface ()
 
virtual void HasInterfaceOn ()
 
virtual void HasInterfaceOff ()
 
virtual void SetInterfaceNormalsName (const char *)
 Set/Get names of interface normal vectors arrays. More...
 
virtual char * GetInterfaceNormalsName ()
 
virtual void SetInterfaceInterceptsName (const char *)
 Set/Get names of interface intercepts arrays. More...
 
virtual char * GetInterfaceInterceptsName ()
 
virtual void SetDepthLimiter (unsigned int)
 Set/Get depth limiter value. More...
 
virtual unsigned int GetDepthLimiter ()
 
void InitializeOrientedCursor (vtkHyperTreeGridOrientedCursor *cursor, vtkIdType index, bool create=false)
 JB. More...
 
vtkHyperTreeGridOrientedCursorNewOrientedCursor (vtkIdType index, bool create=false)
 
void InitializeOrientedGeometryCursor (vtkHyperTreeGridOrientedGeometryCursor *cursor, vtkIdType index, bool create=false)
 JB. More...
 
vtkHyperTreeGridOrientedGeometryCursorNewOrientedGeometryCursor (vtkIdType index, bool create=false)
 
void InitializeNonOrientedCursor (vtkHyperTreeGridNonOrientedCursor *cursor, vtkIdType index, bool create=false)
 JB. More...
 
vtkHyperTreeGridNonOrientedCursorNewNonOrientedCursor (vtkIdType index, bool create=false)
 
void InitializeNonOrientedGeometryCursor (vtkHyperTreeGridNonOrientedGeometryCursor *cursor, vtkIdType index, bool create=false)
 JB. More...
 
vtkHyperTreeGridNonOrientedGeometryCursorNewNonOrientedGeometryCursor (vtkIdType index, bool create=false)
 
vtkHyperTreeGridNonOrientedGeometryCursorFindNonOrientedGeometryCursor (double x[3])
 JB Retourne un curseur geometrique pointant une des mailles comportant la position spatiale x. More...
 
void InitializeNonOrientedVonNeumannSuperCursor (vtkHyperTreeGridNonOrientedVonNeumannSuperCursor *cursor, vtkIdType index, bool create=false)
 JB. More...
 
vtkHyperTreeGridNonOrientedVonNeumannSuperCursorNewNonOrientedVonNeumannSuperCursor (vtkIdType index, bool create=false)
 
void InitializeNonOrientedVonNeumannSuperCursorLight (vtkHyperTreeGridNonOrientedVonNeumannSuperCursorLight *cursor, vtkIdType index, bool create=false)
 JB. More...
 
vtkHyperTreeGridNonOrientedVonNeumannSuperCursorLightNewNonOrientedVonNeumannSuperCursorLight (vtkIdType index, bool create=false)
 
void InitializeNonOrientedMooreSuperCursor (vtkHyperTreeGridNonOrientedMooreSuperCursor *cursor, vtkIdType index, bool create=false)
 JB. More...
 
vtkHyperTreeGridNonOrientedMooreSuperCursorNewNonOrientedMooreSuperCursor (vtkIdType index, bool create=false)
 
void InitializeNonOrientedMooreSuperCursorLight (vtkHyperTreeGridNonOrientedMooreSuperCursorLight *cursor, vtkIdType index, bool create=false)
 JB. More...
 
vtkHyperTreeGridNonOrientedMooreSuperCursorLightNewNonOrientedMooreSuperCursorLight (vtkIdType index, bool create=false)
 
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. More...
 
int GetExtentType () override
 Structured extent. More...
 
unsigned long GetActualMemorySize () override
 Return the actual size of the data in kibibytes (1024 bytes). More...
 
bool RecursivelyInitializePureMask (vtkHyperTreeGridNonOrientedCursor *cursor, vtkDataArray *normale)
 Recursively initialize pure material mask. More...
 
vtkBitArrayGetPureMask ()
 Get or create pure material mask. More...
 
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. More...
 
void GetIndexFromLevelZeroCoordinates (vtkIdType &, unsigned int, unsigned int, unsigned int) const
 Convert the Cartesian coordinates of a root in the grid to its global index. More...
 
vtkIdType GetShiftedLevelZeroIndex (vtkIdType, unsigned int, unsigned int, unsigned int) const
 Return the root index of a root cell with given index displaced. More...
 
void GetLevelZeroCoordinatesFromIndex (vtkIdType, unsigned int &, unsigned int &, unsigned int &) const
 Convert the global index of a root to its Cartesian coordinates in the grid. More...
 
vtkIdType GetGlobalNodeIndexMax ()
 JB Retourne la valeur maximale du global index. More...
 
void InitializeLocalIndexNode ()
 JB Permet d'initialiser les index locaux de chacun des HT de cet HTG une fois que TOUS les HTs aient ete COMPLETEMENT construits/raffines ! A l'utilisateur ensuite de fournir les grandeurs suivant cet ordre. More...
 
void InitializeTreeIterator (vtkHyperTreeGridIterator &)
 Initialize an iterator to browse level 0 trees. More...
 
void GetBounds (double bounds[6])
 Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). More...
 
doubleGetCenter ()
 Get the center of the bounding box. More...
 
void GetCenter (double center[3])
 Get the center of the bounding box. More...
 
vtkPointDataGetPointData ()
 Return a pointer to this dataset's point data. More...
 
- Public Member Functions inherited from vtkDataObject
vtkDataObjectNewInstance () const
 
virtual vtkInformationGetInformation ()
 Set/Get the information object associated with this data object. More...
 
virtual void SetInformation (vtkInformation *)
 
vtkMTimeType GetMTime () override
 Data objects are composite objects and need to check each part for MTime. More...
 
void ReleaseData ()
 Release data back to system to conserve memory resource. More...
 
virtual int GetDataReleased ()
 Get the flag indicating the data has been released. More...
 
void GlobalReleaseDataFlagOn ()
 
void GlobalReleaseDataFlagOff ()
 
virtual void SetFieldData (vtkFieldData *)
 Assign or retrieve a general field data to this data object. More...
 
virtual vtkFieldDataGetFieldData ()
 
vtkMTimeType GetUpdateTime ()
 Used by Threaded ports to determine if they should initiate an asynchronous update (still in development). More...
 
virtual void CopyInformationFromPipeline (vtkInformation *vtkNotUsed(info))
 Copy from the pipeline information to the data object's own information. More...
 
virtual void CopyInformationToPipeline (vtkInformation *vtkNotUsed(info))
 Copy information from this data object to the pipeline information. More...
 
void DataHasBeenGenerated ()
 This method is called by the source when it executes to generate data. More...
 
virtual void PrepareForNewData ()
 make the output data ready for new data to be inserted. More...
 
virtual void Crop (const int *updateExtent)
 This method crops the data object (if necessary) so that the extent matches the update extent. More...
 
virtual vtkDataSetAttributesGetAttributes (int type)
 Returns the attributes of the data object of the specified attribute type. More...
 
virtual vtkFieldDataGetAttributesAsFieldData (int type)
 Returns the attributes of the data object as a vtkFieldData. More...
 
virtual int GetAttributeTypeForArray (vtkAbstractArray *arr)
 Retrieves the attribute type that an array came from. More...
 
virtual vtkIdType GetNumberOfElements (int type)
 Get the number of elements for a specific attribute type (POINT, CELL, etc.). More...
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
bool GetDebug ()
 Get the value of the debug flag. More...
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag. More...
 
virtual void Modified ()
 Update the modification time for this object. More...
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
vtkTypeBool HasObserver (unsigned long event, vtkCommand *)
 
vtkTypeBool HasObserver (const char *event, vtkCommand *)
 
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)
 
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. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
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. More...
 
int InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string. More...
 
virtual void Delete ()
 Delete a VTK object. More...
 
virtual void FastDelete ()
 Delete a reference to this object. More...
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream. More...
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
virtual void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object). More...
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object). More...
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int)
 Sets the reference count. More...
 
void PrintRevisions (ostream &)
 Legacy. More...
 

Static Public Member Functions

static vtkUniformHyperTreeGridNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkUniformHyperTreeGridSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkHyperTreeGrid
static vtkInformationIntegerKeyLEVELS ()
 
static vtkInformationIntegerKeyDIMENSION ()
 
static vtkInformationIntegerKeyORIENTATION ()
 
static vtkInformationDoubleVectorKeySIZES ()
 
static vtkHyperTreeGridNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkHyperTreeGridSafeDownCast (vtkObjectBase *o)
 
static vtkHyperTreeGridGetData (vtkInformation *info)
 Retrieve an instance of this class from an information object. More...
 
static vtkHyperTreeGridGetData (vtkInformationVector *v, int i=0)
 
- Static Public Member Functions inherited from vtkDataObject
static vtkDataObjectNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkDataObjectSafeDownCast (vtkObjectBase *o)
 
static void SetGlobalReleaseDataFlag (int val)
 Turn on/off flag to control whether every object releases its data after being used by a filter. More...
 
static int GetGlobalReleaseDataFlag ()
 
static vtkInformationGetActiveFieldInformation (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) More...
 
static vtkInformationGetNamedFieldInformation (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. More...
 
static void RemoveNamedFieldInformation (vtkInformation *info, int fieldAssociation, const char *name)
 Remove the info associated with an array. More...
 
static vtkInformationSetActiveAttribute (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). More...
 
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). More...
 
static void SetPointDataActiveScalarInfo (vtkInformation *info, int arrayType, int numComponents)
 Convenience version of previous method for use (primarily) by the Imaging filters. More...
 
static const char * GetAssociationTypeAsString (int associationType)
 Given an integer association type, this static method returns a string type for the attribute (i.e. More...
 
static int GetAssociationTypeFromString (const char *associationType)
 Given an integer association type, this static method returns a string type for the attribute (i.e. More...
 
static vtkInformationStringKeyDATA_TYPE_NAME ()
 
static vtkInformationDataObjectKeyDATA_OBJECT ()
 
static vtkInformationIntegerKeyDATA_EXTENT_TYPE ()
 
static vtkInformationIntegerPointerKeyDATA_EXTENT ()
 
static vtkInformationIntegerVectorKeyALL_PIECES_EXTENT ()
 
static vtkInformationIntegerKeyDATA_PIECE_NUMBER ()
 
static vtkInformationIntegerKeyDATA_NUMBER_OF_PIECES ()
 
static vtkInformationIntegerKeyDATA_NUMBER_OF_GHOST_LEVELS ()
 
static vtkInformationDoubleKeyDATA_TIME_STEP ()
 
static vtkInformationInformationVectorKeyPOINT_DATA_VECTOR ()
 
static vtkInformationInformationVectorKeyCELL_DATA_VECTOR ()
 
static vtkInformationInformationVectorKeyVERTEX_DATA_VECTOR ()
 
static vtkInformationInformationVectorKeyEDGE_DATA_VECTOR ()
 
static vtkInformationIntegerKeyFIELD_ARRAY_TYPE ()
 
static vtkInformationIntegerKeyFIELD_ASSOCIATION ()
 
static vtkInformationIntegerKeyFIELD_ATTRIBUTE_TYPE ()
 
static vtkInformationIntegerKeyFIELD_ACTIVE_ATTRIBUTE ()
 
static vtkInformationIntegerKeyFIELD_NUMBER_OF_COMPONENTS ()
 
static vtkInformationIntegerKeyFIELD_NUMBER_OF_TUPLES ()
 
static vtkInformationIntegerKeyFIELD_OPERATION ()
 
static vtkInformationDoubleVectorKeyFIELD_RANGE ()
 
static vtkInformationIntegerVectorKeyPIECE_EXTENT ()
 
static vtkInformationStringKeyFIELD_NAME ()
 
static vtkInformationDoubleVectorKeyORIGIN ()
 
static vtkInformationDoubleVectorKeySPACING ()
 
static vtkInformationDoubleVectorKeyDIRECTION ()
 
static vtkInformationDoubleVectorKeyBOUNDING_BOX ()
 
static vtkInformationDataObjectKeySIL ()
 
static vtkDataObjectGetData (vtkInformation *info)
 Retrieve an instance of this class from an information object. More...
 
static vtkDataObjectGetData (vtkInformationVector *v, int i=0)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. More...
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- 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. More...
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkUniformHyperTreeGrid ()
 Constructor. More...
 
 ~vtkUniformHyperTreeGrid () override
 Destructor. More...
 
unsigned int FindDichotomicX (double value) const override
 
unsigned int FindDichotomicY (double value) const override
 
unsigned int FindDichotomicZ (double value) const override
 
- Protected Member Functions inherited from vtkHyperTreeGrid
 vtkHyperTreeGrid ()
 Constructor with default bounds (0,1, 0,1, 0,1). More...
 
 ~vtkHyperTreeGrid () override
 Destructor. More...
 
- Protected Member Functions inherited from vtkDataObject
 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. More...
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

double Origin [3]
 Grid Origin. More...
 
double GridScale [3]
 Element sizes in each direction. More...
 
bool ComputedXCoordinates
 Keep track of whether coordinates have been explicitly computed. More...
 
bool ComputedYCoordinates
 
bool ComputedZCoordinates
 
std::shared_ptr< vtkHyperTreeGridScalesScales
 JB Storage of pre-computed per-level cell scales. More...
 
- Protected Attributes inherited from vtkHyperTreeGrid
char * ModeSqueeze
 JB ModeSqueeze. More...
 
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
 
vtkDataArrayXCoordinates
 
vtkDataArrayYCoordinates
 
vtkDataArrayZCoordinates
 
vtkBitArrayMask
 
vtkBitArrayPureMask
 
bool InitPureMask
 
bool HasInterface
 
char * InterfaceNormalsName
 
char * InterfaceInterceptsName
 
std::map< vtkIdType, vtkSmartPointer< vtkHyperTree > > HyperTrees
 
vtkNew< vtkPointDataPointData
 
unsigned int DepthLimiter
 
- Protected Attributes inherited from vtkDataObject
vtkFieldDataFieldData
 
int DataReleased
 
vtkTimeStamp UpdateTime
 
vtkInformationInformation
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
std::atomic< int32_t > ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

A specifalized type of vtkHyperTreeGrid for the case when root cells have uniform sizes in each direction.

See also
vtkHyperTree vtkHyperTreeGrid vtkRectilinearGrid
Thanks:
This class was written by Philippe Pebay, NexGen Analytics 2017 JB modify for introduce Scales by Jacques-Bernard Lekien, CEA 2018. This work was supported by Commissariat a l'Energie Atomique CEA, DAM, DIF, F-91297 Arpajon, France.
Tests:
vtkUniformHyperTreeGrid (Tests)

Definition at line 46 of file vtkUniformHyperTreeGrid.h.

Member Typedef Documentation

◆ Superclass

Definition at line 50 of file vtkUniformHyperTreeGrid.h.

Constructor & Destructor Documentation

◆ vtkUniformHyperTreeGrid()

vtkUniformHyperTreeGrid::vtkUniformHyperTreeGrid ( )
protected

Constructor.

◆ ~vtkUniformHyperTreeGrid()

vtkUniformHyperTreeGrid::~vtkUniformHyperTreeGrid ( )
overrideprotected

Destructor.

Member Function Documentation

◆ New()

static vtkUniformHyperTreeGrid* vtkUniformHyperTreeGrid::New ( )
static

◆ IsTypeOf()

static vtkTypeBool vtkUniformHyperTreeGrid::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual vtkTypeBool vtkUniformHyperTreeGrid::IsA ( const char *  name)
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 vtkHyperTreeGrid.

◆ SafeDownCast()

static vtkUniformHyperTreeGrid* vtkUniformHyperTreeGrid::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkUniformHyperTreeGrid::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkHyperTreeGrid.

◆ NewInstance()

vtkUniformHyperTreeGrid* vtkUniformHyperTreeGrid::NewInstance ( ) const

◆ PrintSelf()

void vtkUniformHyperTreeGrid::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 vtkHyperTreeGrid.

◆ GetDataObjectType()

int vtkUniformHyperTreeGrid::GetDataObjectType ( )
inlineoverridevirtual

Return what type of dataset this is.

Reimplemented from vtkHyperTreeGrid.

Definition at line 56 of file vtkUniformHyperTreeGrid.h.

◆ CopyStructure()

void vtkUniformHyperTreeGrid::CopyStructure ( vtkDataObject )
overridevirtual

Copy the internal geometric and topological structure of a vtkUniformHyperTreeGrid object.

Reimplemented from vtkHyperTreeGrid.

◆ Initialize()

virtual void vtkUniformHyperTreeGrid::Initialize ( )
overridevirtual

Restore data object to initial state.

Reimplemented from vtkHyperTreeGrid.

◆ SetOrigin() [1/2]

virtual void vtkUniformHyperTreeGrid::SetOrigin ( double  ,
double  ,
double   
)
virtual

Set/Get origin of grid.

◆ SetOrigin() [2/2]

virtual void vtkUniformHyperTreeGrid::SetOrigin ( double  [3])
virtual

◆ GetOrigin() [1/3]

virtual double* vtkUniformHyperTreeGrid::GetOrigin ( )
virtual

◆ GetOrigin() [2/3]

virtual void vtkUniformHyperTreeGrid::GetOrigin ( double ,
double ,
double  
)
virtual

◆ GetOrigin() [3/3]

virtual void vtkUniformHyperTreeGrid::GetOrigin ( double  [3])
virtual

◆ SetGridScale() [1/3]

void vtkUniformHyperTreeGrid::SetGridScale ( double  ,
double  ,
double   
)

Set/Get scale of root cells along each direction.

◆ SetGridScale() [2/3]

void vtkUniformHyperTreeGrid::SetGridScale ( double )

◆ GetGridScale() [1/3]

virtual double* vtkUniformHyperTreeGrid::GetGridScale ( )
virtual

◆ GetGridScale() [2/3]

virtual void vtkUniformHyperTreeGrid::GetGridScale ( double ,
double ,
double  
)
virtual

◆ GetGridScale() [3/3]

virtual void vtkUniformHyperTreeGrid::GetGridScale ( double  [3])
virtual

◆ SetGridScale() [3/3]

void vtkUniformHyperTreeGrid::SetGridScale ( double  )

Set all scales at once when root cells are d-cubes.

◆ GetBounds()

double* vtkUniformHyperTreeGrid::GetBounds ( )
overridevirtual

Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax).

THIS METHOD IS NOT THREAD SAFE.

Reimplemented from vtkHyperTreeGrid.

◆ SetXCoordinates()

void vtkUniformHyperTreeGrid::SetXCoordinates ( vtkDataArray XCoordinates)
overridevirtual

Set/Get the grid coordinates in the x-direction.

NB: Set method deactivated in the case of uniform grids. Use SetSize() instead.

Reimplemented from vtkHyperTreeGrid.

◆ GetXCoordinates()

vtkDataArray* vtkUniformHyperTreeGrid::GetXCoordinates ( )
overridevirtual

Reimplemented from vtkHyperTreeGrid.

◆ SetYCoordinates()

void vtkUniformHyperTreeGrid::SetYCoordinates ( vtkDataArray YCoordinates)
overridevirtual

Set/Get the grid coordinates in the y-direction.

NB: Set method deactivated in the case of uniform grids. Use SetSize() instead.

Reimplemented from vtkHyperTreeGrid.

◆ GetYCoordinates()

vtkDataArray* vtkUniformHyperTreeGrid::GetYCoordinates ( )
overridevirtual

Reimplemented from vtkHyperTreeGrid.

◆ SetZCoordinates()

void vtkUniformHyperTreeGrid::SetZCoordinates ( vtkDataArray ZCoordinates)
overridevirtual

Set/Get the grid coordinates in the z-direction.

NB: Set method deactivated in the case of uniform grids. Use SetSize() instead.

Reimplemented from vtkHyperTreeGrid.

◆ GetZCoordinates()

vtkDataArray* vtkUniformHyperTreeGrid::GetZCoordinates ( )
overridevirtual

Reimplemented from vtkHyperTreeGrid.

◆ CopyCoordinates()

void vtkUniformHyperTreeGrid::CopyCoordinates ( const vtkHyperTreeGrid output)
overridevirtual

JB Augented services on Coordinates.

Reimplemented from vtkHyperTreeGrid.

◆ SetFixedCoordinates()

void vtkUniformHyperTreeGrid::SetFixedCoordinates ( unsigned int  axis,
double  value 
)
overridevirtual

Reimplemented from vtkHyperTreeGrid.

◆ GetLevelZeroOriginAndSizeFromIndex()

void vtkUniformHyperTreeGrid::GetLevelZeroOriginAndSizeFromIndex ( vtkIdType  ,
double ,
double  
)
overridevirtual

Convert the global index of a root to its Spacial coordinates origin and size.

Reimplemented from vtkHyperTreeGrid.

◆ GetLevelZeroOriginFromIndex()

void vtkUniformHyperTreeGrid::GetLevelZeroOriginFromIndex ( vtkIdType  ,
double  
)
overridevirtual

Convert the global index of a root to its Spacial coordinates origin and size.

Reimplemented from vtkHyperTreeGrid.

◆ ShallowCopy()

void vtkUniformHyperTreeGrid::ShallowCopy ( vtkDataObject )
overridevirtual

Create shallow copy of hyper tree grid.

Reimplemented from vtkHyperTreeGrid.

◆ DeepCopy()

void vtkUniformHyperTreeGrid::DeepCopy ( vtkDataObject )
overridevirtual

Create deep copy of hyper tree grid.

Reimplemented from vtkHyperTreeGrid.

◆ GetActualMemorySizeBytes()

unsigned long vtkUniformHyperTreeGrid::GetActualMemorySizeBytes ( )
overridevirtual

Return the actual size of the data bytes.

Reimplemented from vtkHyperTreeGrid.

◆ GetTree()

vtkHyperTree* vtkUniformHyperTreeGrid::GetTree ( vtkIdType  ,
bool  create = false 
)
overridevirtual

Return tree located at given index of hyper tree grid NB: This will construct a new HyperTree if grid slot is empty.

Reimplemented from vtkHyperTreeGrid.

◆ FindDichotomicX()

unsigned int vtkUniformHyperTreeGrid::FindDichotomicX ( double  value) const
inlineoverrideprotectedvirtual

Reimplemented from vtkHyperTreeGrid.

Definition at line 210 of file vtkUniformHyperTreeGrid.h.

◆ FindDichotomicY()

unsigned int vtkUniformHyperTreeGrid::FindDichotomicY ( double  value) const
inlineoverrideprotectedvirtual

Reimplemented from vtkHyperTreeGrid.

Definition at line 219 of file vtkUniformHyperTreeGrid.h.

◆ FindDichotomicZ()

unsigned int vtkUniformHyperTreeGrid::FindDichotomicZ ( double  value) const
inlineoverrideprotectedvirtual

Reimplemented from vtkHyperTreeGrid.

Definition at line 228 of file vtkUniformHyperTreeGrid.h.

Member Data Documentation

◆ Origin

double vtkUniformHyperTreeGrid::Origin[3]
protected

Grid Origin.

Definition at line 194 of file vtkUniformHyperTreeGrid.h.

◆ GridScale

double vtkUniformHyperTreeGrid::GridScale[3]
protected

Element sizes in each direction.

Definition at line 199 of file vtkUniformHyperTreeGrid.h.

◆ ComputedXCoordinates

bool vtkUniformHyperTreeGrid::ComputedXCoordinates
protected

Keep track of whether coordinates have been explicitly computed.

Definition at line 205 of file vtkUniformHyperTreeGrid.h.

◆ ComputedYCoordinates

bool vtkUniformHyperTreeGrid::ComputedYCoordinates
protected

Definition at line 206 of file vtkUniformHyperTreeGrid.h.

◆ ComputedZCoordinates

bool vtkUniformHyperTreeGrid::ComputedZCoordinates
protected

Definition at line 207 of file vtkUniformHyperTreeGrid.h.

◆ Scales

std::shared_ptr<vtkHyperTreeGridScales> vtkUniformHyperTreeGrid::Scales
mutableprotected

JB Storage of pre-computed per-level cell scales.

Definition at line 236 of file vtkUniformHyperTreeGrid.h.


The documentation for this class was generated from the following file: