62#ifndef vtkBoostPrimMinimumSpanningTree_h
63#define vtkBoostPrimMinimumSpanningTree_h
65#include "vtkInfovisBoostGraphAlgorithmsModule.h"
71VTK_ABI_NAMESPACE_BEGIN
88 vtkSetStringMacro(EdgeWeightArrayName);
111 vtkSetMacro(CreateGraphVertexIdArray,
bool);
112 vtkGetMacro(CreateGraphVertexIdArray,
bool);
113 vtkBooleanMacro(CreateGraphVertexIdArray,
bool);
125 vtkGetMacro(NegateEdgeWeights,
bool);
126 vtkBooleanMacro(NegateEdgeWeights,
bool);
138 char* EdgeWeightArrayName;
141 bool CreateGraphVertexIdArray;
144 bool NegateEdgeWeights;
145 float EdgeWeightMultiplier;
151 vtkSetStringMacro(ArrayName);
Abstract superclass for all arrays.
Constructs a minimum spanning tree from a graph, start node, and the weighting array.
static vtkBoostPrimMinimumSpanningTree * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
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.