Go to the documentation of this file.
49 #ifndef vtkBoostPrimMinimumSpanningTree_h
50 #define vtkBoostPrimMinimumSpanningTree_h
52 #include "vtkInfovisBoostGraphAlgorithmsModule.h"
73 vtkSetStringMacro(EdgeWeightArrayName);
96 vtkSetMacro(CreateGraphVertexIdArray,
bool);
97 vtkGetMacro(CreateGraphVertexIdArray,
bool);
98 vtkBooleanMacro(CreateGraphVertexIdArray,
bool);
110 vtkGetMacro(NegateEdgeWeights,
bool);
111 vtkBooleanMacro(NegateEdgeWeights,
bool);
127 char* EdgeWeightArrayName;
130 bool CreateGraphVertexIdArray;
133 bool NegateEdgeWeights;
134 float EdgeWeightMultiplier;
140 vtkSetStringMacro(ArrayName);
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkBoostPrimMinimumSpanningTree * New()
void SetNegateEdgeWeights(bool value)
Whether to negate the edge weights.
void SetOriginVertex(vtkIdType index)
Set the index (into the vertex array) of the minimum spanning tree 'origin' vertex.
void SetOriginVertex(vtkStdString arrayName, vtkVariant value)
Set the minimum spanning tree 'origin' vertex.
a simple class to control print indentation
A atomic type representing the union of many types.
Superclass for algorithms that produce only Tree as output.
Abstract superclass for all arrays.
Constructs a minimum spanning tree from a graph, start node, and the weighting array.
vtkBoostPrimMinimumSpanningTree()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Wrapper around std::string to keep symbols short.
~vtkBoostPrimMinimumSpanningTree()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.