# 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 vtkImageActorPointPlacer(vtkPointPlacer):
    """
    vtkImageActorPointPlacer - Converts 2D display positions to world
    positions such that they lie on an ImageActor
    
    Superclass: vtkPointPlacer
    
    This PointPlacer is used to constrain the placement of points on the
    supplied image actor. Additionally, you may set bounds to restrict
    the placement of the points. The placement of points will then be
    constrained to lie not only on the ImageActor but also within the
    bounds specified. If no bounds are specified, they may lie anywhere
    on the supplied ImageActor.
    """
    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 and renderer and a display position in pixels, find a world
        position and orientation. In this class an internal
        vtkBoundedPlanePointPlacer is used to compute the world position
        and orientation. The internal placer is set to use the plane of
        the image actor and the bounds of the image actor as the
        constraints for placing points.
        """
        pass

    def GetBounds(self): # real signature unknown; restored from __doc__
        """
        GetBounds(self) -> (float, float, float, float, float, float)
        C++: virtual double *GetBounds()
        """
        pass

    def GetImageActor(self): # real signature unknown; restored from __doc__
        """
        GetImageActor(self) -> vtkImageActor
        C++: virtual vtkImageActor *GetImageActor()
        """
        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 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) -> vtkImageActorPointPlacer
        C++: vtkImageActorPointPlacer *NewInstance()
        """
        return vtkImageActorPointPlacer

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkImageActorPointPlacer
        C++: static vtkImageActorPointPlacer *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkImageActorPointPlacer

    def SetBounds(self, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6): # real signature unknown; restored from __doc__
        """
        SetBounds(self, _arg1:float, _arg2:float, _arg3:float,
            _arg4:float, _arg5:float, _arg6:float) -> None
        C++: virtual void SetBounds(double _arg1, double _arg2,
            double _arg3, double _arg4, double _arg5, double _arg6)
        SetBounds(self, _arg:(float, float, float, float, float, float))
            -> None
        C++: virtual void SetBounds(const double _arg[6])
        
        Optionally, you may set bounds to restrict the placement of the
        points. The placement of points will then be constrained to lie
        not only on the ImageActor but also within the bounds specified.
        If no bounds are specified, they may lie anywhere on the supplied
        ImageActor.
        """
        pass

    def SetImageActor(self, __a): # real signature unknown; restored from __doc__
        """
        SetImageActor(self, __a:vtkImageActor) -> None
        C++: void SetImageActor(vtkImageActor *)
        
        Set / get the reference vtkImageActor used to place the points.
        An image actor must be set for this placer to work. An internal
        bounded plane point placer is created and set to match the bounds
        of the displayed image.
        """
        pass

    def SetWorldTolerance(self, tol): # real signature unknown; restored from __doc__
        """
        SetWorldTolerance(self, tol:float) -> None
        C++: void SetWorldTolerance(double tol) override;
        
        Set the world tolerance. This propagates it to the internal
        BoundedPlanePointPlacer.
        """
        pass

    def UpdateInternalState(self): # real signature unknown; restored from __doc__
        """
        UpdateInternalState(self) -> int
        C++: int UpdateInternalState() override;
        
        A method for configuring the internal placer according to the
        constraints of the image actor. Called by the representation to
        give the placer a chance to update itself, which may cause the
        MTime to change, which would then cause the representation to
        update all of its points
        """
        return 0

    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;
        
        Update the world position and orientation according the the
        current constraints of the placer. Will be called by the
        representation when it notices that this placer has been
        modified.
        """
        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;
        
        This method validates a world position by checking to see if the
        world position is valid according to the constraints of the
        internal placer (essentially - is this world position on the
        image?)
        """
        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__': 'vtkImageActorPointPlacer', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'ComputeWorldPosition': <method 'ComputeWorldPosition' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'ValidateWorldPosition': <method 'ValidateWorldPosition' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'UpdateWorldPosition': <method 'UpdateWorldPosition' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'UpdateInternalState': <method 'UpdateInternalState' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'SetImageActor': <method 'SetImageActor' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'GetImageActor': <method 'GetImageActor' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'SetBounds': <method 'SetBounds' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'GetBounds': <method 'GetBounds' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, 'SetWorldTolerance': <method 'SetWorldTolerance' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D64B840>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkImageActorPointPlacer' objects>, '__doc__': 'vtkImageActorPointPlacer - Converts 2D display positions to world\\npositions such that they lie on an ImageActor\\n\\nSuperclass: vtkPointPlacer\\n\\nThis PointPlacer is used to constrain the placement of points on the\\nsupplied image actor. Additionally, you may set bounds to restrict\\nthe placement of the points. The placement of points will then be\\nconstrained to lie not only on the ImageActor but also within the\\nbounds specified. If no bounds are specified, they may lie anywhere\\non the supplied ImageActor.\\n\\n'})"
    __vtkname__ = 'vtkImageActorPointPlacer'


