# 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 vtkEdgeTable(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkEdgeTable - keep track of edges (edge is pair of integer id's)
    
    Superclass: vtkObject
    
    vtkEdgeTable is a general object for keeping track of lists of edges.
    An edge is defined by the pair of point id's (p1,p2). Methods are
    available to insert edges, check if edges exist, and traverse the
    list of edges. Also, it's possible to associate attribute information
    with each edge. The attribute information may take the form of
    vtkIdType id's, void* pointers, or points. To store attributes, make
    sure that InitEdgeInsertion() is invoked with the storeAttributes
    flag set properly. If points are inserted, use the methods
    InitPointInsertion() and InsertUniquePoint().
    """
    def GetNextEdge(self, p1, p2): # real signature unknown; restored from __doc__
        """
        GetNextEdge(self, p1:int, p2:int) -> int
        C++: vtkIdType GetNextEdge(vtkIdType &p1, vtkIdType &p2)
        
        Traverse list of edges in table. Return the edge as (p1,p2),
        where p1 and p2 are point id's. Method return value is <0 if list
        is exhausted; non-zero otherwise. The value of p1 is guaranteed
        to be <= p2.
        """
        return 0

    def GetNumberOfEdges(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfEdges(self) -> int
        C++: virtual vtkIdType GetNumberOfEdges()
        
        Return the number of edges that have been inserted thus far.
        """
        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 InitEdgeInsertion(self, numPoints, storeAttributes=0): # real signature unknown; restored from __doc__
        """
        InitEdgeInsertion(self, numPoints:int, storeAttributes:int=0)
            -> int
        C++: int InitEdgeInsertion(vtkIdType numPoints,
            int storeAttributes=0)
        
        Initialize the edge insertion process. Provide an estimate of the
        number of points in a dataset (the maximum range value of p1 or
        p2).  The storeAttributes variable controls whether attributes
        are to be stored with the edge, and what type of attributes. If
        storeAttributes==1, then attributes of vtkIdType can be stored.
        If storeAttributes==2, then attributes of type void* can be
        stored. In either case, additional memory will be required by the
        data structure to store attribute data per each edge.  This
        method is used in conjunction with one of the three InsertEdge()
        methods described below (don't mix the InsertEdge()
        methods---make sure that the one used is consistent with the
        storeAttributes flag set in InitEdgeInsertion()).
        """
        return 0

    def Initialize(self): # real signature unknown; restored from __doc__
        """
        Initialize(self) -> None
        C++: void Initialize()
        
        Free memory and return to the initially instantiated state.
        """
        pass

    def InitPointInsertion(self, newPts, estSize): # real signature unknown; restored from __doc__
        """
        InitPointInsertion(self, newPts:vtkPoints, estSize:int) -> int
        C++: int InitPointInsertion(vtkPoints *newPts, vtkIdType estSize)
        
        Initialize the point insertion process. The newPts is an object
        representing point coordinates into which incremental insertion
        methods place their data. The points are associated with the
        edge.
        """
        return 0

    def InitTraversal(self): # real signature unknown; restored from __doc__
        """
        InitTraversal(self) -> None
        C++: void InitTraversal()
        
        Initialize traversal of edges in table.
        """
        pass

    def InsertEdge(self, p1, p2): # real signature unknown; restored from __doc__
        """
        InsertEdge(self, p1:int, p2:int) -> int
        C++: vtkIdType InsertEdge(vtkIdType p1, vtkIdType p2)
        InsertEdge(self, p1:int, p2:int, attributeId:int) -> None
        C++: void InsertEdge(vtkIdType p1, vtkIdType p2,
            vtkIdType attributeId)
        InsertEdge(self, p1:int, p2:int, ptr:Pointer) -> None
        C++: void InsertEdge(vtkIdType p1, vtkIdType p2, void *ptr)
        
        Insert the edge (p1,p2) into the table. It is the user's
        responsibility to check if the edge has already been inserted
        (use IsEdge()). If the storeAttributes flag in
        InitEdgeInsertion() has been set, then the method returns a
        unique integer id (i.e., the edge id) that can be used to set and
        get edge attributes. Otherwise, the method will return 1. Do not
        mix this method with the InsertEdge() method that follows.
        """
        return 0

    def InsertUniquePoint(self, p1, p2, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        InsertUniquePoint(self, p1:int, p2:int, x:[float, float, float],
            ptId:int) -> int
        C++: int InsertUniquePoint(vtkIdType p1, vtkIdType p2,
            double x[3], vtkIdType &ptId)
        
        Insert a unique point on the specified edge. Invoke this method
        only after InitPointInsertion() has been called. Return 0 if
        point was already in the list, otherwise return 1.
        """
        pass

    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 IsEdge(self, p1, p2): # real signature unknown; restored from __doc__
        """
        IsEdge(self, p1:int, p2:int) -> int
        C++: vtkIdType IsEdge(vtkIdType p1, vtkIdType p2)
        
        Return an integer id for the edge, or an attribute id of the edge
        (p1,p2) if the edge has been previously defined (it depends upon
        which version of InsertEdge() is being used); otherwise -1. The
        unique integer id can be used to set and retrieve attributes to
        the edge.
        """
        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 NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkEdgeTable
        C++: vtkEdgeTable *NewInstance()
        """
        return vtkEdgeTable

    def Reset(self): # real signature unknown; restored from __doc__
        """
        Reset(self) -> None
        C++: void Reset()
        
        Reset the object and prepare for reinsertion of edges. Does not
        delete memory like the Initialize() method.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkEdgeTable
        C++: static vtkEdgeTable *SafeDownCast(vtkObjectBase *o)
        """
        return vtkEdgeTable

    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__\': \'vtkEdgeTable\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'Initialize\': <method \'Initialize\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'InitEdgeInsertion\': <method \'InitEdgeInsertion\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'InsertEdge\': <method \'InsertEdge\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'IsEdge\': <method \'IsEdge\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'InitPointInsertion\': <method \'InitPointInsertion\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'InsertUniquePoint\': <method \'InsertUniquePoint\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'GetNumberOfEdges\': <method \'GetNumberOfEdges\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'InitTraversal\': <method \'InitTraversal\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'GetNextEdge\': <method \'GetNextEdge\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'Reset\': <method \'Reset\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF81D61FAB0>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkCommonDataModel.vtkEdgeTable\' objects>, \'__doc__\': "vtkEdgeTable - keep track of edges (edge is pair of integer id\'s)\\n\\nSuperclass: vtkObject\\n\\nvtkEdgeTable is a general object for keeping track of lists of edges.\\nAn edge is defined by the pair of point id\'s (p1,p2). Methods are\\navailable to insert edges, check if edges exist, and traverse the\\nlist of edges. Also, it\'s possible to associate attribute information\\nwith each edge. The attribute information may take the form of\\nvtkIdType id\'s, void* pointers, or points. To store attributes, make\\nsure that InitEdgeInsertion() is invoked with the storeAttributes\\nflag set properly. If points are inserted, use the methods\\nInitPointInsertion() and InsertUniquePoint().\\n\\n"})'
    __vtkname__ = 'vtkEdgeTable'


