# encoding: utf-8
# module vtkmodules.vtkCommonDataModel
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkCommonDataModel.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkCommonMath as __vtkmodules_vtkCommonMath
import vtkmodules.vtkCommonTransforms as __vtkmodules_vtkCommonTransforms


class vtkGenericInterpolatedVelocityField(__vtkmodules_vtkCommonMath.vtkFunctionSet):
    """
    vtkGenericInterpolatedVelocityField - Interface for obtaining
    interpolated velocity values
    
    Superclass: vtkFunctionSet
    
    vtkGenericInterpolatedVelocityField acts as a continuous velocity
    field by performing cell interpolation on the underlying vtkDataSet.
    This is a concrete sub-class of vtkFunctionSet with
    NumberOfIndependentVariables = 4 (x,y,z,t) and NumberOfFunctions = 3
    (u,v,w). Normally, every time an evaluation is performed, the cell
    which contains the point (x,y,z) has to be found by calling FindCell.
    This is a computationally expansive operation. In certain cases, the
    cell search can be avoided or shortened by providing a guess for the
    cell iterator. For example, in streamline integration, the next
    evaluation is usually in the same or a neighbour cell. For this
    reason, vtkGenericInterpolatedVelocityField stores the last cell
    iterator. If caching is turned on, it uses this iterator as the
    starting point.
    
    @warning
    vtkGenericInterpolatedVelocityField is not thread safe. A new
    instance should be created by each thread.
    
    @sa
    vtkFunctionSet vtkGenericStreamTracer
    """
    def AddDataSet(self, dataset): # real signature unknown; restored from __doc__
        """
        AddDataSet(self, dataset:vtkGenericDataSet) -> None
        C++: virtual void AddDataSet(vtkGenericDataSet *dataset)
        
        Add a dataset used for the implicit function evaluation. If more
        than one dataset is added, the evaluation point is searched in
        all until a match is found. THIS FUNCTION DOES NOT CHANGE THE
        REFERENCE COUNT OF dataset FOR THREAD SAFETY REASONS.
        """
        pass

    def CachingOff(self): # real signature unknown; restored from __doc__
        """
        CachingOff(self) -> None
        C++: virtual void CachingOff()
        """
        pass

    def CachingOn(self): # real signature unknown; restored from __doc__
        """
        CachingOn(self) -> None
        C++: virtual void CachingOn()
        """
        pass

    def ClearLastCell(self): # real signature unknown; restored from __doc__
        """
        ClearLastCell(self) -> None
        C++: void ClearLastCell()
        
        Set the last cell id to -1 so that the next search does not start
        from the previous cell
        """
        pass

    def CopyParameters(self, from_): # real signature unknown; restored from __doc__
        """
        CopyParameters(self, from_:vtkGenericInterpolatedVelocityField)
            -> None
        C++: virtual void CopyParameters(
            vtkGenericInterpolatedVelocityField *from)
        
        Copy the user set parameters from source. This copies the Caching
        parameters. Sub-classes can add more after chaining.
        """
        pass

    def FunctionValues(self, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FunctionValues(self, x:[float, ...], f:[float, ...]) -> int
        C++: int FunctionValues(double *x, double *f) override;
        FunctionValues(self, x:[float, ...], f:[float, ...],
            userData:Pointer) -> int
        C++: virtual int FunctionValues(double *x, double *f,
            void *userData)
        
        Evaluate the velocity field, f, at (x, y, z, t). For now, t is
        ignored.
        """
        pass

    def GetCacheHit(self): # real signature unknown; restored from __doc__
        """
        GetCacheHit(self) -> int
        C++: virtual int GetCacheHit()
        
        Caching statistics.
        """
        return 0

    def GetCacheMiss(self): # real signature unknown; restored from __doc__
        """
        GetCacheMiss(self) -> int
        C++: virtual int GetCacheMiss()
        """
        return 0

    def GetCaching(self): # real signature unknown; restored from __doc__
        """
        GetCaching(self) -> int
        C++: virtual vtkTypeBool GetCaching()
        
        Turn caching on/off.
        """
        return 0

    def GetLastCell(self): # real signature unknown; restored from __doc__
        """
        GetLastCell(self) -> vtkGenericAdaptorCell
        C++: vtkGenericAdaptorCell *GetLastCell()
        
        Return the cell cached from last evaluation.
        """
        return vtkGenericAdaptorCell

    def GetLastDataSet(self): # real signature unknown; restored from __doc__
        """
        GetLastDataSet(self) -> vtkGenericDataSet
        C++: virtual vtkGenericDataSet *GetLastDataSet()
        
        Returns the last dataset that was visited. Can be used as a first
        guess as to where the next point will be as well as to avoid
        searching through all datasets to get more information about the
        point.
        """
        return vtkGenericDataSet

    def GetLastLocalCoordinates(self, pcoords, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetLastLocalCoordinates(self, pcoords:[float, float, float])
            -> int
        C++: int GetLastLocalCoordinates(double pcoords[3])
        
        Returns the interpolation weights cached from last evaluation if
        the cached cell is valid (returns 1). Otherwise, it does not
        change w and returns 0.
        """
        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 GetVectorsSelection(self): # real signature unknown; restored from __doc__
        """
        GetVectorsSelection(self) -> str
        C++: virtual char *GetVectorsSelection()
        
        If you want to work with an arbitrary vector array, then set its
        name here. By default this in nullptr and the filter will use the
        active vector array.
        """
        return ""

    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) -> vtkGenericInterpolatedVelocityField
        C++: vtkGenericInterpolatedVelocityField *NewInstance()
        """
        return vtkGenericInterpolatedVelocityField

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase)
            -> vtkGenericInterpolatedVelocityField
        C++: static vtkGenericInterpolatedVelocityField *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkGenericInterpolatedVelocityField

    def SelectVectors(self, fieldName): # real signature unknown; restored from __doc__
        """
        SelectVectors(self, fieldName:str) -> None
        C++: void SelectVectors(const char *fieldName)
        """
        pass

    def SetCaching(self, _arg): # real signature unknown; restored from __doc__
        """
        SetCaching(self, _arg:int) -> None
        C++: virtual void SetCaching(vtkTypeBool _arg)
        """
        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__': 'vtkGenericInterpolatedVelocityField', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'FunctionValues': <method 'FunctionValues' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'AddDataSet': <method 'AddDataSet' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'ClearLastCell': <method 'ClearLastCell' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'GetLastCell': <method 'GetLastCell' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'GetLastLocalCoordinates': <method 'GetLastLocalCoordinates' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'GetCaching': <method 'GetCaching' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'SetCaching': <method 'SetCaching' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'CachingOn': <method 'CachingOn' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'CachingOff': <method 'CachingOff' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'GetCacheHit': <method 'GetCacheHit' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'GetCacheMiss': <method 'GetCacheMiss' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'GetVectorsSelection': <method 'GetVectorsSelection' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'SelectVectors': <method 'SelectVectors' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'GetLastDataSet': <method 'GetLastDataSet' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, 'CopyParameters': <method 'CopyParameters' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D624C50>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkGenericInterpolatedVelocityField' objects>, '__doc__': 'vtkGenericInterpolatedVelocityField - Interface for obtaining\\ninterpolated velocity values\\n\\nSuperclass: vtkFunctionSet\\n\\nvtkGenericInterpolatedVelocityField acts as a continuous velocity\\nfield by performing cell interpolation on the underlying vtkDataSet.\\nThis is a concrete sub-class of vtkFunctionSet with\\nNumberOfIndependentVariables = 4 (x,y,z,t) and NumberOfFunctions = 3\\n(u,v,w). Normally, every time an evaluation is performed, the cell\\nwhich contains the point (x,y,z) has to be found by calling FindCell.\\nThis is a computationally expansive operation. In certain cases, the\\ncell search can be avoided or shortened by providing a guess for the\\ncell iterator. For example, in streamline integration, the next\\nevaluation is usually in the same or a neighbour cell. For this\\nreason, vtkGenericInterpolatedVelocityField stores the last cell\\niterator. If caching is turned on, it uses this iterator as the\\nstarting point.\\n\\n@warning\\nvtkGenericInterpolatedVelocityField is not thread safe. A new\\ninstance should be created by each thread.\\n\\n@sa\\nvtkFunctionSet vtkGenericStreamTracer\\n\\n'})"
    __vtkname__ = 'vtkGenericInterpolatedVelocityField'


