53 #ifndef vtkDistributedGraphHelper_h 54 #define vtkDistributedGraphHelper_h 56 #include "vtkCommonDataModelModule.h" 59 class vtkDistributedGraphHelperInternals;
132 virtual void Synchronize() = 0;
216 virtual void AddEdgeInternal(
const vtkVariant& uPedigreeId,
241 virtual void AttachToGraph(
vtkGraph *graph);
286 #endif // vtkDistributedGraphHelper_h helper for the vtkGraph class that allows the graph to be distributed across multiple memory spaces...
int indexBits
Number of bits required to represent {vertex,edge} index.
abstract base class for most VTK objects
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
An array holding vtkVariants.
vtkIdType highBitShiftMask
Bit mask to speed up decoding graph info {owner,index}.
A atomic type representing the union of many types.
Base class for graph data types.
vtkIdType signBitMask
Bit mask to speed up decoding graph info {owner,index}.
vtkVertexPedigreeIdDistribution VertexDistribution
The distribution function used to map a pedigree ID to a processor.
a simple class to control print indentation
void * VertexDistributionUserData
Extra, user-specified data to be passed into the distribution function.
vtkIdType(* vtkVertexPedigreeIdDistribution)(const vtkVariant &pedigreeId, void *userData)
int procBits
Number of bits required to represent # of processors (owner)
vtkGraph * Graph
The graph to which this distributed graph helper is already attached.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)