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

converts a given Reeb graph either to a join tree or a split tree (respectively the connectivity of the sub- and sur- level sets). Note: if you want to use simplification filters, do so on the input Reeb graph first. More...

#include <vtkReebGraphToJoinSplitTreeFilter.h>

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

List of all members.

Public Types

typedef vtkDirectedGraphAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkReebGraphToJoinSplitTreeFilterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
vtkReebGraphGetOutput ()
virtual void SetIsSplitTree (bool)
virtual bool GetIsSplitTree ()
virtual void SetFieldId (vtkIdType)
virtual vtkIdType GetFieldId ()

Static Public Member Functions

static
vtkReebGraphToJoinSplitTreeFilter
New ()
static int IsTypeOf (const char *type)
static
vtkReebGraphToJoinSplitTreeFilter
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkReebGraphToJoinSplitTreeFilter ()
 ~vtkReebGraphToJoinSplitTreeFilter ()
int FillInputPortInformation (int portNumber, vtkInformation *)
int FillOutputPortInformation (int, vtkInformation *)
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

bool IsSplitTree
vtkIdType FieldId

Detailed Description

converts a given Reeb graph either to a join tree or a split tree (respectively the connectivity of the sub- and sur- level sets). Note: if you want to use simplification filters, do so on the input Reeb graph first.

Reference: "Computing contpour trees in all dimensions". H. Carr, J. Snoeyink, U. Axen. SODA 2000, pp. 918-926.

The filter takes as an input the underlying mesh (port 0, a vtkPolyData for 2D meshes or a vtkUnstructuredGrid for 3D meshes) with an attached scalar field (identified by FieldId, with setFieldId()) and an input Reeb graph computed on that mesh (port 1). The outputs is vtkReebGraph object describing either a join or split tree.

Definition at line 42 of file vtkReebGraphToJoinSplitTreeFilter.h.


Member Typedef Documentation

Reimplemented from vtkDirectedGraphAlgorithm.

Definition at line 48 of file vtkReebGraphToJoinSplitTreeFilter.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 vtkDirectedGraphAlgorithm.

static int vtkReebGraphToJoinSplitTreeFilter::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 vtkDirectedGraphAlgorithm.

virtual int vtkReebGraphToJoinSplitTreeFilter::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 vtkDirectedGraphAlgorithm.

Reimplemented from vtkDirectedGraphAlgorithm.

Reimplemented from vtkDirectedGraphAlgorithm.

Reimplemented from vtkDirectedGraphAlgorithm.

void vtkReebGraphToJoinSplitTreeFilter::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 vtkDirectedGraphAlgorithm.

virtual void vtkReebGraphToJoinSplitTreeFilter::SetIsSplitTree ( bool  ) [virtual]

Specify if you want to get a join or a split tree. Default value: false (join tree)

Specify if you want to get a join or a split tree. Default value: false (join tree)

Set the scalar field Id Default value: 0;

Set the scalar field Id Default value: 0;

Get the output data object for a port on this algorithm.

Reimplemented from vtkDirectedGraphAlgorithm.

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 vtkDirectedGraphAlgorithm.

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

Reimplemented from vtkDirectedGraphAlgorithm.

int vtkReebGraphToJoinSplitTreeFilter::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkDirectedGraphAlgorithm.


Member Data Documentation

Definition at line 70 of file vtkReebGraphToJoinSplitTreeFilter.h.

Definition at line 72 of file vtkReebGraphToJoinSplitTreeFilter.h.


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