Section: Visualization Toolkit Filtering Classes
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.
To create an instance of class vtkScalarTree, simply invoke its constructor as follows
obj = vtkScalarTree
obj
is an instance of the vtkScalarTree class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkScalarTree = obj.NewInstance ()
vtkScalarTree = obj.SafeDownCast (vtkObject o)
obj.SetDataSet (vtkDataSet )
- Build the tree from the points/cells defining this dataset.
vtkDataSet = obj.GetDataSet ()
- Build the tree from the points/cells defining this dataset.
obj.BuildTree ()
- Construct the scalar tree from the dataset provided. Checks build times
and modified time from input and reconstructs the tree if necessary.
obj.Initialize ()
- Initialize locator. Frees memory and resets object as appropriate.
obj.InitTraversal (double scalarValue)
- Begin to traverse the cells based on a scalar value. Returned cells
will have scalar values that span the scalar value specified.