# 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 .vtkWidgetRepresentation import vtkWidgetRepresentation

class vtkParallelopipedRepresentation(vtkWidgetRepresentation):
    """
    vtkParallelopipedRepresentation - Default representation for
    vtkParallelopipedWidget
    
    Superclass: vtkWidgetRepresentation
    
    This class provides the default geometrical representation for
    vtkParallelopipedWidget. As a result of interactions of the widget,
    this representation can take on of the following shapes:
    
    1) A parallelopiped. (8 handles, 6 faces)
    
    2) Paralleopiped with a chair depression on any one handle. (A chair
    is a depression on one of the handles that carves inwards so as to
    allow the user to visualize cuts in the volume). (14 handles, 9
    faces).
    
    @sa
    vtkParallelopipedWidget
    """
    def BuildRepresentation(self): # real signature unknown; restored from __doc__
        """
        BuildRepresentation(self) -> None
        C++: void BuildRepresentation() override;
        
        This actually constructs the geometry of the widget from the
        various data parameters.
        """
        pass

    def ComputeInteractionState(self, X, Y, modify=0): # real signature unknown; restored from __doc__
        """
        ComputeInteractionState(self, X:int, Y:int, modify:int=0) -> int
        C++: int ComputeInteractionState(int X, int Y, int modify=0)
            override;
        
        Given and x-y display coordinate, compute the interaction state
        of the widget.
        """
        return 0

    def GetActors(self, pc): # real signature unknown; restored from __doc__
        """
        GetActors(self, pc:vtkPropCollection) -> None
        C++: void GetActors(vtkPropCollection *pc) override;
        
        Methods to satisfy the superclass.
        """
        pass

    def GetBoundingPlanes(self, pc): # real signature unknown; restored from __doc__
        """
        GetBoundingPlanes(self, pc:vtkPlaneCollection) -> None
        C++: void GetBoundingPlanes(vtkPlaneCollection *pc)
        
        Get the bounding planes of the object. The first 6 planes will be
        bounding planes of the parallelopiped. If in chair mode, three
        additional planes will be present. The last three planes will be
        those of the chair. The normals of all the planes will point into
        the object.
        """
        pass

    def GetBounds(self): # real signature unknown; restored from __doc__
        """
        GetBounds(self) -> (float, float, float, float, float, float)
        C++: double *GetBounds() override;
        
        The parallelopiped polydata.
        """
        pass

    def GetFaceProperty(self): # real signature unknown; restored from __doc__
        """
        GetFaceProperty(self) -> vtkProperty
        C++: virtual vtkProperty *GetFaceProperty()
        
        Get the face properties. When a face is being translated, the
        face gets highlighted with the SelectedFaceProperty.
        """
        pass

    def GetHandleProperty(self): # real signature unknown; restored from __doc__
        """
        GetHandleProperty(self) -> vtkProperty
        C++: virtual vtkProperty *GetHandleProperty()
        """
        pass

    def GetHandleRepresentation(self, index): # real signature unknown; restored from __doc__
        """
        GetHandleRepresentation(self, index:int)
            -> vtkHandleRepresentation
        C++: vtkHandleRepresentation *GetHandleRepresentation(int index)
        """
        return vtkHandleRepresentation

    def GetHoveredHandleProperty(self): # real signature unknown; restored from __doc__
        """
        GetHoveredHandleProperty(self) -> vtkProperty
        C++: virtual vtkProperty *GetHoveredHandleProperty()
        """
        pass

    def GetMinimumThickness(self): # real signature unknown; restored from __doc__
        """
        GetMinimumThickness(self) -> float
        C++: virtual double GetMinimumThickness()
        """
        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 GetOutlineProperty(self): # real signature unknown; restored from __doc__
        """
        GetOutlineProperty(self) -> vtkProperty
        C++: virtual vtkProperty *GetOutlineProperty()
        
        Get the outline properties. These are the properties with which
        the parallelopiped wireframe is rendered.
        """
        pass

    def GetPolyData(self, pd): # real signature unknown; restored from __doc__
        """
        GetPolyData(self, pd:vtkPolyData) -> None
        C++: void GetPolyData(vtkPolyData *pd)
        
        The parallelopiped polydata.
        """
        pass

    def GetSelectedFaceProperty(self): # real signature unknown; restored from __doc__
        """
        GetSelectedFaceProperty(self) -> vtkProperty
        C++: virtual vtkProperty *GetSelectedFaceProperty()
        """
        pass

    def GetSelectedHandleProperty(self): # real signature unknown; restored from __doc__
        """
        GetSelectedHandleProperty(self) -> vtkProperty
        C++: virtual vtkProperty *GetSelectedHandleProperty()
        """
        pass

    def GetSelectedOutlineProperty(self): # real signature unknown; restored from __doc__
        """
        GetSelectedOutlineProperty(self) -> vtkProperty
        C++: virtual vtkProperty *GetSelectedOutlineProperty()
        """
        pass

    def HandlesOff(self): # real signature unknown; restored from __doc__
        """
        HandlesOff(self) -> None
        C++: void HandlesOff()
        """
        pass

    def HandlesOn(self): # real signature unknown; restored from __doc__
        """
        HandlesOn(self) -> None
        C++: void HandlesOn()
        
        Turns the visibility of the handles on/off. Sometimes they may
        get in the way of visualization.
        """
        pass

    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) -> vtkParallelopipedRepresentation
        C++: vtkParallelopipedRepresentation *NewInstance()
        """
        return vtkParallelopipedRepresentation

    def PlaceWidget(self, corners, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        PlaceWidget(self, corners:[[float, float, float], [float, float,
            float], [float, float, float], [float, float, float], [float,
            float, float], [float, float, float], [float, float, float],
            [float, float, float]]) -> None
        C++: virtual void PlaceWidget(double corners[8][3])
        PlaceWidget(self, bounds:[float, float, float, float, float,
            float]) -> None
        C++: void PlaceWidget(double bounds[6]) override;
        
        Place the widget in the scene. You can use either of the two APIs
        :
        1) PlaceWidget( double bounds[6] ) Creates a cuboid conforming to
        the said bounds.
        2) PlaceWidget( double corners[8][3] ) Creates a parallelopiped
           with corners specified. The order in which corners are
           specified must obey the following rule: Corner 0 - 1 - 2 - 3 -
        0  forms a face Corner 4 - 5 - 6 - 7 - 4  forms a face Corner 0 -
        4 - 5 - 1 - 0  forms a face Corner 1 - 5 - 6 - 2 - 1  forms a
           face Corner 2 - 6 - 7 - 3 - 2  forms a face Corner 3 - 7 - 4 -
        0 - 3  forms a face
        """
        pass

    def PositionHandles(self): # real signature unknown; restored from __doc__
        """
        PositionHandles(self) -> None
        C++: virtual void PositionHandles()
        
        Synchronize the parallelopiped handle positions with the
        Polygonal datastructure.
        """
        pass

    def ReleaseGraphicsResources(self, w): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self, w:vtkWindow) -> None
        C++: void ReleaseGraphicsResources(vtkWindow *w) override;
        
        Methods required by vtkProp superclass.
        """
        pass

    def RenderOpaqueGeometry(self, viewport): # real signature unknown; restored from __doc__
        """
        RenderOpaqueGeometry(self, viewport:vtkViewport) -> int
        C++: int RenderOpaqueGeometry(vtkViewport *viewport) override;
        
        WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT
        USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS All concrete
        subclasses must be able to render themselves. There are four key
        render methods in vtk and they correspond to four different
        points in the rendering cycle. Any given prop may implement one
        or more of these methods. The first method is intended for
        rendering all opaque geometry. The second method is intended for
        rendering all translucent polygonal geometry. The third one is
        intended for rendering all translucent volumetric geometry. Most
        of the volume rendering mappers draw their results during this
        third method. The last method is to render any 2D annotation or
        overlays. Each of these methods return an integer value
        indicating whether or not this render method was applied to this
        data.
        """
        return 0

    def RenderOverlay(self, viewport): # real signature unknown; restored from __doc__
        """
        RenderOverlay(self, viewport:vtkViewport) -> int
        C++: int RenderOverlay(vtkViewport *viewport) override;
        """
        return 0

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkParallelopipedRepresentation
        C++: static vtkParallelopipedRepresentation *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkParallelopipedRepresentation

    def Scale(self, X, Y): # real signature unknown; restored from __doc__
        """
        Scale(self, X:int, Y:int) -> None
        C++: virtual void Scale(int X, int Y)
        """
        pass

    def SetHandleProperty(self, __a): # real signature unknown; restored from __doc__
        """
        SetHandleProperty(self, __a:vtkProperty) -> None
        C++: virtual void SetHandleProperty(vtkProperty *)
        
        Set/Get the handle properties.
        """
        pass

    def SetHandleRepresentation(self, handle): # real signature unknown; restored from __doc__
        """
        SetHandleRepresentation(self, handle:vtkHandleRepresentation)
            -> None
        C++: void SetHandleRepresentation(vtkHandleRepresentation *handle)
        """
        pass

    def SetHoveredHandleProperty(self, __a): # real signature unknown; restored from __doc__
        """
        SetHoveredHandleProperty(self, __a:vtkProperty) -> None
        C++: virtual void SetHoveredHandleProperty(vtkProperty *)
        """
        pass

    def SetInteractionState(self, _arg): # real signature unknown; restored from __doc__
        """
        SetInteractionState(self, _arg:int) -> None
        C++: virtual void SetInteractionState(int _arg)
        
        The interaction state may be set from a widget (e.g.,
        PointWidget) or other object. This controls how the interaction
        with the widget proceeds.
        """
        pass

    def SetMinimumThickness(self, _arg): # real signature unknown; restored from __doc__
        """
        SetMinimumThickness(self, _arg:float) -> None
        C++: virtual void SetMinimumThickness(double _arg)
        
        Minimum thickness for the parallelopiped. User interactions
        cannot make any individual axis of the parallopiped thinner than
        this value. Default is 0.05 expressed as a fraction of the
        diagonal of the bounding box used in the PlaceWidget()
        invocation.
        """
        pass

    def SetSelectedHandleProperty(self, __a): # real signature unknown; restored from __doc__
        """
        SetSelectedHandleProperty(self, __a:vtkProperty) -> None
        C++: virtual void SetSelectedHandleProperty(vtkProperty *)
        """
        pass

    def Translate(self, translation, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        Translate(self, translation:[float, float, float]) -> None
        C++: virtual void Translate(double translation[3])
        Translate(self, X:int, Y:int) -> None
        C++: virtual void Translate(int X, int Y)
        """
        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."""


    ChairMode = 10
    Inside = 1
    InteractionStateType = None # (!) real value is "<class 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation.InteractionStateType'>"
    Outside = 0
    RequestChairMode = 4
    RequestResizeParallelopiped = 2
    RequestResizeParallelopipedAlongAnAxis = 3
    RequestRotateParallelopiped = 7
    RequestScaleParallelopiped = 6
    RequestTranslateParallelopiped = 5
    ResizingParallelopiped = 8
    ResizingParallelopipedAlongAnAxis = 9
    RotatingParallelopiped = 13
    ScalingParallelopiped = 12
    TranslatingParallelopiped = 11
    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkParallelopipedRepresentation', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetActors': <method 'GetActors' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'PlaceWidget': <method 'PlaceWidget' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'SetInteractionState': <method 'SetInteractionState' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetBoundingPlanes': <method 'GetBoundingPlanes' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetPolyData': <method 'GetPolyData' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetBounds': <method 'GetBounds' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'SetHandleProperty': <method 'SetHandleProperty' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'SetHoveredHandleProperty': <method 'SetHoveredHandleProperty' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'SetSelectedHandleProperty': <method 'SetSelectedHandleProperty' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetHandleProperty': <method 'GetHandleProperty' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetHoveredHandleProperty': <method 'GetHoveredHandleProperty' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetSelectedHandleProperty': <method 'GetSelectedHandleProperty' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'SetHandleRepresentation': <method 'SetHandleRepresentation' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetHandleRepresentation': <method 'GetHandleRepresentation' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'HandlesOn': <method 'HandlesOn' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'HandlesOff': <method 'HandlesOff' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetFaceProperty': <method 'GetFaceProperty' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetSelectedFaceProperty': <method 'GetSelectedFaceProperty' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetOutlineProperty': <method 'GetOutlineProperty' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetSelectedOutlineProperty': <method 'GetSelectedOutlineProperty' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'BuildRepresentation': <method 'BuildRepresentation' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'RenderOverlay': <method 'RenderOverlay' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'RenderOpaqueGeometry': <method 'RenderOpaqueGeometry' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'ComputeInteractionState': <method 'ComputeInteractionState' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'Translate': <method 'Translate' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'Scale': <method 'Scale' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'PositionHandles': <method 'PositionHandles' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'SetMinimumThickness': <method 'SetMinimumThickness' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'GetMinimumThickness': <method 'GetMinimumThickness' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, 'InteractionStateType': <class 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation.InteractionStateType'>, 'Outside': 0, 'Inside': 1, 'RequestResizeParallelopiped': 2, 'RequestResizeParallelopipedAlongAnAxis': 3, 'RequestChairMode': 4, 'RequestTranslateParallelopiped': 5, 'RequestScaleParallelopiped': 6, 'RequestRotateParallelopiped': 7, 'ResizingParallelopiped': 8, 'ResizingParallelopipedAlongAnAxis': 9, 'ChairMode': 10, 'TranslatingParallelopiped': 11, 'ScalingParallelopiped': 12, 'RotatingParallelopiped': 13, '__new__': <built-in method __new__ of type object at 0x00007FF81D656CA0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkParallelopipedRepresentation' objects>, '__doc__': 'vtkParallelopipedRepresentation - Default representation for\\nvtkParallelopipedWidget\\n\\nSuperclass: vtkWidgetRepresentation\\n\\nThis class provides the default geometrical representation for\\nvtkParallelopipedWidget. As a result of interactions of the widget,\\nthis representation can take on of the following shapes:\\n\\n1) A parallelopiped. (8 handles, 6 faces)\\n\\n2) Paralleopiped with a chair depression on any one handle. (A chair\\nis a depression on one of the handles that carves inwards so as to\\nallow the user to visualize cuts in the volume). (14 handles, 9\\nfaces).\\n\\n@sa\\nvtkParallelopipedWidget\\n\\n'})"
    __vtkname__ = 'vtkParallelopipedRepresentation'


