42 #ifndef vtkBoostPrimMinimumSpanningTree_h
43 #define vtkBoostPrimMinimumSpanningTree_h
45 #include "vtkInfovisBoostGraphAlgorithmsModule.h"
51 VTK_ABI_NAMESPACE_BEGIN
68 vtkSetStringMacro(EdgeWeightArrayName);
91 vtkSetMacro(CreateGraphVertexIdArray,
bool);
92 vtkGetMacro(CreateGraphVertexIdArray,
bool);
93 vtkBooleanMacro(CreateGraphVertexIdArray,
bool);
105 vtkGetMacro(NegateEdgeWeights,
bool);
106 vtkBooleanMacro(NegateEdgeWeights,
bool);
118 char* EdgeWeightArrayName;
121 bool CreateGraphVertexIdArray;
124 bool NegateEdgeWeights;
125 float EdgeWeightMultiplier;
131 vtkSetStringMacro(ArrayName);
144 VTK_ABI_NAMESPACE_END
Abstract superclass for all arrays.
Constructs a minimum spanning tree from a graph, start node, and the weighting array.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkBoostPrimMinimumSpanningTree * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkBoostPrimMinimumSpanningTree() override
void SetNegateEdgeWeights(bool value)
Whether to negate the edge weights.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkBoostPrimMinimumSpanningTree()
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
Wrapper around std::string to keep symbols short.
Superclass for algorithms that produce only Tree as output.
A type representing the union of many types.