VTK
|
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>
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.
Reimplemented from vtkDirectedGraphAlgorithm.
Definition at line 48 of file vtkReebGraphToJoinSplitTreeFilter.h.
static vtkReebGraphToJoinSplitTreeFilter* vtkReebGraphToJoinSplitTreeFilter::New | ( | ) | [static] |
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.
static vtkReebGraphToJoinSplitTreeFilter* vtkReebGraphToJoinSplitTreeFilter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDirectedGraphAlgorithm.
virtual vtkObjectBase* vtkReebGraphToJoinSplitTreeFilter::NewInstanceInternal | ( | ) | const [protected, virtual] |
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)
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;
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 70 of file vtkReebGraphToJoinSplitTreeFilter.h.
vtkIdType vtkReebGraphToJoinSplitTreeFilter::FieldId [protected] |
Definition at line 72 of file vtkReebGraphToJoinSplitTreeFilter.h.