Go to the documentation of this file.
32 #ifndef vtkTreeDifferenceFilter_h
33 #define vtkTreeDifferenceFilter_h
35 #include "vtkInfovisCoreModule.h"
62 vtkSetStringMacro(IdArrayName);
63 vtkGetStringMacro(IdArrayName);
71 vtkSetStringMacro(ComparisonArrayName);
72 vtkGetStringMacro(ComparisonArrayName);
83 vtkSetStringMacro(OutputArrayName);
84 vtkGetStringMacro(OutputArrayName);
93 vtkSetMacro(ComparisonArrayIsVertexData,
bool);
94 vtkGetMacro(ComparisonArrayIsVertexData,
bool);
Superclass for algorithms that produce only graph as output.
std::vector< vtkIdType > VertexMap
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkTreeDifferenceFilter * New()
bool ComparisonArrayIsVertexData
std::vector< vtkIdType > EdgeMap
A rooted tree data structure.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
vtkSmartPointer< vtkDoubleArray > ComputeDifference(vtkTree *tree1, vtkTree *tree2)
Compute the differences between tree #1 and tree #2's copies of the comparison array.
dynamic, self-adjusting array of double
~vtkTreeDifferenceFilter() override
char * ComparisonArrayName
bool GenerateMapping(vtkTree *tree1, vtkTree *tree2)
Populate VertexMap and EdgeMap with meaningful values.
vtkTreeDifferenceFilter()