# 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 .vtkCurveRepresentation import vtkCurveRepresentation

class vtkAbstractSplineRepresentation(vtkCurveRepresentation):
    """
    vtkAbstractSplineRepresentation - abstract representation for a
    spline.
    
    Superclass: vtkCurveRepresentation
    
    vtkAbstractSplineRepresentation is a vtkWidgetRepresentation for an
    abstract spline. This 3D widget defines a spline that can be
    accessed, set and configured. Deriving classes are then able to
    combine their own handles using this class.
    """
    def GetHandlePositions(self): # real signature unknown; restored from __doc__
        """
        GetHandlePositions(self) -> vtkDoubleArray
        C++: vtkDoubleArray *GetHandlePositions() override;
        
        Get the position of the spline handles.
        """
        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 GetParametricSpline(self): # real signature unknown; restored from __doc__
        """
        GetParametricSpline(self) -> vtkParametricSpline
        C++: virtual vtkParametricSpline *GetParametricSpline()
        
        Set the parametric spline object. Can be redefined in the child
        classes for further updates when a spline is set. The default
        value is nullptr.
        """
        pass

    def GetPolyData(self, pd): # real signature unknown; restored from __doc__
        """
        GetPolyData(self, pd:vtkPolyData) -> None
        C++: void GetPolyData(vtkPolyData *pd) override;
        
        Grab the polydata (including points) that defines the spline. 
        The polydata consists of points and line segments numbering
        Resolution + 1 and Resolution, respectively. Points are
        guaranteed to be up-to-date when either the InteractionEvent or
        EndInteraction events are invoked. The user provides the
        vtkPolyData and the points and polyline are added to it.
        """
        pass

    def GetResolution(self): # real signature unknown; restored from __doc__
        """
        GetResolution(self) -> int
        C++: virtual int GetResolution()
        """
        return 0

    def GetSummedLength(self): # real signature unknown; restored from __doc__
        """
        GetSummedLength(self) -> float
        C++: double GetSummedLength() override;
        
        Get the approximate vs. the true arc length of the spline.
        Calculated as the summed lengths of the individual straight line
        segments. Use SetResolution to control the accuracy.
        """
        return 0.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) -> vtkAbstractSplineRepresentation
        C++: vtkAbstractSplineRepresentation *NewInstance()
        """
        return vtkAbstractSplineRepresentation

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkAbstractSplineRepresentation
        C++: static vtkAbstractSplineRepresentation *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkAbstractSplineRepresentation

    def SetParametricSpline(self, spline): # real signature unknown; restored from __doc__
        """
        SetParametricSpline(self, spline:vtkParametricSpline) -> None
        C++: virtual void SetParametricSpline(vtkParametricSpline *spline)
        """
        pass

    def SetResolution(self, resolution): # real signature unknown; restored from __doc__
        """
        SetResolution(self, resolution:int) -> None
        C++: void SetResolution(int resolution)
        
        Set/Get the number of line segments representing the spline for
        this widget. The default value is 499.
        """
        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__': 'vtkAbstractSplineRepresentation', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, 'GetPolyData': <method 'GetPolyData' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, 'SetResolution': <method 'SetResolution' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, 'GetResolution': <method 'GetResolution' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, 'GetParametricSpline': <method 'GetParametricSpline' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, 'SetParametricSpline': <method 'SetParametricSpline' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, 'GetHandlePositions': <method 'GetHandlePositions' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, 'GetSummedLength': <method 'GetSummedLength' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D632DF0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkAbstractSplineRepresentation' objects>, '__doc__': 'vtkAbstractSplineRepresentation - abstract representation for a\\nspline.\\n\\nSuperclass: vtkCurveRepresentation\\n\\nvtkAbstractSplineRepresentation is a vtkWidgetRepresentation for an\\nabstract spline. This 3D widget defines a spline that can be\\naccessed, set and configured. Deriving classes are then able to\\ncombine their own handles using this class.\\n\\n'})"
    __vtkname__ = 'vtkAbstractSplineRepresentation'


