# 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 vtkClosedSurfacePointPlacer(vtkPointPlacer):
    """
    vtkClosedSurfacePointPlacer - PointPlacer to constrain validity
    within a set of convex planes
    
    Superclass: vtkPointPlacer
    
    This placer takes a set of boudning planes and constraints the
    validity within the supplied convex planes. It is used by the
    ParallelopPipedRepresentation to place constraints on the motion the
    handles within the parallelopiped.
    
    @sa
    vtkParallelopipedRepresentation
    """
    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], 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[2],
            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 GetMinimumDistance(self): # real signature unknown; restored from __doc__
        """
        GetMinimumDistance(self) -> float
        C++: virtual double GetMinimumDistance()
        """
        return 0.0

    def GetMinimumDistanceMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetMinimumDistanceMaxValue(self) -> float
        C++: virtual double GetMinimumDistanceMaxValue()
        """
        return 0.0

    def GetMinimumDistanceMinValue(self): # real signature unknown; restored from __doc__
        """
        GetMinimumDistanceMinValue(self) -> float
        C++: virtual double GetMinimumDistanceMinValue()
        """
        return 0.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) -> vtkClosedSurfacePointPlacer
        C++: vtkClosedSurfacePointPlacer *NewInstance()
        """
        return vtkClosedSurfacePointPlacer

    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) -> vtkClosedSurfacePointPlacer
        C++: static vtkClosedSurfacePointPlacer *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkClosedSurfacePointPlacer

    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 SetMinimumDistance(self, _arg): # real signature unknown; restored from __doc__
        """
        SetMinimumDistance(self, _arg:float) -> None
        C++: virtual void SetMinimumDistance(double _arg)
        """
        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."""


    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkClosedSurfacePointPlacer', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'AddBoundingPlane': <method 'AddBoundingPlane' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'RemoveBoundingPlane': <method 'RemoveBoundingPlane' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'RemoveAllBoundingPlanes': <method 'RemoveAllBoundingPlanes' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'SetBoundingPlanes': <method 'SetBoundingPlanes' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'GetBoundingPlanes': <method 'GetBoundingPlanes' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'ComputeWorldPosition': <method 'ComputeWorldPosition' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'ValidateWorldPosition': <method 'ValidateWorldPosition' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'SetMinimumDistance': <method 'SetMinimumDistance' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'GetMinimumDistanceMinValue': <method 'GetMinimumDistanceMinValue' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'GetMinimumDistanceMaxValue': <method 'GetMinimumDistanceMaxValue' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, 'GetMinimumDistance': <method 'GetMinimumDistance' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D640770>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkClosedSurfacePointPlacer' objects>, '__doc__': 'vtkClosedSurfacePointPlacer - PointPlacer to constrain validity\\nwithin a set of convex planes\\n\\nSuperclass: vtkPointPlacer\\n\\nThis placer takes a set of boudning planes and constraints the\\nvalidity within the supplied convex planes. It is used by the\\nParallelopPipedRepresentation to place constraints on the motion the\\nhandles within the parallelopiped.\\n\\n@sa\\nvtkParallelopipedRepresentation\\n\\n'})"
    __vtkname__ = 'vtkClosedSurfacePointPlacer'


