# encoding: utf-8
# module vtkmodules.vtkCommonDataModel
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkCommonDataModel.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkCommonMath as __vtkmodules_vtkCommonMath
import vtkmodules.vtkCommonTransforms as __vtkmodules_vtkCommonTransforms


class vtkDistributedGraphHelper(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkVertexPedigreeIdDistributionFunction - The type of a function used
    to determine how to distribute vertex pedigree IDs across processors
    in a vtkGraph. The pedigree ID distribution function takes the
    pedigree ID of the vertex and a user-supplied void pointer and
    returns a hash value V. A vertex with that pedigree ID will reside on
    processor V % P, where P is the number of processors. This type is
    used in conjunction with the vtkDistributedGraphHelper class.
    
    Superclass: vtkObject
    """
    def Clone(self): # real signature unknown; restored from __doc__
        """
        Clone(self) -> vtkDistributedGraphHelper
        C++: virtual vtkDistributedGraphHelper *Clone()
        
        Clones the distributed graph helper, returning another
        distributed graph helper of the same kind that can be used in
        another vtkGraph.
        """
        return vtkDistributedGraphHelper

    def DISTRIBUTEDEDGEIDS(self): # real signature unknown; restored from __doc__
        """
        DISTRIBUTEDEDGEIDS() -> vtkInformationIntegerKey
        C++: static vtkInformationIntegerKey *DISTRIBUTEDEDGEIDS()
        """
        pass

    def DISTRIBUTEDVERTEXIDS(self): # real signature unknown; restored from __doc__
        """
        DISTRIBUTEDVERTEXIDS() -> vtkInformationIntegerKey
        C++: static vtkInformationIntegerKey *DISTRIBUTEDVERTEXIDS()
        
        Information Keys that distributed graphs can append to attribute
        arrays to flag them as containing distributed IDs.  These can be
        used to let routines that migrate vertices (either repartitioning
        or collecting graphs to single nodes) to also modify the ids
        contained in the attribute arrays to maintain consistency.
        """
        pass

    def GetEdgeIndex(self, e_id): # real signature unknown; restored from __doc__
        """
        GetEdgeIndex(self, e_id:int) -> int
        C++: vtkIdType GetEdgeIndex(vtkIdType e_id)
        
        Returns local index of edge with ID e_id, by masking off top
        ceil(log2 P) bits of e_id.
        """
        return 0

    def GetEdgeOwner(self, e_id): # real signature unknown; restored from __doc__
        """
        GetEdgeOwner(self, e_id:int) -> int
        C++: vtkIdType GetEdgeOwner(vtkIdType e_id)
        
        Returns owner of edge with ID e_id, by extracting top ceil(log2
        P) bits of e_id.
        """
        return 0

    def GetNumberOfGenerationsFromBase(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBase(self, type:str) -> int
        C++: vtkIdType GetNumberOfGenerationsFromBase(const char *type)
            override;
        
        Given the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def GetNumberOfGenerationsFromBaseType(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBaseType(type:str) -> int
        C++: static vtkIdType GetNumberOfGenerationsFromBaseType(
            const char *type)
        
        Given a the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def GetVertexIndex(self, v): # real signature unknown; restored from __doc__
        """
        GetVertexIndex(self, v:int) -> int
        C++: vtkIdType GetVertexIndex(vtkIdType v)
        
        Returns local index of vertex v, by masking off top ceil(log2 P)
        bits of v.
        """
        return 0

    def GetVertexOwner(self, v): # real signature unknown; restored from __doc__
        """
        GetVertexOwner(self, v:int) -> int
        C++: vtkIdType GetVertexOwner(vtkIdType v)
        
        Returns owner of vertex v, by extracting top ceil(log2 P) bits of
        v.
        """
        return 0

    def GetVertexOwnerByPedigreeId(self, pedigreeId): # real signature unknown; restored from __doc__
        """
        GetVertexOwnerByPedigreeId(self, pedigreeId:vtkVariant) -> int
        C++: vtkIdType GetVertexOwnerByPedigreeId(
            const vtkVariant &pedigreeId)
        
        Determine which processor owns the vertex with the given pedigree
        ID.
        """
        return 0

    def IsA(self, type): # real signature unknown; restored from __doc__
        """
        IsA(self, type:str) -> int
        C++: vtkTypeBool IsA(const char *type) override;
        
        Return 1 if this class is the same type of (or a subclass of) the
        named class. Returns 0 otherwise. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def IsTypeOf(self, type): # real signature unknown; restored from __doc__
        """
        IsTypeOf(type:str) -> int
        C++: static vtkTypeBool IsTypeOf(const char *type)
        
        Return 1 if this class type is the same type of (or a subclass
        of) the named class. Returns 0 otherwise. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def MakeDistributedId(self, owner, local): # real signature unknown; restored from __doc__
        """
        MakeDistributedId(self, owner:int, local:int) -> int
        C++: vtkIdType MakeDistributedId(int owner, vtkIdType local)
        
        Builds a distributed ID consisting of the given owner and the
        local ID.
        """
        return 0

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkDistributedGraphHelper
        C++: vtkDistributedGraphHelper *NewInstance()
        """
        return vtkDistributedGraphHelper

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkDistributedGraphHelper
        C++: static vtkDistributedGraphHelper *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkDistributedGraphHelper

    def Synchronize(self): # real signature unknown; restored from __doc__
        """
        Synchronize(self) -> None
        C++: virtual void Synchronize()
        
        Synchronizes all of the processors involved in this distributed
        graph, so that all processors have a consistent view of the
        distributed graph for the computation that follows. This routine
        should be invoked after adding new edges into the distributed
        graph, so that other processors will see those edges (or their
        corresponding back-edges).
        """
        pass

    def __delattr__(self, *args, **kwargs): # real signature unknown
        """ Implement delattr(self, name). """
        pass

    def __getattribute__(self, *args, **kwargs): # real signature unknown
        """ Return getattr(self, name). """
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __repr__(self, *args, **kwargs): # real signature unknown
        """ Return repr(self). """
        pass

    def __setattr__(self, *args, **kwargs): # real signature unknown
        """ Implement setattr(self, name, value). """
        pass

    def __str__(self, *args, **kwargs): # real signature unknown
        """ Return str(self). """
        pass

    __this__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Pointer to the C++ object."""


    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkDistributedGraphHelper', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'GetVertexOwner': <method 'GetVertexOwner' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'GetVertexIndex': <method 'GetVertexIndex' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'GetEdgeOwner': <method 'GetEdgeOwner' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'GetEdgeIndex': <method 'GetEdgeIndex' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'MakeDistributedId': <method 'MakeDistributedId' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'GetVertexOwnerByPedigreeId': <method 'GetVertexOwnerByPedigreeId' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'Synchronize': <method 'Synchronize' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'Clone': <method 'Clone' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'DISTRIBUTEDVERTEXIDS': <method 'DISTRIBUTEDVERTEXIDS' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, 'DISTRIBUTEDEDGEIDS': <method 'DISTRIBUTEDEDGEIDS' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D61F350>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkDistributedGraphHelper' objects>, '__doc__': 'vtkVertexPedigreeIdDistributionFunction - The type of a function used\\nto determine how to distribute vertex pedigree IDs across processors\\nin a vtkGraph. The pedigree ID distribution function takes the\\npedigree ID of the vertex and a user-supplied void pointer and\\nreturns a hash value V. A vertex with that pedigree ID will reside on\\nprocessor V % P, where P is the number of processors. This type is\\nused in conjunction with the vtkDistributedGraphHelper class.\\n\\nSuperclass: vtkObject\\n\\n'})"
    __vtkname__ = 'vtkDistributedGraphHelper'


