# 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 vtkTerrainContourLineInterpolator(vtkContourLineInterpolator):
    """
    vtkTerrainContourLineInterpolator - Contour interpolator for DEM data.
    
    Superclass: vtkContourLineInterpolator
    
    vtkTerrainContourLineInterpolator interpolates nodes on height field
    data. The class is meant to be used in conjunciton with a
    vtkContourWidget, enabling you to draw paths on terrain data. The
    class internally uses a vtkProjectedTerrainPath. Users can set kind
    of interpolation desired between two node points by setting the modes
    of the this filter. For instance:
    
    contourRepresentation->SetLineInterpolator(interpolator);
    interpolator->SetImageData( demDataFile );
    interpolator->GetProjector()->SetProjectionModeToHug();
    interpolator->SetHeightOffset(25.0);
    
    You are required to set the ImageData to this class as the
    height-field image.
    
    @sa
    vtkTerrainDataPointPlacer vtkProjectedTerrainPath
    """
    def GetImageData(self): # real signature unknown; restored from __doc__
        """
        GetImageData(self) -> vtkImageData
        C++: virtual vtkImageData *GetImageData()
        """
        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 GetProjector(self): # real signature unknown; restored from __doc__
        """
        GetProjector(self) -> vtkProjectedTerrainPath
        C++: virtual vtkProjectedTerrainPath *GetProjector()
        
        Get the vtkProjectedTerrainPath operator used to project the
        terrain onto the data. This operator has several modes, See the
        documentation of vtkProjectedTerrainPath. The default mode is to
        hug the terrain data at 0 height offset.
        """
        pass

    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;
        
        Interpolate to create lines between contour nodes idx1 and idx2.
        Depending on the projection mode, the interpolated line may
        either hug the terrain, just connect the two points with a
        straight line or a non-occluded interpolation. Used internally by
        vtkContourRepresentation.
        """
        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) -> vtkTerrainContourLineInterpolator
        C++: vtkTerrainContourLineInterpolator *NewInstance()
        """
        return vtkTerrainContourLineInterpolator

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkTerrainContourLineInterpolator
        C++: static vtkTerrainContourLineInterpolator *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkTerrainContourLineInterpolator

    def SetImageData(self, __a): # real signature unknown; restored from __doc__
        """
        SetImageData(self, __a:vtkImageData) -> None
        C++: virtual void SetImageData(vtkImageData *)
        
        Set the height field data. The height field data is a 2D image.
        The scalars in the image represent the height field. This must be
        set.
        """
        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. Used
        internally by vtkContourRepresentation 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__': 'vtkTerrainContourLineInterpolator', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, 'InterpolateLine': <method 'InterpolateLine' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, 'UpdateNode': <method 'UpdateNode' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, 'SetImageData': <method 'SetImageData' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, 'GetImageData': <method 'GetImageData' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, 'GetProjector': <method 'GetProjector' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D6670C0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkTerrainContourLineInterpolator' objects>, '__doc__': 'vtkTerrainContourLineInterpolator - Contour interpolator for DEM data.\\n\\nSuperclass: vtkContourLineInterpolator\\n\\nvtkTerrainContourLineInterpolator interpolates nodes on height field\\ndata. The class is meant to be used in conjunciton with a\\nvtkContourWidget, enabling you to draw paths on terrain data. The\\nclass internally uses a vtkProjectedTerrainPath. Users can set kind\\nof interpolation desired between two node points by setting the modes\\nof the this filter. For instance:\\n\\ncontourRepresentation->SetLineInterpolator(interpolator);\\ninterpolator->SetImageData( demDataFile );\\ninterpolator->GetProjector()->SetProjectionModeToHug();\\ninterpolator->SetHeightOffset(25.0);\\n\\nYou are required to set the ImageData to this class as the\\nheight-field image.\\n\\n@sa\\nvtkTerrainDataPointPlacer vtkProjectedTerrainPath\\n\\n'})"
    __vtkname__ = 'vtkTerrainContourLineInterpolator'


