33 #ifndef vtkCollapseVerticesByArray_h 34 #define vtkCollapseVerticesByArray_h 36 #include "vtkInfovisCoreModule.h" 39 class vtkCollapseVerticesByArrayInternal;
53 vtkGetMacro(AllowSelfLoops,
bool);
54 vtkSetMacro(AllowSelfLoops,
bool);
55 vtkBooleanMacro(AllowSelfLoops,
bool);
62 void AddAggregateEdgeArray(
const char* arrName);
68 void ClearAggregateEdgeArray();
74 vtkGetStringMacro(VertexArray);
75 vtkSetStringMacro(VertexArray);
83 vtkGetMacro(CountEdgesCollapsed,
bool);
84 vtkSetMacro(CountEdgesCollapsed,
bool);
85 vtkBooleanMacro(CountEdgesCollapsed,
bool);
93 vtkGetStringMacro(EdgesCollapsedArray);
94 vtkSetStringMacro(EdgesCollapsedArray);
102 vtkGetMacro(CountVerticesCollapsed,
bool);
103 vtkSetMacro(CountVerticesCollapsed,
bool);
104 vtkBooleanMacro(CountVerticesCollapsed,
bool);
112 vtkGetStringMacro(VerticesCollapsedArray);
113 vtkSetStringMacro(VerticesCollapsedArray);
165 #endif // vtkCollapseVerticesByArray_h__ static vtkGraphAlgorithm * New()
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
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
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.
vtkCollapseVerticesByArrayInternal * Internal
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
char * EdgesCollapsedArray