Go to the documentation of this file.
55 #ifndef vtkDistributedGraphHelper_h
56 #define vtkDistributedGraphHelper_h
61 class vtkDistributedGraphHelperInternals;
77 (
const vtkVariant& pedigreeId,
void* userData);
260 #endif // vtkDistributedGraphHelper_h
virtual void AddVertexInternal(vtkVariantArray *propertyArr, vtkIdType *vertex)=0
helper for the vtkGraph class that allows the graph to be distributed across multiple memory spaces.
static vtkInformationIntegerKey * DISTRIBUTEDVERTEXIDS()
virtual void AddEdgeInternal(const vtkVariant &uPedigreeId, vtkIdType v, bool directed, vtkVariantArray *propertyArr, vtkEdgeType *edge)=0
virtual void Synchronize()=0
#define vtkTypeMacro(thisClass, superclass)
virtual void AddEdgeInternal(vtkIdType u, const vtkVariant &vPedigreeId, bool directed, vtkVariantArray *propertyArr, vtkEdgeType *edge)=0
abstract base class for most VTK objects
virtual void AddVertexInternal(const vtkVariant &pedigreeId, vtkIdType *vertex)=0
An array holding vtkVariants.
virtual void AttachToGraph(vtkGraph *graph)
virtual vtkIdType FindVertex(const vtkVariant &pedigreeId)=0
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void PrintSelf(ostream &os, vtkIndent indent)
vtkIdType GetVertexOwner(vtkIdType v) const
void * VertexDistributionUserData
vtkIdType GetVertexOwnerByPedigreeId(const vtkVariant &pedigreeId)
vtkIdType highBitShiftMask
vtkIdType GetVertexIndex(vtkIdType v) const
a simple class to control print indentation
vtkIdType GetEdgeIndex(vtkIdType e_id) const
A atomic type representing the union of many types.
void SetVertexPedigreeIdDistribution(vtkVertexPedigreeIdDistribution Func, void *userData)
vtkIdType MakeDistributedId(int owner, vtkIdType local)
virtual void FindEdgeSourceAndTarget(vtkIdType id, vtkIdType *source, vtkIdType *target)=0
virtual vtkDistributedGraphHelper * Clone()=0
vtkIdType(* vtkVertexPedigreeIdDistribution)(const vtkVariant &pedigreeId, void *userData)
virtual void AddEdgeInternal(vtkIdType u, vtkIdType v, bool directed, vtkVariantArray *propertyArr, vtkEdgeType *edge)=0
#define VTKCOMMONDATAMODEL_EXPORT
Base class for graph data types.
vtkIdType GetEdgeOwner(vtkIdType e_id) const
vtkDistributedGraphHelper()
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
virtual ~vtkDistributedGraphHelper()
vtkVertexPedigreeIdDistribution VertexDistribution
virtual void AddEdgeInternal(const vtkVariant &uPedigreeId, const vtkVariant &vPedigreeId, bool directed, vtkVariantArray *propertyArr, vtkEdgeType *edge)=0
static vtkInformationIntegerKey * DISTRIBUTEDEDGEIDS()