# 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 .vtk3DWidget import vtk3DWidget

class vtkPointWidget(vtk3DWidget):
    """
    vtkPointWidget - position a point in 3D space
    
    Superclass: vtk3DWidget
    
    This 3D widget allows the user to position a point in 3D space using
    a 3D cursor. The cursor has an outline bounding box, axes-aligned
    cross-hairs, and axes shadows. (The outline and shadows can be turned
    off.) Any of these can be turned off. A nice feature of the object is
    that the vtkPointWidget, like any 3D widget, will work with the
    current interactor style. That is, if vtkPointWidget does not handle
    an event, then all other registered observers (including the
    interactor style) have an opportunity to process the event.
    Otherwise, the vtkPointWidget will terminate the processing of the
    event that it handles.
    
    To use this object, just invoke SetInteractor() with the argument of
    the method a vtkRenderWindowInteractor.  You may also wish to invoke
    "PlaceWidget()" to initially position the widget. The interactor will
    act normally until the "i" key (for "interactor") is pressed, at
    which point the vtkPointWidget will appear. (See superclass
    documentation for information about changing this behavior.) To move
    the point, the user can grab (left mouse) on any widget line and
    "slide" the point into position. Scaling is achieved by using the
    right mouse button "up" the render window (makes the widget bigger)
    or "down" the render window (makes the widget smaller). To translate
    the widget use the middle mouse button. (Note: all of the translation
    interactions can be constrained to one of the x-y-z axes by using the
    "shift" key.) The vtkPointWidget produces as output a polydata with a
    single point and a vertex cell.
    
    Some additional features of this class include the ability to control
    the rendered properties of the widget. You can set the properties of
    the selected and unselected representations of the parts of the
    widget. For example, you can set the property of the 3D cursor in its
    normal and selected states.
    
    The constrained translation/sliding action (i.e., when the "shift"
    key is depressed) along the axes is based on a combination of a "hot"
    spot around the cursor focus plus the initial mouse motion after
    selection. That is, if the user selects an axis outside of the hot
    spot, then the motion is constrained along that axis. If the user
    selects the point widget near the focus (within the hot spot), the
    initial motion defines a vector which is compared to the x-y-z axes.
    The motion is constrained to the axis that is most parallel to the
    initial motion vector.
    
    @sa
    vtk3DWidget vtkLineWidget vtkBoxWidget vtkPlaneWidget
    """
    def AllOff(self): # real signature unknown; restored from __doc__
        """
        AllOff(self) -> None
        C++: void AllOff()
        """
        pass

    def AllOn(self): # real signature unknown; restored from __doc__
        """
        AllOn(self) -> None
        C++: void AllOn()
        
        Convenience methods to turn outline and shadows on and off.
        """
        pass

    def GetHotSpotSize(self): # real signature unknown; restored from __doc__
        """
        GetHotSpotSize(self) -> float
        C++: virtual double GetHotSpotSize()
        """
        return 0.0

    def GetHotSpotSizeMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetHotSpotSizeMaxValue(self) -> float
        C++: virtual double GetHotSpotSizeMaxValue()
        """
        return 0.0

    def GetHotSpotSizeMinValue(self): # real signature unknown; restored from __doc__
        """
        GetHotSpotSizeMinValue(self) -> float
        C++: virtual double GetHotSpotSizeMinValue()
        """
        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 GetOutline(self): # real signature unknown; restored from __doc__
        """
        GetOutline(self) -> int
        C++: int GetOutline()
        """
        return 0

    def GetPolyData(self, pd): # real signature unknown; restored from __doc__
        """
        GetPolyData(self, pd:vtkPolyData) -> None
        C++: void GetPolyData(vtkPolyData *pd)
        
        Grab the polydata (including points) that defines the point. A
        single point and a vertex compose the vtkPolyData.
        """
        pass

    def GetPosition(self): # real signature unknown; restored from __doc__
        """
        GetPosition(self) -> (float, float, float)
        C++: double *GetPosition()
        GetPosition(self, xyz:[float, float, float]) -> None
        C++: void GetPosition(double xyz[3])
        """
        pass

    def GetProperty(self): # real signature unknown; restored from __doc__
        """
        GetProperty(self) -> vtkProperty
        C++: virtual vtkProperty *GetProperty()
        
        Get the handle properties (the little balls are the handles). The
        properties of the handles when selected and normal can be set.
        """
        pass

    def GetSelectedProperty(self): # real signature unknown; restored from __doc__
        """
        GetSelectedProperty(self) -> vtkProperty
        C++: virtual vtkProperty *GetSelectedProperty()
        """
        pass

    def GetTranslationMode(self): # real signature unknown; restored from __doc__
        """
        GetTranslationMode(self) -> int
        C++: int GetTranslationMode()
        """
        return 0

    def GetXShadows(self): # real signature unknown; restored from __doc__
        """
        GetXShadows(self) -> int
        C++: int GetXShadows()
        """
        return 0

    def GetYShadows(self): # real signature unknown; restored from __doc__
        """
        GetYShadows(self) -> int
        C++: int GetYShadows()
        """
        return 0

    def GetZShadows(self): # real signature unknown; restored from __doc__
        """
        GetZShadows(self) -> int
        C++: int GetZShadows()
        """
        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) -> vtkPointWidget
        C++: vtkPointWidget *NewInstance()
        """
        return vtkPointWidget

    def OutlineOff(self): # real signature unknown; restored from __doc__
        """
        OutlineOff(self) -> None
        C++: void OutlineOff()
        """
        pass

    def OutlineOn(self): # real signature unknown; restored from __doc__
        """
        OutlineOn(self) -> None
        C++: void OutlineOn()
        """
        pass

    def PlaceWidget(self, bounds, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        PlaceWidget(self, bounds:[float, float, float, float, float,
            float]) -> None
        C++: void PlaceWidget(double bounds[6]) override;
        PlaceWidget(self) -> None
        C++: void PlaceWidget() override;
        PlaceWidget(self, xmin:float, xmax:float, ymin:float, ymax:float,
            zmin:float, zmax:float) -> None
        C++: void PlaceWidget(double xmin, double xmax, double ymin,
            double ymax, double zmin, double zmax) override;
        
        This method is used to initially place the widget.  The placement
        of the widget depends on whether a Prop3D or input dataset is
        provided. If one of these two is provided, they will be used to
        obtain a bounding box, around which the widget is placed.
        Otherwise, you can manually specify a bounds with the
        PlaceWidget(bounds) method. Note: PlaceWidget(bounds) is required
        by all subclasses; the other methods are provided as convenience
        methods.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkPointWidget
        C++: static vtkPointWidget *SafeDownCast(vtkObjectBase *o)
        """
        return vtkPointWidget

    def SetEnabled(self, __a): # real signature unknown; restored from __doc__
        """
        SetEnabled(self, __a:int) -> None
        C++: void SetEnabled(int) override;
        
        Methods that satisfy the superclass' API.
        """
        pass

    def SetHotSpotSize(self, _arg): # real signature unknown; restored from __doc__
        """
        SetHotSpotSize(self, _arg:float) -> None
        C++: virtual void SetHotSpotSize(double _arg)
        
        Set the "hot spot" size; i.e., the region around the focus, in
        which the motion vector is used to control the constrained
        sliding action. Note the size is specified as a fraction of the
        length of the diagonal of the point widget's bounding box.
        """
        pass

    def SetOutline(self, o): # real signature unknown; restored from __doc__
        """
        SetOutline(self, o:int) -> None
        C++: void SetOutline(int o)
        
        Turn on/off the wireframe bounding box.
        """
        pass

    def SetPosition(self, x, y, z): # real signature unknown; restored from __doc__
        """
        SetPosition(self, x:float, y:float, z:float) -> None
        C++: void SetPosition(double x, double y, double z)
        SetPosition(self, x:[float, float, float]) -> None
        C++: void SetPosition(double x[3])
        
        Set/Get the position of the point. Note that if the position is
        set outside of the bounding box, it will be clamped to the
        boundary of the bounding box.
        """
        pass

    def SetTranslationMode(self, mode): # real signature unknown; restored from __doc__
        """
        SetTranslationMode(self, mode:int) -> None
        C++: void SetTranslationMode(int mode)
        
        If translation mode is on, as the widget is moved the bounding
        box, shadows, and cursor are all translated simultaneously as the
        point moves.
        """
        pass

    def SetXShadows(self, o): # real signature unknown; restored from __doc__
        """
        SetXShadows(self, o:int) -> None
        C++: void SetXShadows(int o)
        
        Turn on/off the wireframe x-shadows.
        """
        pass

    def SetYShadows(self, o): # real signature unknown; restored from __doc__
        """
        SetYShadows(self, o:int) -> None
        C++: void SetYShadows(int o)
        
        Turn on/off the wireframe y-shadows.
        """
        pass

    def SetZShadows(self, o): # real signature unknown; restored from __doc__
        """
        SetZShadows(self, o:int) -> None
        C++: void SetZShadows(int o)
        
        Turn on/off the wireframe z-shadows.
        """
        pass

    def TranslationModeOff(self): # real signature unknown; restored from __doc__
        """
        TranslationModeOff(self) -> None
        C++: void TranslationModeOff()
        """
        pass

    def TranslationModeOn(self): # real signature unknown; restored from __doc__
        """
        TranslationModeOn(self) -> None
        C++: void TranslationModeOn()
        """
        pass

    def XShadowsOff(self): # real signature unknown; restored from __doc__
        """
        XShadowsOff(self) -> None
        C++: void XShadowsOff()
        """
        pass

    def XShadowsOn(self): # real signature unknown; restored from __doc__
        """
        XShadowsOn(self) -> None
        C++: void XShadowsOn()
        """
        pass

    def YShadowsOff(self): # real signature unknown; restored from __doc__
        """
        YShadowsOff(self) -> None
        C++: void YShadowsOff()
        """
        pass

    def YShadowsOn(self): # real signature unknown; restored from __doc__
        """
        YShadowsOn(self) -> None
        C++: void YShadowsOn()
        """
        pass

    def ZShadowsOff(self): # real signature unknown; restored from __doc__
        """
        ZShadowsOff(self) -> None
        C++: void ZShadowsOff()
        """
        pass

    def ZShadowsOn(self): # real signature unknown; restored from __doc__
        """
        ZShadowsOn(self) -> None
        C++: void ZShadowsOn()
        """
        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__\': \'vtkPointWidget\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'SetEnabled\': <method \'SetEnabled\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'PlaceWidget\': <method \'PlaceWidget\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetPolyData\': <method \'GetPolyData\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'SetPosition\': <method \'SetPosition\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetPosition\': <method \'GetPosition\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'SetOutline\': <method \'SetOutline\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetOutline\': <method \'GetOutline\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'OutlineOn\': <method \'OutlineOn\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'OutlineOff\': <method \'OutlineOff\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'SetXShadows\': <method \'SetXShadows\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetXShadows\': <method \'GetXShadows\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'XShadowsOn\': <method \'XShadowsOn\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'XShadowsOff\': <method \'XShadowsOff\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'SetYShadows\': <method \'SetYShadows\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetYShadows\': <method \'GetYShadows\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'YShadowsOn\': <method \'YShadowsOn\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'YShadowsOff\': <method \'YShadowsOff\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'SetZShadows\': <method \'SetZShadows\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetZShadows\': <method \'GetZShadows\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'ZShadowsOn\': <method \'ZShadowsOn\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'ZShadowsOff\': <method \'ZShadowsOff\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'SetTranslationMode\': <method \'SetTranslationMode\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetTranslationMode\': <method \'GetTranslationMode\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'TranslationModeOn\': <method \'TranslationModeOn\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'TranslationModeOff\': <method \'TranslationModeOff\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'AllOn\': <method \'AllOn\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'AllOff\': <method \'AllOff\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetProperty\': <method \'GetProperty\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetSelectedProperty\': <method \'GetSelectedProperty\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'SetHotSpotSize\': <method \'SetHotSpotSize\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetHotSpotSizeMinValue\': <method \'GetHotSpotSizeMinValue\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetHotSpotSizeMaxValue\': <method \'GetHotSpotSizeMaxValue\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'GetHotSpotSize\': <method \'GetHotSpotSize\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF81D65A6F0>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkInteractionWidgets.vtkPointWidget\' objects>, \'__doc__\': \'vtkPointWidget - position a point in 3D space\\n\\nSuperclass: vtk3DWidget\\n\\nThis 3D widget allows the user to position a point in 3D space using\\na 3D cursor. The cursor has an outline bounding box, axes-aligned\\ncross-hairs, and axes shadows. (The outline and shadows can be turned\\noff.) Any of these can be turned off. A nice feature of the object is\\nthat the vtkPointWidget, like any 3D widget, will work with the\\ncurrent interactor style. That is, if vtkPointWidget does not handle\\nan event, then all other registered observers (including the\\ninteractor style) have an opportunity to process the event.\\nOtherwise, the vtkPointWidget will terminate the processing of the\\nevent that it handles.\\n\\nTo use this object, just invoke SetInteractor() with the argument of\\nthe method a vtkRenderWindowInteractor.  You may also wish to invoke\\n"PlaceWidget()" to initially position the widget. The interactor will\\nact normally until the "i" key (for "interactor") is pressed, at\\nwhich point the vtkPointWidget will appear. (See superclass\\ndocumentation for information about changing this behavior.) To move\\nthe point, the user can grab (left mouse) on any widget line and\\n"slide" the point into position. Scaling is achieved by using the\\nright mouse button "up" the render window (makes the widget bigger)\\nor "down" the render window (makes the widget smaller). To translate\\nthe widget use the middle mouse button. (Note: all of the translation\\ninteractions can be constrained to one of the x-y-z axes by using the\\n"shift" key.) The vtkPointWidget produces as output a polydata with a\\nsingle point and a vertex cell.\\n\\nSome additional features of this class include the ability to control\\nthe rendered properties of the widget. You can set the properties of\\nthe selected and unselected representations of the parts of the\\nwidget. For example, you can set the property of the 3D cursor in its\\nnormal and selected states.\\n\\nThe constrained translation/sliding action (i.e., when the "shift"\\nkey is depressed) along the axes is based on a combination of a "hot"\\nspot around the cursor focus plus the initial mouse motion after\\nselection. That is, if the user selects an axis outside of the hot\\nspot, then the motion is constrained along that axis. If the user\\nselects the point widget near the focus (within the hot spot), the\\ninitial motion defines a vector which is compared to the x-y-z axes.\\nThe motion is constrained to the axis that is most parallel to the\\ninitial motion vector.\\n\\n@sa\\nvtk3DWidget vtkLineWidget vtkBoxWidget vtkPlaneWidget\\n\\n\'})'
    __vtkname__ = 'vtkPointWidget'


