33 #ifndef vtkCollapseVerticesByArray_h
34 #define vtkCollapseVerticesByArray_h
37 #include "vtkInfovisCoreModule.h"
39 class vtkCollapseVerticesByArrayInternal;
53 vtkGetMacro(AllowSelfLoops,
bool);
54 vtkSetMacro(AllowSelfLoops,
bool);
55 vtkBooleanMacro(AllowSelfLoops,
bool);
62 void AddAggregateEdgeArray(
const char* arrName);
67 void ClearAggregateEdgeArray();
73 vtkGetStringMacro(VertexArray);
74 vtkSetStringMacro(VertexArray);
81 vtkGetMacro(CountEdgesCollapsed,
bool);
82 vtkSetMacro(CountEdgesCollapsed,
bool);
83 vtkBooleanMacro(CountEdgesCollapsed,
bool);
91 vtkGetStringMacro(EdgesCollapsedArray);
92 vtkSetStringMacro(EdgesCollapsedArray);
99 vtkGetMacro(CountVerticesCollapsed,
bool);
100 vtkSetMacro(CountVerticesCollapsed,
bool);
101 vtkBooleanMacro(CountVerticesCollapsed,
bool);
109 vtkGetStringMacro(VerticesCollapsedArray);
110 vtkSetStringMacro(VerticesCollapsedArray);
157 #endif // vtkCollapseVerticesByArray_h__
static vtkGraphAlgorithm * New()
char * VerticesCollapsedArray
Collapse the graph given a vertex array.
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 target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
bool CountVerticesCollapsed
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
vtkCollapseVerticesByArrayInternal * Internal
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
char * EdgesCollapsedArray