VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkExtractSelectedTree Class Reference

return a subtree from a vtkTree More...

#include <vtkExtractSelectedTree.h>

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

List of all members.

Public Types

typedef vtkTreeAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkExtractSelectedTreeNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void SetSelectionConnection (vtkAlgorithmOutput *in)
int FillInputPortInformation (int port, vtkInformation *info)

Static Public Member Functions

static vtkExtractSelectedTreeNew ()
static int IsTypeOf (const char *type)
static vtkExtractSelectedTreeSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkExtractSelectedTree ()
 ~vtkExtractSelectedTree ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int BuildTree (vtkTree *inputTree, vtkIdTypeArray *list, vtkMutableDirectedGraph *builder)

Detailed Description

return a subtree from a vtkTree

input 0 --- a vtkTree input 1 --- a vtkSelection, containing selected vertices. It may have FILED_type set to POINTS ( a vertex selection) or CELLS (an edge selection). A vertex selection preserves the edges that connect selected vertices. An edge selection perserves the vertices that are adjacent to at least one selected edges.

Tests:
vtkExtractSelectedTree (Tests)

Definition at line 40 of file vtkExtractSelectedTree.h.


Member Typedef Documentation

Reimplemented from vtkTreeAlgorithm.

Definition at line 44 of file vtkExtractSelectedTree.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 vtkExtractSelectedTree::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 vtkExtractSelectedTree::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* vtkExtractSelectedTree::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkTreeAlgorithm.

Reimplemented from vtkTreeAlgorithm.

void vtkExtractSelectedTree::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.

A convenience method for setting the second input (i.e. the selection).

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkTreeAlgorithm.

int vtkExtractSelectedTree::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.

int vtkExtractSelectedTree::BuildTree ( vtkTree inputTree,
vtkIdTypeArray list,
vtkMutableDirectedGraph builder 
) [protected]

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