30#ifndef vtkCollapseVerticesByArray_h
31#define vtkCollapseVerticesByArray_h
34#include "vtkInfovisCoreModule.h"
36class vtkCollapseVerticesByArrayInternal;
50 vtkGetMacro(AllowSelfLoops,
bool);
51 vtkSetMacro(AllowSelfLoops,
bool);
52 vtkBooleanMacro(AllowSelfLoops,
bool);
70 vtkGetStringMacro(VertexArray);
71 vtkSetStringMacro(VertexArray);
78 vtkGetMacro(CountEdgesCollapsed,
bool);
79 vtkSetMacro(CountEdgesCollapsed,
bool);
80 vtkBooleanMacro(CountEdgesCollapsed,
bool);
88 vtkGetStringMacro(EdgesCollapsedArray);
89 vtkSetStringMacro(EdgesCollapsedArray);
96 vtkGetMacro(CountVerticesCollapsed,
bool);
97 vtkSetMacro(CountVerticesCollapsed,
bool);
98 vtkBooleanMacro(CountVerticesCollapsed,
bool);
106 vtkGetStringMacro(VerticesCollapsedArray);
107 vtkSetStringMacro(VerticesCollapsedArray);
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.
char * EdgesCollapsedArray
static vtkCollapseVerticesByArray * New()
vtkCollapseVerticesByArrayInternal * Internal
void AddAggregateEdgeArray(const char *arrName)
Add arrays on which aggregation of data is allowed.
vtkGraph * Create(vtkGraph *inGraph)
Create output graph given all the parameters.
~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()
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 *)