# encoding: utf-8
# module vtkmodules.vtkInfovisLayout
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkInfovisLayout.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkCommonExecutionModel as __vtkmodules_vtkCommonExecutionModel


class vtkIncrementalForceLayout(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkIncrementalForceLayout - incremental force-directed layout.
    
    Superclass: vtkObject
    
    Performs an incremental force-directed layout of a graph. Set the
    graph then iteratively execute UpdatePositions() to update the vertex
    positions. Note that this directly modifies the vertex locations in
    the graph.
    
    This layout is modeled after D3's force layout described at
    https://github.com/mbostock/d3/wiki/Force-Layout
    """
    def GetAlpha(self): # real signature unknown; restored from __doc__
        """
        GetAlpha(self) -> float
        C++: virtual float GetAlpha()
        """
        return 0.0

    def GetCharge(self): # real signature unknown; restored from __doc__
        """
        GetCharge(self) -> float
        C++: virtual float GetCharge()
        """
        return 0.0

    def GetDistance(self): # real signature unknown; restored from __doc__
        """
        GetDistance(self) -> float
        C++: virtual float GetDistance()
        """
        return 0.0

    def GetFixed(self): # real signature unknown; restored from __doc__
        """
        GetFixed(self) -> int
        C++: virtual vtkIdType GetFixed()
        """
        return 0

    def GetFriction(self): # real signature unknown; restored from __doc__
        """
        GetFriction(self) -> float
        C++: virtual float GetFriction()
        """
        return 0.0

    def GetGraph(self): # real signature unknown; restored from __doc__
        """
        GetGraph(self) -> vtkGraph
        C++: virtual vtkGraph *GetGraph()
        """
        pass

    def GetGravity(self): # real signature unknown; restored from __doc__
        """
        GetGravity(self) -> float
        C++: virtual float GetGravity()
        """
        return 0.0

    def GetGravityPoint(self): # real signature unknown; restored from __doc__
        """
        GetGravityPoint(self) -> vtkVector2f
        C++: virtual vtkVector2f GetGravityPoint()
        """
        pass

    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 GetStrength(self): # real signature unknown; restored from __doc__
        """
        GetStrength(self) -> float
        C++: virtual float GetStrength()
        """
        return 0.0

    def GetTheta(self): # real signature unknown; restored from __doc__
        """
        GetTheta(self) -> float
        C++: virtual float GetTheta()
        """
        return 0.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 NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkIncrementalForceLayout
        C++: vtkIncrementalForceLayout *NewInstance()
        """
        return vtkIncrementalForceLayout

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkIncrementalForceLayout
        C++: static vtkIncrementalForceLayout *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkIncrementalForceLayout

    def SetAlpha(self, _arg): # real signature unknown; restored from __doc__
        """
        SetAlpha(self, _arg:float) -> None
        C++: virtual void SetAlpha(float _arg)
        
        Set the level of activity in the simulation. Default is 0.1.
        """
        pass

    def SetCharge(self, _arg): # real signature unknown; restored from __doc__
        """
        SetCharge(self, _arg:float) -> None
        C++: virtual void SetCharge(float _arg)
        
        Set the charge of each vertex. Higher negative values will repel
        vertices from each other more strongly. Default is -30.
        """
        pass

    def SetDistance(self, _arg): # real signature unknown; restored from __doc__
        """
        SetDistance(self, _arg:float) -> None
        C++: virtual void SetDistance(float _arg)
        
        Set the resting distance of each link in scene units, which is
        equal to pixels when there is no scene scaling. Default is 20.
        """
        pass

    def SetFixed(self, fixed): # real signature unknown; restored from __doc__
        """
        SetFixed(self, fixed:int) -> None
        C++: virtual void SetFixed(vtkIdType fixed)
        
        Set the id of the vertex that will not move during the
        simulation. Set to -1 to allow all the vertices to move.
        """
        pass

    def SetFriction(self, _arg): # real signature unknown; restored from __doc__
        """
        SetFriction(self, _arg:float) -> None
        C++: virtual void SetFriction(float _arg)
        
        Set the multiplier for scaling down velocity in the simulation,
        where values closer to 1 are more frictionless. Default is 0.95.
        """
        pass

    def SetGraph(self, g): # real signature unknown; restored from __doc__
        """
        SetGraph(self, g:vtkGraph) -> None
        C++: virtual void SetGraph(vtkGraph *g)
        
        Set the graph to be positioned.
        """
        pass

    def SetGravity(self, _arg): # real signature unknown; restored from __doc__
        """
        SetGravity(self, _arg:float) -> None
        C++: virtual void SetGravity(float _arg)
        
        Set the amount of gravitational pull toward the gravity point.
        Default is 0.01.
        """
        pass

    def SetGravityPoint(self, point): # real signature unknown; restored from __doc__
        """
        SetGravityPoint(self, point:vtkVector2f) -> None
        C++: virtual void SetGravityPoint(const vtkVector2f &point)
        
        Set the gravity point where all vertices will migrate. Generally
        this should be set to the location in the center of the scene.
        Default location is (200, 200).
        """
        pass

    def SetStrength(self, _arg): # real signature unknown; restored from __doc__
        """
        SetStrength(self, _arg:float) -> None
        C++: virtual void SetStrength(float _arg)
        
        Set the rigitity of links in the simulation. Default is 2.
        """
        pass

    def SetTheta(self, _arg): # real signature unknown; restored from __doc__
        """
        SetTheta(self, _arg:float) -> None
        C++: virtual void SetTheta(float _arg)
        
        Set the Barnes-Hut threshold for the simulation. Higher values
        will speed the simulation at the expense of some accuracy.
        Default is 0.8.
        """
        pass

    def UpdatePositions(self): # real signature unknown; restored from __doc__
        """
        UpdatePositions(self) -> None
        C++: void UpdatePositions()
        
        Perform one iteration of the force-directed layout.
        """
        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__\': \'vtkIncrementalForceLayout\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'SetGraph\': <method \'SetGraph\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'GetGraph\': <method \'GetGraph\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'SetFixed\': <method \'SetFixed\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'GetFixed\': <method \'GetFixed\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'SetAlpha\': <method \'SetAlpha\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'GetAlpha\': <method \'GetAlpha\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'SetTheta\': <method \'SetTheta\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'GetTheta\': <method \'GetTheta\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'SetCharge\': <method \'SetCharge\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'GetCharge\': <method \'GetCharge\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'SetStrength\': <method \'SetStrength\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'GetStrength\': <method \'GetStrength\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'SetDistance\': <method \'SetDistance\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'GetDistance\': <method \'GetDistance\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'SetGravity\': <method \'SetGravity\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'GetGravity\': <method \'GetGravity\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'SetFriction\': <method \'SetFriction\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'GetFriction\': <method \'GetFriction\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'SetGravityPoint\': <method \'SetGravityPoint\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'GetGravityPoint\': <method \'GetGravityPoint\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'UpdatePositions\': <method \'UpdatePositions\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF856256760>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkInfovisLayout.vtkIncrementalForceLayout\' objects>, \'__doc__\': "vtkIncrementalForceLayout - incremental force-directed layout.\\n\\nSuperclass: vtkObject\\n\\nPerforms an incremental force-directed layout of a graph. Set the\\ngraph then iteratively execute UpdatePositions() to update the vertex\\npositions. Note that this directly modifies the vertex locations in\\nthe graph.\\n\\nThis layout is modeled after D3\'s force layout described at\\nhttps://github.com/mbostock/d3/wiki/Force-Layout\\n\\n"})'
    __vtkname__ = 'vtkIncrementalForceLayout'


