# 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 vtkCirclePackLayout(__vtkmodules_vtkCommonExecutionModel.vtkTreeAlgorithm):
    """
    vtkCirclePackLayout - layout a vtkTree as a circle packing.
    
    Superclass: vtkTreeAlgorithm
    
    vtkCirclePackLayout assigns circle shaped regions to each vertex in
    the tree, creating a circle packing layout.  The data is added as a
    data array with three components per tuple representing the center
    and radius of the circle using the format (Xcenter, Ycenter, Radius).
    
    This algorithm relies on a helper class to perform the actual layout.
    This helper class is a subclass of vtkCirclePackLayoutStrategy.
    
    An array by default called "size" can be attached to the input tree
    that specifies the size of each leaf node in the tree.  The filter
    will calculate the sizes of all interior nodes in the tree based on
    the sum of the leaf node sizes.  If no "size" array is given in the
    input vtkTree, a size of 1 is used for all leaf nodes to find the
    size of the interior nodes.
    
    @par Thanks: Thanks to Thomas Otahal from Sandia National
    Laboratories for help developing this class.
    """
    def FindVertex(self, pnt, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindVertex(self, pnt:[float, float], cinfo:[float, ...]=...)
            -> int
        C++: vtkIdType FindVertex(double pnt[2], double *cinfo=nullptr)
        
        Returns the vertex id that contains pnt (or -1 if no one contains
        it) pnt[0] is x, and pnt[1] is y. If cinfo[3] is provided, then
        (Xcenter, Ycenter, Radius) of the circle containing pnt[2] will
        be returned.
        """
        pass

    def GetBoundingCircle(self, id, cinfo, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetBoundingCircle(self, id:int, cinfo:[float, ...]) -> None
        C++: void GetBoundingCircle(vtkIdType id, double *cinfo)
        
        Return the Xcenter, Ycenter, and Radius of the vertex's bounding
        circle
        """
        pass

    def GetCirclesFieldName(self): # real signature unknown; restored from __doc__
        """
        GetCirclesFieldName(self) -> str
        C++: virtual char *GetCirclesFieldName()
        
        The field name to use for storing the circles for each vertex.
        The rectangles are stored in a triple float array (Xcenter,
        Ycenter, Radius). Default name is "circles"
        """
        return ""

    def GetLayoutStrategy(self): # real signature unknown; restored from __doc__
        """
        GetLayoutStrategy(self) -> vtkCirclePackLayoutStrategy
        C++: virtual vtkCirclePackLayoutStrategy *GetLayoutStrategy()
        
        The strategy to use when laying out the tree map.
        """
        return vtkCirclePackLayoutStrategy

    def GetMTime(self): # real signature unknown; restored from __doc__
        """
        GetMTime(self) -> int
        C++: vtkMTimeType GetMTime() override;
        
        Get the modification time of the layout algorithm.
        """
        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 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) -> vtkCirclePackLayout
        C++: vtkCirclePackLayout *NewInstance()
        """
        return vtkCirclePackLayout

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkCirclePackLayout
        C++: static vtkCirclePackLayout *SafeDownCast(vtkObjectBase *o)
        """
        return vtkCirclePackLayout

    def SetCirclesFieldName(self, _arg): # real signature unknown; restored from __doc__
        """
        SetCirclesFieldName(self, _arg:str) -> None
        C++: virtual void SetCirclesFieldName(const char *_arg)
        """
        pass

    def SetLayoutStrategy(self, strategy): # real signature unknown; restored from __doc__
        """
        SetLayoutStrategy(self, strategy:vtkCirclePackLayoutStrategy)
            -> None
        C++: void SetLayoutStrategy(vtkCirclePackLayoutStrategy *strategy)
        """
        pass

    def SetSizeArrayName(self, name): # real signature unknown; restored from __doc__
        """
        SetSizeArrayName(self, name:str) -> None
        C++: virtual void SetSizeArrayName(const char *name)
        
        The array to use for the size of each vertex. Default name is
        "size".
        """
        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__\': \'vtkCirclePackLayout\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'GetCirclesFieldName\': <method \'GetCirclesFieldName\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'SetCirclesFieldName\': <method \'SetCirclesFieldName\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'SetSizeArrayName\': <method \'SetSizeArrayName\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'GetLayoutStrategy\': <method \'GetLayoutStrategy\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'SetLayoutStrategy\': <method \'SetLayoutStrategy\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'FindVertex\': <method \'FindVertex\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'GetBoundingCircle\': <method \'GetBoundingCircle\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'GetMTime\': <method \'GetMTime\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF856251F10>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkInfovisLayout.vtkCirclePackLayout\' objects>, \'__doc__\': \'vtkCirclePackLayout - layout a vtkTree as a circle packing.\\n\\nSuperclass: vtkTreeAlgorithm\\n\\nvtkCirclePackLayout assigns circle shaped regions to each vertex in\\nthe tree, creating a circle packing layout.  The data is added as a\\ndata array with three components per tuple representing the center\\nand radius of the circle using the format (Xcenter, Ycenter, Radius).\\n\\nThis algorithm relies on a helper class to perform the actual layout.\\nThis helper class is a subclass of vtkCirclePackLayoutStrategy.\\n\\nAn array by default called "size" can be attached to the input tree\\nthat specifies the size of each leaf node in the tree.  The filter\\nwill calculate the sizes of all interior nodes in the tree based on\\nthe sum of the leaf node sizes.  If no "size" array is given in the\\ninput vtkTree, a size of 1 is used for all leaf nodes to find the\\nsize of the interior nodes.\\n\\n@par Thanks: Thanks to Thomas Otahal from Sandia National\\nLaboratories for help developing this class.\\n\\n\'})'
    __vtkname__ = 'vtkCirclePackLayout'


