21 #ifndef vtkCollapseVerticesByArray_h
22 #define vtkCollapseVerticesByArray_h
25 #include "vtkInfovisCoreModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
28 class vtkCollapseVerticesByArrayInternal;
42 vtkGetMacro(AllowSelfLoops,
bool);
43 vtkSetMacro(AllowSelfLoops,
bool);
44 vtkBooleanMacro(AllowSelfLoops,
bool);
62 vtkGetStringMacro(VertexArray);
63 vtkSetStringMacro(VertexArray);
70 vtkGetMacro(CountEdgesCollapsed,
bool);
71 vtkSetMacro(CountEdgesCollapsed,
bool);
72 vtkBooleanMacro(CountEdgesCollapsed,
bool);
80 vtkGetStringMacro(EdgesCollapsedArray);
81 vtkSetStringMacro(EdgesCollapsedArray);
88 vtkGetMacro(CountVerticesCollapsed,
bool);
89 vtkSetMacro(CountVerticesCollapsed,
bool);
90 vtkBooleanMacro(CountVerticesCollapsed,
bool);
98 vtkGetStringMacro(VerticesCollapsedArray);
99 vtkSetStringMacro(VerticesCollapsedArray);
146 VTK_ABI_NAMESPACE_END
Collapse the graph given a vertex array.
char * VerticesCollapsedArray
int FillOutputPortInformation(int port, vtkInformation *info) override
Pipeline function.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Pipeline function.
void FindEdge(vtkGraph *outGraph, vtkIdType source, vtkIdType target, vtkIdType &edgeId)
Helper function.
static vtkCollapseVerticesByArray * New()
char * EdgesCollapsedArray
vtkCollapseVerticesByArrayInternal * Internal
void AddAggregateEdgeArray(const char *arrName)
Add arrays on which aggregation of data is allowed.
~vtkCollapseVerticesByArray() override
void ClearAggregateEdgeArray()
Clear the list of arrays on which aggregation was set to allow.
bool CountVerticesCollapsed
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCollapseVerticesByArray()
vtkGraph * Create(vtkGraph *inGraph)
Create output graph given all the parameters.
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
a simple class to control print indentation
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)