VTK
|
prune a subtree out of a vtkTree More...
#include <vtkPruneTreeFilter.h>
Public Types | |
typedef vtkTreeAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPruneTreeFilter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkIdType | GetParentVertex () |
virtual void | SetParentVertex (vtkIdType) |
virtual bool | GetShouldPruneParentVertex () |
virtual void | SetShouldPruneParentVertex (bool) |
Static Public Member Functions | |
static vtkPruneTreeFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkPruneTreeFilter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPruneTreeFilter () | |
~vtkPruneTreeFilter () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkIdType | ParentVertex |
bool | ShouldPruneParentVertex |
prune a subtree out of a vtkTree
Removes a subtree rooted at a particular vertex in a vtkTree.
Definition at line 40 of file vtkPruneTreeFilter.h.
Reimplemented from vtkTreeAlgorithm.
Definition at line 44 of file vtkPruneTreeFilter.h.
vtkPruneTreeFilter::vtkPruneTreeFilter | ( | ) | [protected] |
vtkPruneTreeFilter::~vtkPruneTreeFilter | ( | ) | [protected] |
static vtkPruneTreeFilter* vtkPruneTreeFilter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkTreeAlgorithm.
static int vtkPruneTreeFilter::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 vtkPruneTreeFilter::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 vtkPruneTreeFilter* vtkPruneTreeFilter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkTreeAlgorithm.
virtual vtkObjectBase* vtkPruneTreeFilter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkTreeAlgorithm.
Reimplemented from vtkTreeAlgorithm.
void vtkPruneTreeFilter::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.
virtual vtkIdType vtkPruneTreeFilter::GetParentVertex | ( | ) | [virtual] |
Set the parent vertex of the subtree to remove.
virtual void vtkPruneTreeFilter::SetParentVertex | ( | vtkIdType | ) | [virtual] |
Set the parent vertex of the subtree to remove.
virtual bool vtkPruneTreeFilter::GetShouldPruneParentVertex | ( | ) | [virtual] |
Should we remove the parent vertex, or just its descendants? Default behavior is to remove the parent vertex.
virtual void vtkPruneTreeFilter::SetShouldPruneParentVertex | ( | bool | ) | [virtual] |
Should we remove the parent vertex, or just its descendants? Default behavior is to remove the parent vertex.
int vtkPruneTreeFilter::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.
vtkIdType vtkPruneTreeFilter::ParentVertex [protected] |
Definition at line 64 of file vtkPruneTreeFilter.h.
bool vtkPruneTreeFilter::ShouldPruneParentVertex [protected] |
Definition at line 65 of file vtkPruneTreeFilter.h.