# 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 .vtkPolyDataContourLineInterpolator import vtkPolyDataContourLineInterpolator

class vtkPolygonalSurfaceContourLineInterpolator(vtkPolyDataContourLineInterpolator):
    """
    vtkPolygonalSurfaceContourLineInterpolator - Contour interpolator for
    to place points on polygonal surfaces.
    
    Superclass: vtkPolyDataContourLineInterpolator
    
    vtkPolygonalSurfaceContourLineInterpolator interpolates and places
    contour points on polygonal surfaces. The class interpolates nodes by
    computing a graph geodesic laying on the polygonal data. By \em graph
    Geodesic, we mean that the line interpolating the two end points
    traverses along on the mesh edges so as to form the shortest path. A
    Dijkstra algorithm is used to compute the path. See
    vtkDijkstraGraphGeodesicPath.
    
    The class is mean to be used in conjunction with
    vtkPolygonalSurfacePointPlacer. The reason for this weak coupling is
    a performance issue, both classes need to perform a cell pick, and
    coupling avoids multiple cell picks (cell picks are slow).
    
    @warning
    You should have computed cell normals for the input polydata.
    
    @sa
    vtkDijkstraGraphGeodesicPath, vtkPolyDataNormals
    """
    def GetContourPointIds(self, rep, ids): # real signature unknown; restored from __doc__
        """
        GetContourPointIds(self, rep:vtkContourRepresentation,
            ids:vtkIdList) -> None
        C++: void GetContourPointIds(vtkContourRepresentation *rep,
            vtkIdList *ids)
        
        Get the contour point ids. These point ids correspond to those on
        the polygonal surface
        """
        pass

    def GetDistanceOffset(self): # real signature unknown; restored from __doc__
        """
        GetDistanceOffset(self) -> float
        C++: virtual double GetDistanceOffset()
        """
        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 InterpolateLine(self, ren, rep, idx1, idx2): # real signature unknown; restored from __doc__
        """
        InterpolateLine(self, ren:vtkRenderer,
            rep:vtkContourRepresentation, idx1:int, idx2:int) -> int
        C++: int InterpolateLine(vtkRenderer *ren,
            vtkContourRepresentation *rep, int idx1, int idx2) override;
        
        Subclasses that wish to interpolate a line segment must implement
        this. For instance vtkBezierContourLineInterpolator adds nodes
        between idx1 and idx2, that allow the contour to adhere to a
        bezier curve.
        """
        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) -> vtkPolygonalSurfaceContourLineInterpolator
        C++: vtkPolygonalSurfaceContourLineInterpolator *NewInstance()
        """
        return vtkPolygonalSurfaceContourLineInterpolator

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase)
            -> vtkPolygonalSurfaceContourLineInterpolator
        C++: static vtkPolygonalSurfaceContourLineInterpolator *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkPolygonalSurfaceContourLineInterpolator

    def SetDistanceOffset(self, _arg): # real signature unknown; restored from __doc__
        """
        SetDistanceOffset(self, _arg:float) -> None
        C++: virtual void SetDistanceOffset(double _arg)
        
        Height offset at which points may be placed on the polygonal
        surface. If you specify a non-zero value here, be sure to have
        computed vertex normals on your input polygonal data. (easily
        done with vtkPolyDataNormals).
        """
        pass

    def UpdateNode(self, __a, __b, node, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        UpdateNode(self, __a:vtkRenderer, __b:vtkContourRepresentation,
            node:[float, ...], idx:int) -> int
        C++: int UpdateNode(vtkRenderer *, vtkContourRepresentation *,
            double *node, int idx) override;
        
        The interpolator is given a chance to update the node.
        vtkImageContourLineInterpolator updates the idx'th node in the
        contour, so it automatically sticks to edges in the vicinity as
        the user constructs the contour. Returns 0 if the node (world
        position) is unchanged.
        """
        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__': 'vtkPolygonalSurfaceContourLineInterpolator', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, 'InterpolateLine': <method 'InterpolateLine' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, 'UpdateNode': <method 'UpdateNode' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, 'SetDistanceOffset': <method 'SetDistanceOffset' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, 'GetDistanceOffset': <method 'GetDistanceOffset' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, 'GetContourPointIds': <method 'GetContourPointIds' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D65B6A0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkPolygonalSurfaceContourLineInterpolator' objects>, '__doc__': 'vtkPolygonalSurfaceContourLineInterpolator - Contour interpolator for\\nto place points on polygonal surfaces.\\n\\nSuperclass: vtkPolyDataContourLineInterpolator\\n\\nvtkPolygonalSurfaceContourLineInterpolator interpolates and places\\ncontour points on polygonal surfaces. The class interpolates nodes by\\ncomputing a graph geodesic laying on the polygonal data. By \\\\em graph\\nGeodesic, we mean that the line interpolating the two end points\\ntraverses along on the mesh edges so as to form the shortest path. A\\nDijkstra algorithm is used to compute the path. See\\nvtkDijkstraGraphGeodesicPath.\\n\\nThe class is mean to be used in conjunction with\\nvtkPolygonalSurfacePointPlacer. The reason for this weak coupling is\\na performance issue, both classes need to perform a cell pick, and\\ncoupling avoids multiple cell picks (cell picks are slow).\\n\\n@warning\\nYou should have computed cell normals for the input polydata.\\n\\n@sa\\nvtkDijkstraGraphGeodesicPath, vtkPolyDataNormals\\n\\n'})"
    __vtkname__ = 'vtkPolygonalSurfaceContourLineInterpolator'


