#include <vtkReebGraphToJoinSplitTreeFilter.h>
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 41 of file vtkReebGraphToJoinSplitTreeFilter.h.
Public Types | |
typedef vtkDirectedGraphAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkReebGraph * | GetOutput () |
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 (vtkObject *o) |
Protected Member Functions | |
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 |
Reimplemented from vtkDirectedGraphAlgorithm.
Definition at line 47 of file vtkReebGraphToJoinSplitTreeFilter.h.
vtkReebGraphToJoinSplitTreeFilter::vtkReebGraphToJoinSplitTreeFilter | ( | ) | [protected] |
vtkReebGraphToJoinSplitTreeFilter::~vtkReebGraphToJoinSplitTreeFilter | ( | ) | [protected] |
static vtkReebGraphToJoinSplitTreeFilter* vtkReebGraphToJoinSplitTreeFilter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDirectedGraphAlgorithm.
virtual const char* vtkReebGraphToJoinSplitTreeFilter::GetClassName | ( | ) | [virtual] |
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.
static vtkReebGraphToJoinSplitTreeFilter* vtkReebGraphToJoinSplitTreeFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
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)
virtual bool vtkReebGraphToJoinSplitTreeFilter::GetIsSplitTree | ( | ) | [virtual] |
Specify if you want to get a join or a split tree. Default value: false (join tree)
virtual void vtkReebGraphToJoinSplitTreeFilter::SetFieldId | ( | vtkIdType | ) | [virtual] |
Set the scalar field Id Default value: 0;
virtual vtkIdType vtkReebGraphToJoinSplitTreeFilter::GetFieldId | ( | ) | [virtual] |
Set the scalar field Id Default value: 0;
vtkReebGraph* vtkReebGraphToJoinSplitTreeFilter::GetOutput | ( | ) |
Get the output data object for a port on this algorithm.
Reimplemented from vtkDirectedGraphAlgorithm.
int vtkReebGraphToJoinSplitTreeFilter::FillInputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
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.
int vtkReebGraphToJoinSplitTreeFilter::FillOutputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
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.
bool vtkReebGraphToJoinSplitTreeFilter::IsSplitTree [protected] |
Definition at line 69 of file vtkReebGraphToJoinSplitTreeFilter.h.
vtkIdType vtkReebGraphToJoinSplitTreeFilter::FieldId [protected] |
Definition at line 71 of file vtkReebGraphToJoinSplitTreeFilter.h.