# 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 .vtkBorderRepresentation import vtkBorderRepresentation

class vtkScalarBarRepresentation(vtkBorderRepresentation):
    """
    vtkScalarBarRepresentation - represent scalar bar for
    vtkScalarBarWidget
    
    Superclass: vtkBorderRepresentation
    
    This class represents a scalar bar for a vtkScalarBarWidget.  This
    class provides support for interactively placing a scalar bar on the
    2D overlay plane.  The scalar bar is defined by an instance of
    vtkScalarBarActor.
    
    One specialty of this class is that if the scalar bar is moved near
    enough to an edge, it's orientation is flipped to match that edge.
    
    @sa
    vtkScalarBarWidget vtkWidgetRepresentation vtkScalarBarActor
    """
    def BuildRepresentation(self): # real signature unknown; restored from __doc__
        """
        BuildRepresentation(self) -> None
        C++: void BuildRepresentation() override;
        
        Satisfy the superclass' API.
        """
        pass

    def GetActors2D(self, collection): # real signature unknown; restored from __doc__
        """
        GetActors2D(self, collection:vtkPropCollection) -> None
        C++: void GetActors2D(vtkPropCollection *collection) override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        pass

    def GetAutoOrient(self): # real signature unknown; restored from __doc__
        """
        GetAutoOrient(self) -> bool
        C++: virtual bool GetAutoOrient()
        """
        return False

    def GetNumberOfGenerationsFromBase(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBase(self, type:str) -> int
        C++: vtkIdType GetNumberOfGenerationsFromBase(const char *type)
            override;
        
        Standard methods for instances of this class.
        """
        return 0

    def GetNumberOfGenerationsFromBaseType(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBaseType(type:str) -> int
        C++: static vtkIdType GetNumberOfGenerationsFromBaseType(
            const char *type)
        
        Standard methods for instances of this class.
        """
        return 0

    def GetOrientation(self): # real signature unknown; restored from __doc__
        """
        GetOrientation(self) -> int
        C++: int GetOrientation()
        """
        return 0

    def GetScalarBarActor(self): # real signature unknown; restored from __doc__
        """
        GetScalarBarActor(self) -> vtkScalarBarActor
        C++: virtual vtkScalarBarActor *GetScalarBarActor()
        
        The prop that is placed in the renderer.
        """
        pass

    def GetSize(self, size, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetSize(self, size:[float, float]) -> None
        C++: void GetSize(double size[2]) override;
        
        Subclasses should implement these methods. See the superclasses'
        documentation for more information.
        """
        pass

    def GetVisibility(self): # real signature unknown; restored from __doc__
        """
        GetVisibility(self) -> int
        C++: vtkTypeBool GetVisibility() override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        return 0

    def HasTranslucentPolygonalGeometry(self): # real signature unknown; restored from __doc__
        """
        HasTranslucentPolygonalGeometry(self) -> int
        C++: vtkTypeBool HasTranslucentPolygonalGeometry() override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        return 0

    def IsA(self, type): # real signature unknown; restored from __doc__
        """
        IsA(self, type:str) -> int
        C++: vtkTypeBool IsA(const char *type) override;
        
        Standard methods for instances of this class.
        """
        return 0

    def IsTypeOf(self, type): # real signature unknown; restored from __doc__
        """
        IsTypeOf(type:str) -> int
        C++: static vtkTypeBool IsTypeOf(const char *type)
        
        Standard methods for instances of this class.
        """
        return 0

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkScalarBarRepresentation
        C++: vtkScalarBarRepresentation *NewInstance()
        
        Standard methods for instances of this class.
        """
        return vtkScalarBarRepresentation

    def ReleaseGraphicsResources(self, window): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self, window:vtkWindow) -> None
        C++: void ReleaseGraphicsResources(vtkWindow *window) override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        pass

    def RenderOpaqueGeometry(self, __a): # real signature unknown; restored from __doc__
        """
        RenderOpaqueGeometry(self, __a:vtkViewport) -> int
        C++: int RenderOpaqueGeometry(vtkViewport *) override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        return 0

    def RenderOverlay(self, __a): # real signature unknown; restored from __doc__
        """
        RenderOverlay(self, __a:vtkViewport) -> int
        C++: int RenderOverlay(vtkViewport *) override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        return 0

    def RenderTranslucentPolygonalGeometry(self, __a): # real signature unknown; restored from __doc__
        """
        RenderTranslucentPolygonalGeometry(self, __a:vtkViewport) -> int
        C++: int RenderTranslucentPolygonalGeometry(vtkViewport *)
            override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        return 0

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkScalarBarRepresentation
        C++: static vtkScalarBarRepresentation *SafeDownCast(
            vtkObjectBase *o)
        
        Standard methods for instances of this class.
        """
        return vtkScalarBarRepresentation

    def SetAutoOrient(self, _arg): # real signature unknown; restored from __doc__
        """
        SetAutoOrient(self, _arg:bool) -> None
        C++: virtual void SetAutoOrient(bool _arg)
        
        If true, the orientation will be updated based on the widget's
        position. Default is true.
        """
        pass

    def SetOrientation(self, orient): # real signature unknown; restored from __doc__
        """
        SetOrientation(self, orient:int) -> None
        C++: void SetOrientation(int orient)
        
        Get/Set the orientation.
        """
        pass

    def SetScalarBarActor(self, __a): # real signature unknown; restored from __doc__
        """
        SetScalarBarActor(self, __a:vtkScalarBarActor) -> None
        C++: virtual void SetScalarBarActor(vtkScalarBarActor *)
        """
        pass

    def SetVisibility(self, __a): # real signature unknown; restored from __doc__
        """
        SetVisibility(self, __a:int) -> None
        C++: void SetVisibility(vtkTypeBool) override;
        
        Set/Get visibility of this vtkProp. Initial value is true.
        """
        pass

    def WidgetInteraction(self, eventPos, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        WidgetInteraction(self, eventPos:[float, float]) -> None
        C++: void WidgetInteraction(double eventPos[2]) override;
        
        Subclasses should implement these methods. See the superclasses'
        documentation for more information.
        """
        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__\': \'vtkScalarBarRepresentation\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'GetScalarBarActor\': <method \'GetScalarBarActor\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'SetScalarBarActor\': <method \'SetScalarBarActor\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'BuildRepresentation\': <method \'BuildRepresentation\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'WidgetInteraction\': <method \'WidgetInteraction\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'GetSize\': <method \'GetSize\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'GetVisibility\': <method \'GetVisibility\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'SetVisibility\': <method \'SetVisibility\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'GetActors2D\': <method \'GetActors2D\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'ReleaseGraphicsResources\': <method \'ReleaseGraphicsResources\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'RenderOverlay\': <method \'RenderOverlay\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'RenderOpaqueGeometry\': <method \'RenderOpaqueGeometry\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'RenderTranslucentPolygonalGeometry\': <method \'RenderTranslucentPolygonalGeometry\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'HasTranslucentPolygonalGeometry\': <method \'HasTranslucentPolygonalGeometry\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'SetAutoOrient\': <method \'SetAutoOrient\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'GetAutoOrient\': <method \'GetAutoOrient\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'SetOrientation\': <method \'SetOrientation\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'GetOrientation\': <method \'GetOrientation\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF81D6605F0>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkInteractionWidgets.vtkScalarBarRepresentation\' objects>, \'__doc__\': "vtkScalarBarRepresentation - represent scalar bar for\\nvtkScalarBarWidget\\n\\nSuperclass: vtkBorderRepresentation\\n\\nThis class represents a scalar bar for a vtkScalarBarWidget.  This\\nclass provides support for interactively placing a scalar bar on the\\n2D overlay plane.  The scalar bar is defined by an instance of\\nvtkScalarBarActor.\\n\\nOne specialty of this class is that if the scalar bar is moved near\\nenough to an edge, it\'s orientation is flipped to match that edge.\\n\\n@sa\\nvtkScalarBarWidget vtkWidgetRepresentation vtkScalarBarActor\\n\\n"})'
    __vtkname__ = 'vtkScalarBarRepresentation'


