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