32#ifndef vtkTreeDifferenceFilter_h
33#define vtkTreeDifferenceFilter_h
36#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);
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.