# 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 .vtkContourLineInterpolator import vtkContourLineInterpolator

class vtkDijkstraImageContourLineInterpolator(vtkContourLineInterpolator):
    """
    vtkDijkstraImageContourLineInterpolator - Contour interpolator for
    placing points on an image.
    
    Superclass: vtkContourLineInterpolator
    
    vtkDijkstraImageContourLineInterpolator interpolates and places
    contour points on images. The class interpolates nodes by computing a
    graph laying on the image data. By graph, we mean that the line
    interpolating the two end points traverses along pixels so as to form
    a shortest path. A Dijkstra algorithm is used to compute the path.
    
    The class is meant to be used in conjunction with
    vtkImageActorPointPlacer. One reason for this coupling is a
    performance issue: both classes need to perform a cell pick, and
    coupling avoids multiple cell picks (cell picks are slow).  Another
    issue is that the interpolator may need to set the image input to its
    vtkDijkstraImageGeodesicPath ivar.
    
    @sa
    vtkContourWidget vtkContourLineInterpolator
    vtkDijkstraImageGeodesicPath
    """
    def GetCostImage(self): # real signature unknown; restored from __doc__
        """
        GetCostImage(self) -> vtkImageData
        C++: virtual vtkImageData *GetCostImage()
        """
        pass

    def GetDijkstraImageGeodesicPath(self): # real signature unknown; restored from __doc__
        """
        GetDijkstraImageGeodesicPath(self) -> vtkDijkstraImageGeodesicPath
        C++: virtual vtkDijkstraImageGeodesicPath *GetDijkstraImageGeodesicPath(
            )
        
        access to the internal dijkstra path
        """
        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 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) -> vtkDijkstraImageContourLineInterpolator
        C++: vtkDijkstraImageContourLineInterpolator *NewInstance()
        """
        return vtkDijkstraImageContourLineInterpolator

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase)
            -> vtkDijkstraImageContourLineInterpolator
        C++: static vtkDijkstraImageContourLineInterpolator *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkDijkstraImageContourLineInterpolator

    def SetCostImage(self, __a): # real signature unknown; restored from __doc__
        """
        SetCostImage(self, __a:vtkImageData) -> None
        C++: virtual void SetCostImage(vtkImageData *)
        
        Set the image data for the vtkDijkstraImageGeodesicPath. If not
        set, the interpolator uses the image data input to the image
        actor. The image actor is obtained from the expected
        vtkImageActorPointPlacer.
        """
        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__': 'vtkDijkstraImageContourLineInterpolator', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, 'InterpolateLine': <method 'InterpolateLine' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, 'SetCostImage': <method 'SetCostImage' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, 'GetCostImage': <method 'GetCostImage' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, 'GetDijkstraImageGeodesicPath': <method 'GetDijkstraImageGeodesicPath' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D6451E0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkDijkstraImageContourLineInterpolator' objects>, '__doc__': 'vtkDijkstraImageContourLineInterpolator - Contour interpolator for\\nplacing points on an image.\\n\\nSuperclass: vtkContourLineInterpolator\\n\\nvtkDijkstraImageContourLineInterpolator interpolates and places\\ncontour points on images. The class interpolates nodes by computing a\\ngraph laying on the image data. By graph, we mean that the line\\ninterpolating the two end points traverses along pixels so as to form\\na shortest path. A Dijkstra algorithm is used to compute the path.\\n\\nThe class is meant to be used in conjunction with\\nvtkImageActorPointPlacer. One reason for this coupling is a\\nperformance issue: both classes need to perform a cell pick, and\\ncoupling avoids multiple cell picks (cell picks are slow).  Another\\nissue is that the interpolator may need to set the image input to its\\nvtkDijkstraImageGeodesicPath ivar.\\n\\n@sa\\nvtkContourWidget vtkContourLineInterpolator\\nvtkDijkstraImageGeodesicPath\\n\\n'})"
    __vtkname__ = 'vtkDijkstraImageContourLineInterpolator'


