Go to the documentation of this file.
33 #ifndef vtkCollapseVerticesByArray_h
34 #define vtkCollapseVerticesByArray_h
36 #include "vtkInfovisCoreModule.h"
39 class vtkCollapseVerticesByArrayInternal;
53 vtkGetMacro(AllowSelfLoops,
bool);
75 vtkSetStringMacro(VertexArray);
83 vtkGetMacro(CountEdgesCollapsed,
bool);
94 vtkSetStringMacro(EdgesCollapsedArray);
102 vtkGetMacro(CountVerticesCollapsed,
bool);
113 vtkSetStringMacro(VerticesCollapsedArray);
165 #endif // vtkCollapseVerticesByArray_h__
void AddAggregateEdgeArray(const char *arrName)
Add arrays on which aggregation of data is allowed.
Superclass for algorithms that produce only graph as output.
vtkCollapseVerticesByArray()
vtkGraph * Create(vtkGraph *inGraph)
Create output graph given all the parameters.
vtkCollapseVerticesByArrayInternal * Internal
~vtkCollapseVerticesByArray()
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
char * EdgesCollapsedArray
void ClearAggregateEdgeArray()
Clear the list of arrays on which aggregation was set to allow.
static vtkCollapseVerticesByArray * New()
a simple class to control print indentation
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
bool CountVerticesCollapsed
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Pipeline function.
Collapse the graph given a vertex array.
void FindEdge(vtkGraph *outGraph, vtkIdType source, vtkIdType target, vtkIdType &edgeId)
Helper function.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Pipeline function.
Base class for graph data types.
char * VerticesCollapsedArray
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.