# encoding: utf-8
# module vtkmodules.vtkInteractionWidgets
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkInteractionWidgets.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkCommonExecutionModel as __vtkmodules_vtkCommonExecutionModel
import vtkmodules.vtkFiltersSources as __vtkmodules_vtkFiltersSources
import vtkmodules.vtkRenderingContext2D as __vtkmodules_vtkRenderingContext2D
import vtkmodules.vtkRenderingCore as __vtkmodules_vtkRenderingCore


from .vtkPointPlacer import vtkPointPlacer

class vtkBoundedPlanePointPlacer(vtkPointPlacer):
    """
    vtkBoundedPlanePointPlacer - a placer that constrains a handle to a
    finite plane
    
    Superclass: vtkPointPlacer
    
    vtkBoundedPlanePointPlacer is a type of point placer that constrains
    its points to a finite (i.e., bounded) plance.
    
    @sa
    vtkPointPlacer vtkHandleWidget vtkHandleRepresentation
    """
    def AddBoundingPlane(self, plane): # real signature unknown; restored from __doc__
        """
        AddBoundingPlane(self, plane:vtkPlane) -> None
        C++: void AddBoundingPlane(vtkPlane *plane)
        
        A collection of plane equations used to bound the position of the
        point. This is in addition to confining the point to a plane -
        these constraints are meant to, for example, keep a point within
        the extent of an image. Using a set of plane equations allows for
        more complex bounds (such as bounding a point to an oblique
        reliced image that has hexagonal shape) than a simple extent.
        """
        pass

    def ComputeWorldPosition(self, ren, displayPos, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        ComputeWorldPosition(self, ren:vtkRenderer, displayPos:[float,
            float], worldPos:[float, float, float], worldOrient:[float,
            float, float, float, float, float, float, float, float])
            -> int
        C++: int ComputeWorldPosition(vtkRenderer *ren,
            double displayPos[2], double worldPos[3],
            double worldOrient[9]) override;
        ComputeWorldPosition(self, ren:vtkRenderer, displayPos:[float,
            float], refWorldPos:[float, float, float], worldPos:[float,
            float, float], worldOrient:[float, float, float, float, float,
             float, float, float, float]) -> int
        C++: int ComputeWorldPosition(vtkRenderer *ren,
            double displayPos[2], double refWorldPos[3],
            double worldPos[3], double worldOrient[9]) override;
        
        Given a renderer and a display position, compute the world
        position and world orientation for this point. A plane is defined
        by a combination of the ProjectionNormal, ProjectionOrigin, and
        ObliquePlane ivars. The display position is projected onto this
        plane to determine a world position, and the orientation is set
        to the normal of the plane. If the point cannot project onto the
        plane or if it falls outside the bounds imposed by the
        BoundingPlanes, then 0 is returned, otherwise 1 is returned to
        indicate a valid return position and orientation.
        """
        pass

    def GetBoundingPlanes(self): # real signature unknown; restored from __doc__
        """
        GetBoundingPlanes(self) -> vtkPlaneCollection
        C++: virtual vtkPlaneCollection *GetBoundingPlanes()
        """
        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 GetObliquePlane(self): # real signature unknown; restored from __doc__
        """
        GetObliquePlane(self) -> vtkPlane
        C++: virtual vtkPlane *GetObliquePlane()
        """
        pass

    def GetProjectionNormal(self): # real signature unknown; restored from __doc__
        """
        GetProjectionNormal(self) -> int
        C++: virtual int GetProjectionNormal()
        """
        return 0

    def GetProjectionNormalMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetProjectionNormalMaxValue(self) -> int
        C++: virtual int GetProjectionNormalMaxValue()
        """
        return 0

    def GetProjectionNormalMinValue(self): # real signature unknown; restored from __doc__
        """
        GetProjectionNormalMinValue(self) -> int
        C++: virtual int GetProjectionNormalMinValue()
        """
        return 0

    def GetProjectionPosition(self): # real signature unknown; restored from __doc__
        """
        GetProjectionPosition(self) -> float
        C++: virtual double GetProjectionPosition()
        """
        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) -> vtkBoundedPlanePointPlacer
        C++: vtkBoundedPlanePointPlacer *NewInstance()
        """
        return vtkBoundedPlanePointPlacer

    def RemoveAllBoundingPlanes(self): # real signature unknown; restored from __doc__
        """
        RemoveAllBoundingPlanes(self) -> None
        C++: void RemoveAllBoundingPlanes()
        """
        pass

    def RemoveBoundingPlane(self, plane): # real signature unknown; restored from __doc__
        """
        RemoveBoundingPlane(self, plane:vtkPlane) -> None
        C++: void RemoveBoundingPlane(vtkPlane *plane)
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkBoundedPlanePointPlacer
        C++: static vtkBoundedPlanePointPlacer *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkBoundedPlanePointPlacer

    def SetBoundingPlanes(self, __a): # real signature unknown; restored from __doc__
        """
        SetBoundingPlanes(self, __a:vtkPlaneCollection) -> None
        C++: virtual void SetBoundingPlanes(vtkPlaneCollection *)
        SetBoundingPlanes(self, planes:vtkPlanes) -> None
        C++: void SetBoundingPlanes(vtkPlanes *planes)
        """
        pass

    def SetObliquePlane(self, __a): # real signature unknown; restored from __doc__
        """
        SetObliquePlane(self, __a:vtkPlane) -> None
        C++: void SetObliquePlane(vtkPlane *)
        
        If the ProjectionNormal is set to Oblique, then this is the
        oblique plane used to constrain the handle position.
        """
        pass

    def SetProjectionNormal(self, _arg): # real signature unknown; restored from __doc__
        """
        SetProjectionNormal(self, _arg:int) -> None
        C++: virtual void SetProjectionNormal(int _arg)
        
        Set the projection normal to lie along the x, y, or z axis, or to
        be oblique. If it is oblique, then the plane is defined in the
        ObliquePlane ivar.
        """
        pass

    def SetProjectionNormalToOblique(self): # real signature unknown; restored from __doc__
        """
        SetProjectionNormalToOblique(self) -> None
        C++: void SetProjectionNormalToOblique()
        """
        pass

    def SetProjectionNormalToXAxis(self): # real signature unknown; restored from __doc__
        """
        SetProjectionNormalToXAxis(self) -> None
        C++: void SetProjectionNormalToXAxis()
        """
        pass

    def SetProjectionNormalToYAxis(self): # real signature unknown; restored from __doc__
        """
        SetProjectionNormalToYAxis(self) -> None
        C++: void SetProjectionNormalToYAxis()
        """
        pass

    def SetProjectionNormalToZAxis(self): # real signature unknown; restored from __doc__
        """
        SetProjectionNormalToZAxis(self) -> None
        C++: void SetProjectionNormalToZAxis()
        """
        pass

    def SetProjectionPosition(self, position): # real signature unknown; restored from __doc__
        """
        SetProjectionPosition(self, position:float) -> None
        C++: void SetProjectionPosition(double position)
        
        The position of the bounding plane from the origin along the
        normal. The origin and normal are defined in the oblique plane
        when the ProjectionNormal is oblique. For the X, Y, and Z axes
        projection normals, the normal is the axis direction, and the
        origin is (0,0,0).
        """
        pass

    def UpdateWorldPosition(self, ren, worldPos, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        UpdateWorldPosition(self, ren:vtkRenderer, worldPos:[float, float,
             float], worldOrient:[float, float, float, float, float,
            float, float, float, float]) -> int
        C++: int UpdateWorldPosition(vtkRenderer *ren, double worldPos[3],
             double worldOrient[9]) override;
        
        If the constraints on this placer are changed, then this method
        will be called by the representation on each of its points. For
        this placer, the world position will be converted to a display
        position, then ComputeWorldPosition will be used to update the
        point.
        """
        pass

    def ValidateWorldPosition(self, worldPos, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        ValidateWorldPosition(self, worldPos:[float, float, float]) -> int
        C++: int ValidateWorldPosition(double worldPos[3]) override;
        ValidateWorldPosition(self, worldPos:[float, float, float],
            worldOrient:[float, float, float, float, float, float, float,
            float, float]) -> int
        C++: int ValidateWorldPosition(double worldPos[3],
            double worldOrient[9]) override;
        
        Give a world position check if it is valid - does it lie on the
        plane and within the bounds? Returns 1 if it is valid, 0
        otherwise.
        """
        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."""


    Oblique = 3
    XAxis = 0
    YAxis = 1
    ZAxis = 2
    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkBoundedPlanePointPlacer', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'SetProjectionNormal': <method 'SetProjectionNormal' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'GetProjectionNormalMinValue': <method 'GetProjectionNormalMinValue' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'GetProjectionNormalMaxValue': <method 'GetProjectionNormalMaxValue' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'GetProjectionNormal': <method 'GetProjectionNormal' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'SetProjectionNormalToXAxis': <method 'SetProjectionNormalToXAxis' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'SetProjectionNormalToYAxis': <method 'SetProjectionNormalToYAxis' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'SetProjectionNormalToZAxis': <method 'SetProjectionNormalToZAxis' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'SetProjectionNormalToOblique': <method 'SetProjectionNormalToOblique' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'SetObliquePlane': <method 'SetObliquePlane' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'GetObliquePlane': <method 'GetObliquePlane' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'SetProjectionPosition': <method 'SetProjectionPosition' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'GetProjectionPosition': <method 'GetProjectionPosition' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'AddBoundingPlane': <method 'AddBoundingPlane' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'RemoveBoundingPlane': <method 'RemoveBoundingPlane' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'RemoveAllBoundingPlanes': <method 'RemoveAllBoundingPlanes' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'SetBoundingPlanes': <method 'SetBoundingPlanes' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'GetBoundingPlanes': <method 'GetBoundingPlanes' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'ComputeWorldPosition': <method 'ComputeWorldPosition' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'ValidateWorldPosition': <method 'ValidateWorldPosition' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'UpdateWorldPosition': <method 'UpdateWorldPosition' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, 'XAxis': 0, 'YAxis': 1, 'ZAxis': 2, 'Oblique': 3, '__new__': <built-in method __new__ of type object at 0x00007FF81D639B40>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkBoundedPlanePointPlacer' objects>, '__doc__': 'vtkBoundedPlanePointPlacer - a placer that constrains a handle to a\\nfinite plane\\n\\nSuperclass: vtkPointPlacer\\n\\nvtkBoundedPlanePointPlacer is a type of point placer that constrains\\nits points to a finite (i.e., bounded) plance.\\n\\n@sa\\nvtkPointPlacer vtkHandleWidget vtkHandleRepresentation\\n\\n'})"
    __vtkname__ = 'vtkBoundedPlanePointPlacer'


