VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPruneTreeFilter Class Reference

prune a subtree out of a vtkTree More...

#include <vtkPruneTreeFilter.h>

Inheritance diagram for vtkPruneTreeFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkPruneTreeFilter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkTreeAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPruneTreeFilterNewInstance () 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 vtkPruneTreeFilterNew ()
static int IsTypeOf (const char *type)
static vtkPruneTreeFilterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPruneTreeFilter ()
 ~vtkPruneTreeFilter ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

vtkIdType ParentVertex
bool ShouldPruneParentVertex

Detailed Description

prune a subtree out of a vtkTree

Removes a subtree rooted at a particular vertex in a vtkTree.

Tests:
vtkPruneTreeFilter (Tests)

Definition at line 40 of file vtkPruneTreeFilter.h.


Member Typedef Documentation

Reimplemented from vtkTreeAlgorithm.

Definition at line 44 of file vtkPruneTreeFilter.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.

Set the parent vertex of the subtree to remove.

virtual void vtkPruneTreeFilter::SetParentVertex ( vtkIdType  ) [virtual]

Set the parent vertex of the subtree to remove.

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.


Member Data Documentation

Definition at line 64 of file vtkPruneTreeFilter.h.

Definition at line 65 of file vtkPruneTreeFilter.h.


The documentation for this class was generated from the following file: