# 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


from .vtkPlanes import vtkPlanes

class vtkPlanesIntersection(vtkPlanes):
    """
    vtkPlanesIntersection - A vtkPlanesIntersection object is a
       vtkPlanes object that can compute whether the arbitrary convex
    region
       bounded by it's planes intersects an axis-aligned box.
    
    Superclass: vtkPlanes
    
    A subclass of vtkPlanes, this class determines whether it
       intersects an axis aligned box.   This is motivated by the
       need to intersect the axis aligned region of a spacial
       decomposition of volume data with various other regions.
       It uses the algorithm from Graphics Gems IV, page 81.
    
    @par Caveat:
       An instance of vtkPlanes can be redefined by changing the planes,
       but this subclass then will not know if the region vertices are
       up to date.  (Region vertices can be specified in
    SetRegionVertices
       or computed by the subclass.)  So Delete and recreate if you want
       to change the set of planes.
    """
    def Convert3DCell(self, cell): # real signature unknown; restored from __doc__
        """
        Convert3DCell(cell:vtkCell) -> vtkPlanesIntersection
        C++: static vtkPlanesIntersection *Convert3DCell(vtkCell *cell)
        
        Another convenience function provided by this class, returns the
        vtkPlanesIntersection object representing a 3D cell.  The point
        IDs for each face must be given in counter-clockwise order from
        the outside of the cell.
        """
        return vtkPlanesIntersection

    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 GetNumberOfRegionVertices(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfRegionVertices(self) -> int
        C++: int GetNumberOfRegionVertices()
        """
        return 0

    def GetNumRegionVertices(self): # real signature unknown; restored from __doc__
        """
        GetNumRegionVertices(self) -> int
        C++: int GetNumRegionVertices()
        """
        return 0

    def GetRegionVertices(self, v, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetRegionVertices(self, v:[float, ...], nvertices:int) -> int
        C++: int GetRegionVertices(double *v, int nvertices)
        """
        pass

    def IntersectsRegion(self, R): # real signature unknown; restored from __doc__
        """
        IntersectsRegion(self, R:vtkPoints) -> int
        C++: int IntersectsRegion(vtkPoints *R)
        
        Return 1 if the axis aligned box defined by R intersects the
        region defined by the planes, or 0 otherwise.
        """
        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) -> vtkPlanesIntersection
        C++: vtkPlanesIntersection *NewInstance()
        """
        return vtkPlanesIntersection

    def PolygonIntersectsBBox(self, bounds, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        PolygonIntersectsBBox(bounds:[float, float, float, float, float,
            float], pts:vtkPoints) -> int
        C++: static int PolygonIntersectsBBox(double bounds[6],
            vtkPoints *pts)
        
        A convenience function provided by this class, returns 1 if the
        polygon defined in pts intersects the bounding box defined in
        bounds, 0 otherwise.
        
        * The points must define a planar polygon.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkPlanesIntersection
        C++: static vtkPlanesIntersection *SafeDownCast(vtkObjectBase *o)
        """
        return vtkPlanesIntersection

    def SetRegionVertices(self, pts): # real signature unknown; restored from __doc__
        """
        SetRegionVertices(self, pts:vtkPoints) -> None
        C++: void SetRegionVertices(vtkPoints *pts)
        SetRegionVertices(self, v:[float, ...], nvertices:int) -> None
        C++: void SetRegionVertices(double *v, int nvertices)
        
        It helps if you know the vertices of the convex region. If you
        don't, we will calculate them.  Region vertices are 3-tuples.
        """
        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__\': \'vtkPlanesIntersection\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'SetRegionVertices\': <method \'SetRegionVertices\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'GetNumberOfRegionVertices\': <method \'GetNumberOfRegionVertices\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'GetNumRegionVertices\': <method \'GetNumRegionVertices\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'GetRegionVertices\': <method \'GetRegionVertices\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'IntersectsRegion\': <method \'IntersectsRegion\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'PolygonIntersectsBBox\': <method \'PolygonIntersectsBBox\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'Convert3DCell\': <method \'Convert3DCell\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF81D640F40>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkCommonDataModel.vtkPlanesIntersection\' objects>, \'__doc__\': "vtkPlanesIntersection - A vtkPlanesIntersection object is a\\n   vtkPlanes object that can compute whether the arbitrary convex\\nregion\\n   bounded by it\'s planes intersects an axis-aligned box.\\n\\nSuperclass: vtkPlanes\\n\\nA subclass of vtkPlanes, this class determines whether it\\n   intersects an axis aligned box.   This is motivated by the\\n   need to intersect the axis aligned region of a spacial\\n   decomposition of volume data with various other regions.\\n   It uses the algorithm from Graphics Gems IV, page 81.\\n\\n@par Caveat:\\n   An instance of vtkPlanes can be redefined by changing the planes,\\n   but this subclass then will not know if the region vertices are\\n   up to date.  (Region vertices can be specified in\\nSetRegionVertices\\n   or computed by the subclass.)  So Delete and recreate if you want\\n   to change the set of planes.\\n\\n"})'
    __vtkname__ = 'vtkPlanesIntersection'


