#include <vtkScalarTree.h>
Inheritance diagram for vtkScalarTree:
vtkScalarTree is an abstract class that defines the API to concrete scalar tree subclasses. A scalar tree is a data structure that organizes data according to its scalar value. This allows rapid access to data for those algorithms that access the data based on scalar value. For example, isocontouring operates on cells based on the scalar (isocontour) value.
To use subclasses of this class, you must specify a dataset to operate on, and then specify a scalar value in the InitTraversal() method. Then calls to GetNextCell() return cells whose scalar data contains the scalar value specified.
Definition at line 58 of file vtkScalarTree.h.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | BuildTree ()=0 |
virtual void | Initialize ()=0 |
virtual void | InitTraversal (double scalarValue)=0 |
virtual void | SetDataSet (vtkDataSet *) |
virtual vtkDataSet * | GetDataSet () |
virtual vtkCell * | GetNextCell (vtkIdType &cellId, vtkIdList *&ptIds, vtkDataArray *cellScalars)=0 |
Static Public Member Functions | |
int | IsTypeOf (const char *type) |
vtkScalarTree * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkScalarTree () | |
~vtkScalarTree () | |
virtual void | ReportReferences (vtkGarbageCollector *) |
virtual void | RemoveReferences () |
Protected Attributes | |
vtkDataSet * | DataSet |
vtkDataArray * | Scalars |
vtkTimeStamp | BuildTime |
double | ScalarValue |
|
Reimplemented from vtkObject. Reimplemented in vtkSimpleScalarTree. Definition at line 61 of file vtkScalarTree.h. |
|
|
|
|
|
Reimplemented from vtkObject. Reimplemented in vtkSimpleScalarTree. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkSimpleScalarTree. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkSimpleScalarTree. |
|
Reimplemented from vtkObject. Reimplemented in vtkSimpleScalarTree. |
|
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 vtkObject. Reimplemented in vtkSimpleScalarTree. |
|
Build the tree from the points/cells defining this dataset. |
|
Build the tree from the points/cells defining this dataset. |
|
Construct the scalar tree from the dataset provided. Checks build times and modified time from input and reconstructs the tree if necessary. Implemented in vtkSimpleScalarTree. |
|
Initialize locator. Frees memory and resets object as appropriate. Implemented in vtkSimpleScalarTree. |
|
Begin to traverse the cells based on a scalar value. Returned cells will have scalar values that span the scalar value specified. Implemented in vtkSimpleScalarTree. |
|
Return the next cell that may contain scalar value specified to initialize traversal. The value NULL is returned if the list is exhausted. Make sure that InitTraversal() has been invoked first or you'll get erratic behavior. Implemented in vtkSimpleScalarTree. |
|
Reimplemented from vtkObjectBase. |
|
Reimplemented from vtkObjectBase. |
|
Definition at line 95 of file vtkScalarTree.h. |
|
Reimplemented in vtkSimpleScalarTree. Definition at line 96 of file vtkScalarTree.h. |
|
Definition at line 98 of file vtkScalarTree.h. |
|
Definition at line 99 of file vtkScalarTree.h. |