|
VTK
|
hierarchical dataset of vtkUniformGrids More...
#include <vtkHierarchicalBoxDataSet.h>


Public Types | |
| typedef vtkCompositeDataSet | Superclass |
Public Types inherited from vtkCompositeDataSet | |
| typedef vtkDataObject | Superclass |
Public Types inherited from vtkDataObject | |
| typedef vtkObject | Superclass |
| 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 } |
| enum | AttributeTypes { POINT, CELL, FIELD, POINT_THEN_CELL, VERTEX, EDGE, ROW, NUMBER_OF_ATTRIBUTE_TYPES } |
| enum | FieldOperations { FIELD_OPERATION_PRESERVED, FIELD_OPERATION_REINTERPOLATED, FIELD_OPERATION_MODIFIED, FIELD_OPERATION_REMOVED } |
Public Types inherited from vtkObject | |
| typedef vtkObjectBase | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual vtkCompositeDataIterator * | NewIterator () |
| virtual int | GetDataObjectType () |
| void | SetNumberOfLevels (unsigned int numLevels) |
| unsigned int | GetNumberOfLevels () |
| void | SetNumberOfDataSets (unsigned int level, unsigned int numdatasets) |
| unsigned int | GetNumberOfDataSets (unsigned int level) |
| vtkAMRBox | GetAMRBox (vtkCompositeDataIterator *iter) |
| vtkInformation * | GetMetaData (unsigned int level, unsigned int index) |
| int | HasMetaData (unsigned int level, unsigned int index) |
| void | SetRefinementRatio (unsigned int level, int refRatio) |
| int | GetRefinementRatio (unsigned int level) |
| int | GetRefinementRatio (vtkCompositeDataIterator *iter) |
| void | GenerateVisibilityArrays () |
| virtual void | GetScalarRange (double range[]) |
| virtual double * | GetScalarRange () |
| unsigned int | GetFlatIndex (unsigned int level, unsigned int index) |
| virtual void | SetDataSet (vtkCompositeDataIterator *iter, vtkDataObject *dataObj) |
| void | SetDataSet (unsigned int level, unsigned int id, int LoCorner[3], int HiCorner[3], vtkUniformGrid *dataSet) |
| void | SetDataSet (unsigned int level, unsigned int id, vtkAMRBox &box, vtkUniformGrid *dataSet) |
| vtkUniformGrid * | GetDataSet (unsigned int level, unsigned int id, vtkAMRBox &box) |
| vtkInformation * | GetLevelMetaData (unsigned int level) |
| int | HasLevelMetaData (unsigned int level) |
| virtual vtkDataObject * | GetDataSet (vtkCompositeDataIterator *iter) |
| virtual vtkInformation * | GetMetaData (vtkCompositeDataIterator *iter) |
| virtual int | HasMetaData (vtkCompositeDataIterator *iter) |
Public Member Functions inherited from vtkCompositeDataSet | |
| virtual vtkAlgorithmOutput * | GetProducerPort () |
| virtual void | CopyStructure (vtkCompositeDataSet *input) |
| virtual unsigned long | GetActualMemorySize () |
| virtual void | Initialize () |
| virtual vtkIdType | GetNumberOfPoints () |
| virtual void | ShallowCopy (vtkDataObject *src) |
| virtual void | DeepCopy (vtkDataObject *src) |
Public Member Functions inherited from vtkDataObject | |
| unsigned long int | GetMTime () |
| void | ReleaseData () |
| int | ShouldIReleaseData () |
| virtual void | Register (vtkObjectBase *o) |
| virtual void | UnRegister (vtkObjectBase *o) |
| virtual void | Update () |
| virtual void | UpdateInformation () |
| virtual void | PropagateUpdateExtent () |
| virtual void | TriggerAsynchronousUpdate () |
| virtual void | UpdateData () |
| virtual unsigned long | GetEstimatedMemorySize () |
| unsigned long | GetUpdateTime () |
| void | SetUpdateExtentToWholeExtent () |
| unsigned long | GetPipelineMTime () |
| void | CopyInformation (vtkDataObject *data) |
| virtual void | CopyInformationFromPipeline (vtkInformation *request) |
| void | DataHasBeenGenerated () |
| virtual void | PrepareForNewData () |
| virtual int | GetExtentType () |
| virtual void | Crop () |
| virtual vtkDataSetAttributes * | GetAttributes (int type) |
| virtual vtkFieldData * | GetAttributesAsFieldData (int type) |
| virtual int | GetAttributeTypeForArray (vtkAbstractArray *arr) |
| virtual vtkIdType | GetNumberOfElements (int type) |
| virtual vtkSource * | GetSource () |
| void | SetSource (vtkSource *s) |
| virtual vtkInformation * | GetInformation () |
| virtual void | SetInformation (vtkInformation *) |
| virtual vtkInformation * | GetPipelineInformation () |
| virtual void | SetPipelineInformation (vtkInformation *) |
| virtual int | GetDataReleased () |
| void | SetReleaseDataFlag (int) |
| int | GetReleaseDataFlag () |
| virtual void | ReleaseDataFlagOn () |
| virtual void | ReleaseDataFlagOff () |
| virtual void | SetFieldData (vtkFieldData *) |
| virtual vtkFieldData * | GetFieldData () |
| virtual void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
| void | SetUpdateExtent (int piece, int numPieces) |
| virtual void | SetUpdateExtent (int x0, int x1, int y0, int y1, int z0, int z1) |
| virtual void | SetUpdateExtent (int extent[6]) |
| virtual int * | GetUpdateExtent () |
| virtual void | GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
| virtual void | GetUpdateExtent (int extent[6]) |
| virtual void | CopyTypeSpecificInformation (vtkDataObject *data) |
| void | SetUpdatePiece (int piece) |
| void | SetUpdateNumberOfPieces (int num) |
| virtual int | GetUpdatePiece () |
| virtual int | GetUpdateNumberOfPieces () |
| void | SetUpdateGhostLevel (int level) |
| virtual int | GetUpdateGhostLevel () |
| virtual void | SetRequestExactExtent (int flag) |
| virtual int | GetRequestExactExtent () |
| virtual void | RequestExactExtentOn () |
| virtual void | RequestExactExtentOff () |
| virtual void | SetWholeExtent (int x0, int x1, int y0, int y1, int z0, int z1) |
| virtual void | SetWholeExtent (int extent[6]) |
| virtual int * | GetWholeExtent () |
| virtual void | GetWholeExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
| virtual void | GetWholeExtent (int extent[6]) |
| virtual void | SetWholeBoundingBox (double x0, double x1, double y0, double y1, double z0, double z1) |
| virtual void | SetWholeBoundingBox (double bb[6]) |
| virtual double * | GetWholeBoundingBox () |
| virtual void | GetWholeBoundingBox (double &x0, double &x1, double &y0, double &y1, double &z0, double &z1) |
| virtual void | GetWholeBoundingBox (double extent[6]) |
| virtual void | SetMaximumNumberOfPieces (int) |
| virtual int | GetMaximumNumberOfPieces () |
| virtual void | CopyInformationToPipeline (vtkInformation *request, vtkInformation *input, vtkInformation *output, int forceCopy) |
| void | CopyInformationToPipeline (vtkInformation *request, vtkInformation *input) |
| void | SetExtentTranslator (vtkExtentTranslator *translator) |
| vtkExtentTranslator * | GetExtentTranslator () |
| void | GlobalReleaseDataFlagOn () |
| void | GlobalReleaseDataFlagOff () |
Public Member Functions inherited from vtkObject | |
| virtual void | DebugOn () |
| virtual void | DebugOff () |
| unsigned char | GetDebug () |
| void | SetDebug (unsigned char debugFlag) |
| virtual void | Modified () |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| vtkCommand * | GetCommand (unsigned long tag) |
| void | RemoveObserver (vtkCommand *) |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| void | RemoveObservers (const char *event, vtkCommand *) |
| int | HasObserver (unsigned long event, vtkCommand *) |
| int | HasObserver (const char *event, vtkCommand *) |
| void | RemoveObserver (unsigned long tag) |
| void | RemoveObservers (unsigned long event) |
| void | RemoveObservers (const char *event) |
| void | RemoveAllObservers () |
| int | HasObserver (unsigned long event) |
| int | HasObserver (const char *event) |
| template<class U , class T > | |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| 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) |
| int | InvokeEvent (unsigned long event, void *callData) |
| 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 |
| virtual void | Delete () |
| virtual void | FastDelete () |
| void | Print (ostream &os) |
| void | SetReferenceCount (int) |
| void | PrintRevisions (ostream &os) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
Protected Attributes | |
| double | ScalarRange [2] |
| vtkTimeStamp | ScalarRangeComputeTime |
Protected Attributes inherited from vtkCompositeDataSet | |
| vtkCompositeDataSetInternals * | Internals |
Protected Attributes inherited from vtkDataObject | |
| vtkFieldData * | FieldData |
| vtkSource * | Source |
| int | DataReleased |
| vtkTimeStamp | UpdateTime |
| vtkInformation * | Information |
| vtkInformation * | PipelineInformation |
Protected Attributes inherited from vtkObject | |
| unsigned char | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| int | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
Additional Inherited Members | |
Protected Types inherited from vtkDataObject | |
| typedef vtkStreamingDemandDrivenPipeline | SDDP |
Static Protected Attributes inherited from vtkDataObject | |
| static const char | AssociationNames [NUMBER_OF_ASSOCIATIONS][55] |
Friends inherited from vtkObject | |
hierarchical dataset of vtkUniformGrids
vtkHierarchicalBoxDataSet is a concrete implementation of vtkCompositeDataSet. The dataset type is restricted to vtkUniformGrid. Each dataset has an associated vtkAMRBox that represents it's region (similar to extent) in space.
Definition at line 53 of file vtkHierarchicalBoxDataSet.h.
Definition at line 57 of file vtkHierarchicalBoxDataSet.h.
|
protected |
|
protected |
|
static |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataObject.
|
virtual |
Reimplemented from vtkCompositeDataSet.
|
static |
Return 1 if this class type 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 vtkCompositeDataSet.
|
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 vtkCompositeDataSet.
|
static |
Reimplemented from vtkCompositeDataSet.
|
virtual |
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 vtkCompositeDataSet.
|
virtual |
Return a new iterator (the iterator has to be deleted by user).
Reimplemented from vtkCompositeDataSet.
|
inlinevirtual |
Return class name of data type (see vtkType.h for definitions).
Reimplemented from vtkCompositeDataSet.
Definition at line 64 of file vtkHierarchicalBoxDataSet.h.
| void vtkHierarchicalBoxDataSet::SetNumberOfLevels | ( | unsigned int | numLevels | ) |
Set the number of refinement levels. This call might cause allocation if the new number of levels is larger than the current one.
| unsigned int vtkHierarchicalBoxDataSet::GetNumberOfLevels | ( | ) |
Returns the number of levels.
| void vtkHierarchicalBoxDataSet::SetNumberOfDataSets | ( | unsigned int | level, |
| unsigned int | numdatasets | ||
| ) |
Set the number of data set at a given level.
Returns the number of data sets available at any level.
|
inlinevirtual |
Sets the data set at the location pointed by the iterator. The iterator does not need to be iterating over this dataset itself. It can be any composite datasite with similar structure (achieve by using CopyStructure). Un-hiding superclass overload.
Reimplemented from vtkCompositeDataSet.
Definition at line 84 of file vtkHierarchicalBoxDataSet.h.
| void vtkHierarchicalBoxDataSet::SetDataSet | ( | unsigned int | level, |
| unsigned int | id, | ||
| int | LoCorner[3], | ||
| int | HiCorner[3], | ||
| vtkUniformGrid * | dataSet | ||
| ) |
Set the dataset pointer for a given node. This will resize the number of levels and the number of datasets in the level to fit level, id requested.
| void vtkHierarchicalBoxDataSet::SetDataSet | ( | unsigned int | level, |
| unsigned int | id, | ||
| vtkAMRBox & | box, | ||
| vtkUniformGrid * | dataSet | ||
| ) |
Set the dataset pointer for a given node. This will resize the number of levels and the number of datasets in the level to fit level, id requested. The information carried by the vtkAMRBox is redundant with the extent of the vtkUniformGrid. However, in case of parallel computation, the vtkAMRBox is defined on each processor whereas the vtkUniformGrid is defined only on the processor that owns it.
| vtkUniformGrid* vtkHierarchicalBoxDataSet::GetDataSet | ( | unsigned int | level, |
| unsigned int | id, | ||
| vtkAMRBox & | box | ||
| ) |
Get a dataset given a level and an id. In case of parallel computation, the dataset can be a null pointer whereas the vtkAMRBox is always defined.
| vtkAMRBox vtkHierarchicalBoxDataSet::GetAMRBox | ( | vtkCompositeDataIterator * | iter | ) |
Returns the AMR box for the location pointer by the iterator.
|
inline |
Get meta-data associated with a level. This may allocate a new vtkInformation object if none is already present. Use HasLevelMetaData to avoid unnecessary allocations.
Definition at line 125 of file vtkHierarchicalBoxDataSet.h.
Returns if meta-data exists for a given level.
Definition at line 131 of file vtkHierarchicalBoxDataSet.h.
| vtkInformation* vtkHierarchicalBoxDataSet::GetMetaData | ( | unsigned int | level, |
| unsigned int | index | ||
| ) |
Get meta-data associated with a dataset. This may allocate a new vtkInformation object if none is already present. Use HasMetaData to avoid unnecessary allocations.
Returns if meta-data exists for a given dataset under a given level.
Sets the refinement of a given level. The spacing at level level+1 is defined as spacing(level+1) = spacing(level)/refRatio(level). Note that currently, this is not enforced by this class however some algorithms might not function properly if the spacing in the blocks (vtkUniformGrid) does not match the one described by the refinement ratio.
Returns the refinement of a given level.
| int vtkHierarchicalBoxDataSet::GetRefinementRatio | ( | vtkCompositeDataIterator * | iter | ) |
Returns the refinement ratio for the position pointed by the iterator.
| void vtkHierarchicalBoxDataSet::GenerateVisibilityArrays | ( | ) |
Blank lower level cells if they are overlapped by higher level ones.
|
static |
|
static |
|
static |
|
static |
|
static |
Retrieve an instance of this class from an information object.
Reimplemented from vtkCompositeDataSet.
|
static |
Retrieve an instance of this class from an information object.
Reimplemented from vtkCompositeDataSet.
|
virtual |
Copy the cached scalar range into range.
|
virtual |
Return the cached range.
|
inlinevirtual |
Unhiding superclass method.
Reimplemented from vtkCompositeDataSet.
Definition at line 182 of file vtkHierarchicalBoxDataSet.h.
|
inlinevirtual |
Unhiding superclass method.
Reimplemented from vtkCompositeDataSet.
Definition at line 188 of file vtkHierarchicalBoxDataSet.h.
|
inlinevirtual |
Unhiding superclass method.
Reimplemented from vtkCompositeDataSet.
Definition at line 195 of file vtkHierarchicalBoxDataSet.h.
Given the level and dataset index, returns the flat index provided level and dataset index are valid.
|
protectedvirtual |
Compute the range of the scalars and cache it into ScalarRange only if the cache became invalid (ScalarRangeComputeTime).
|
protected |
Definition at line 212 of file vtkHierarchicalBoxDataSet.h.
|
protected |
Definition at line 214 of file vtkHierarchicalBoxDataSet.h.
1.8.1.2