32 #ifndef __vtkCollapseVerticesByArray_h__
33 #define __vtkCollapseVerticesByArray_h__
35 #include "vtkInfovisCoreModule.h"
36 #include "vtkGraphAlgorithm.h"
38 class vtkCollapseVerticesByArrayInternal;
46 void PrintSelf(ostream &os, vtkIndent indent);
50 vtkGetMacro(AllowSelfLoops,
bool);
51 vtkSetMacro(AllowSelfLoops,
bool);
52 vtkBooleanMacro(AllowSelfLoops,
bool);
57 void AddAggregateEdgeArray(
const char* arrName);
61 void ClearAggregateEdgeArray();
65 vtkGetStringMacro(VertexArray);
66 vtkSetStringMacro(VertexArray);
72 vtkGetMacro(CountEdgesCollapsed,
bool);
73 vtkSetMacro(CountEdgesCollapsed,
bool);
74 vtkBooleanMacro(CountEdgesCollapsed,
bool);
81 vtkGetStringMacro(EdgesCollapsedArray);
82 vtkSetStringMacro(EdgesCollapsedArray);
88 vtkGetMacro(CountVerticesCollapsed,
bool);
89 vtkSetMacro(CountVerticesCollapsed,
bool);
90 vtkBooleanMacro(CountVerticesCollapsed,
bool);
97 vtkGetStringMacro(VerticesCollapsedArray);
98 vtkSetStringMacro(VerticesCollapsedArray);
108 virtual int RequestData(vtkInformation* request,
109 vtkInformationVector** inputVector,
110 vtkInformationVector* outputVector);
114 virtual int FillOutputPortInformation(
int port, vtkInformation* info);
118 vtkGraph* Create(vtkGraph* inGraph);
122 void FindEdge(vtkGraph* outGraph, vtkIdType
source,
123 vtkIdType
target, vtkIdType& edgeId);
146 #endif // __vtkCollapseVerticesByArray_h__
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
char * VerticesCollapsedArray
Collapse the graph given a vertex array.
bool CountVerticesCollapsed
vtkCollapseVerticesByArrayInternal * Internal
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
char * EdgesCollapsedArray