# 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 vtkTreeMapLayout(__vtkmodules_vtkCommonExecutionModel.vtkTreeAlgorithm):
    """
    vtkTreeMapLayout - layout a vtkTree into a tree map
    
    Superclass: vtkTreeAlgorithm
    
    vtkTreeMapLayout assigns rectangular regions to each vertex in the
    tree, creating a tree map.  The data is added as a data array with
    four components per tuple representing the location and size of the
    rectangle using the format (Xmin, Xmax, Ymin, Ymax).
    
    This algorithm relies on a helper class to perform the actual layout.
    This helper class is a subclass of vtkTreeMapLayoutStrategy.
    
    @par Thanks: Thanks to Brian Wylie and Ken Moreland from Sandia
    National Laboratories for help developing this class.
    
    @par Thanks: Tree map concept comes from: Shneiderman, B. 1992. Tree
    visualization with tree-maps: 2-d space-filling approach. ACM Trans.
    Graph. 11, 1 (Jan. 1992), 92-99.
    """
    def FindVertex(self, pnt, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindVertex(self, pnt:[float, float], binfo:[float, ...]=...)
            -> int
        C++: vtkIdType FindVertex(float pnt[2], float *binfo=nullptr)
        
        Returns the vertex id that contains pnt (or -1 if no one contains
        it)
        """
        pass

    def GetBoundingBox(self, id, binfo, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetBoundingBox(self, id:int, binfo:[float, ...]) -> None
        C++: void GetBoundingBox(vtkIdType id, float *binfo)
        
        Return the min and max 2D points of the vertex's bounding box
        """
        pass

    def GetLayoutStrategy(self): # real signature unknown; restored from __doc__
        """
        GetLayoutStrategy(self) -> vtkTreeMapLayoutStrategy
        C++: virtual vtkTreeMapLayoutStrategy *GetLayoutStrategy()
        
        The strategy to use when laying out the tree map.
        """
        return vtkTreeMapLayoutStrategy

    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 GetRectanglesFieldName(self): # real signature unknown; restored from __doc__
        """
        GetRectanglesFieldName(self) -> str
        C++: virtual char *GetRectanglesFieldName()
        
        The field name to use for storing the rectangles for each vertex.
        The rectangles are stored in a quadruple float array (minX, maxX,
        minY, maxY).
        """
        return ""

    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) -> vtkTreeMapLayout
        C++: vtkTreeMapLayout *NewInstance()
        """
        return vtkTreeMapLayout

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkTreeMapLayout
        C++: static vtkTreeMapLayout *SafeDownCast(vtkObjectBase *o)
        """
        return vtkTreeMapLayout

    def SetLayoutStrategy(self, strategy): # real signature unknown; restored from __doc__
        """
        SetLayoutStrategy(self, strategy:vtkTreeMapLayoutStrategy) -> None
        C++: void SetLayoutStrategy(vtkTreeMapLayoutStrategy *strategy)
        """
        pass

    def SetRectanglesFieldName(self, _arg): # real signature unknown; restored from __doc__
        """
        SetRectanglesFieldName(self, _arg:str) -> None
        C++: virtual void SetRectanglesFieldName(const char *_arg)
        """
        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.
        """
        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__': 'vtkTreeMapLayout', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'GetRectanglesFieldName': <method 'GetRectanglesFieldName' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'SetRectanglesFieldName': <method 'SetRectanglesFieldName' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'SetSizeArrayName': <method 'SetSizeArrayName' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'GetLayoutStrategy': <method 'GetLayoutStrategy' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'SetLayoutStrategy': <method 'SetLayoutStrategy' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'FindVertex': <method 'FindVertex' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'GetBoundingBox': <method 'GetBoundingBox' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, 'GetMTime': <method 'GetMTime' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF85625A060>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInfovisLayout.vtkTreeMapLayout' objects>, '__doc__': 'vtkTreeMapLayout - layout a vtkTree into a tree map\\n\\nSuperclass: vtkTreeAlgorithm\\n\\nvtkTreeMapLayout assigns rectangular regions to each vertex in the\\ntree, creating a tree map.  The data is added as a data array with\\nfour components per tuple representing the location and size of the\\nrectangle using the format (Xmin, Xmax, Ymin, Ymax).\\n\\nThis algorithm relies on a helper class to perform the actual layout.\\nThis helper class is a subclass of vtkTreeMapLayoutStrategy.\\n\\n@par Thanks: Thanks to Brian Wylie and Ken Moreland from Sandia\\nNational Laboratories for help developing this class.\\n\\n@par Thanks: Tree map concept comes from: Shneiderman, B. 1992. Tree\\nvisualization with tree-maps: 2-d space-filling approach. ACM Trans.\\nGraph. 11, 1 (Jan. 1992), 92-99.\\n\\n'})"
    __vtkname__ = 'vtkTreeMapLayout'


