VTK
|
adds level and leaf fields to a vtkTree More...
#include <vtkTreeLevelsFilter.h>
Public Types | |
typedef vtkTreeAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkTreeLevelsFilter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkTreeLevelsFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkTreeLevelsFilter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkTreeLevelsFilter () | |
~vtkTreeLevelsFilter () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
adds level and leaf fields to a vtkTree
The filter currently add two arrays to the incoming vtkTree datastructure. 1) "levels" this is the distance from the root of the vertex. Root = 0 and you add 1 for each level down from the root 2) "leaf" this array simply indicates whether the vertex is a leaf or not
Definition at line 46 of file vtkTreeLevelsFilter.h.
Reimplemented from vtkTreeAlgorithm.
Definition at line 50 of file vtkTreeLevelsFilter.h.
vtkTreeLevelsFilter::vtkTreeLevelsFilter | ( | ) | [protected] |
vtkTreeLevelsFilter::~vtkTreeLevelsFilter | ( | ) | [inline, protected] |
Definition at line 55 of file vtkTreeLevelsFilter.h.
static vtkTreeLevelsFilter* vtkTreeLevelsFilter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkTreeAlgorithm.
static int vtkTreeLevelsFilter::IsTypeOf | ( | const char * | name | ) | [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 vtkTreeAlgorithm.
virtual int vtkTreeLevelsFilter::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 vtkTreeAlgorithm.
static vtkTreeLevelsFilter* vtkTreeLevelsFilter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkTreeAlgorithm.
virtual vtkObjectBase* vtkTreeLevelsFilter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkTreeAlgorithm.
Reimplemented from vtkTreeAlgorithm.
void vtkTreeLevelsFilter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [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 vtkTreeAlgorithm.
int vtkTreeLevelsFilter::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkTreeAlgorithm.