33#ifndef vtkCollapseVerticesByArray_h
34#define vtkCollapseVerticesByArray_h
36#include "vtkInfovisCoreModule.h"
39class vtkCollapseVerticesByArrayInternal;
53 vtkGetMacro(AllowSelfLoops,
bool);
75 vtkSetStringMacro(VertexArray);
83 vtkGetMacro(CountEdgesCollapsed,
bool);
94 vtkSetStringMacro(EdgesCollapsedArray);
102 vtkGetMacro(CountVerticesCollapsed,
bool);
113 vtkSetStringMacro(VerticesCollapsedArray);
Collapse the graph given a vertex array.
char * VerticesCollapsedArray
void FindEdge(vtkGraph *outGraph, vtkIdType source, vtkIdType target, vtkIdType &edgeId)
Helper function.
char * EdgesCollapsedArray
static vtkCollapseVerticesByArray * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Pipeline function.
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.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Pipeline function.
~vtkCollapseVerticesByArray()
void ClearAggregateEdgeArray()
Clear the list of arrays on which aggregation was set to allow.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
bool CountVerticesCollapsed
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 *)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.