248 lines
9.8 KiB
Python
248 lines
9.8 KiB
Python
|
|
from typing import overload, Any, Callable, TypeVar, Union
|
||
|
|
from typing import Tuple, List, Sequence, MutableSequence
|
||
|
|
|
||
|
|
Callback = Union[Callable[..., None], None]
|
||
|
|
Buffer = TypeVar('Buffer')
|
||
|
|
Pointer = TypeVar('Pointer')
|
||
|
|
Template = TypeVar('Template')
|
||
|
|
|
||
|
|
import vtkmodules.vtkCommonCore
|
||
|
|
import vtkmodules.vtkCommonExecutionModel
|
||
|
|
|
||
|
|
VTK_ABS:int
|
||
|
|
VTK_ADD:int
|
||
|
|
VTK_ADDC:int
|
||
|
|
VTK_AND:int
|
||
|
|
VTK_ATAN:int
|
||
|
|
VTK_ATAN2:int
|
||
|
|
VTK_COMPLEX_MULTIPLY:int
|
||
|
|
VTK_CONJUGATE:int
|
||
|
|
VTK_COS:int
|
||
|
|
VTK_DIVIDE:int
|
||
|
|
VTK_EXP:int
|
||
|
|
VTK_INVERT:int
|
||
|
|
VTK_LOG:int
|
||
|
|
VTK_MAX:int
|
||
|
|
VTK_MIN:int
|
||
|
|
VTK_MULTIPLY:int
|
||
|
|
VTK_MULTIPLYBYK:int
|
||
|
|
VTK_NAND:int
|
||
|
|
VTK_NOP:int
|
||
|
|
VTK_NOR:int
|
||
|
|
VTK_NOT:int
|
||
|
|
VTK_OR:int
|
||
|
|
VTK_REPLACECBYK:int
|
||
|
|
VTK_SIN:int
|
||
|
|
VTK_SQR:int
|
||
|
|
VTK_SQRT:int
|
||
|
|
VTK_SUBTRACT:int
|
||
|
|
VTK_XOR:int
|
||
|
|
|
||
|
|
class vtkImageDivergence(vtkmodules.vtkCommonExecutionModel.vtkThreadedImageAlgorithm):
|
||
|
|
def __init__(self, **properties:Any) -> None: ...
|
||
|
|
def GetNumberOfGenerationsFromBase(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def GetNumberOfGenerationsFromBaseType(type:str) -> int: ...
|
||
|
|
def IsA(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def IsTypeOf(type:str) -> int: ...
|
||
|
|
def NewInstance(self) -> 'vtkImageDivergence': ...
|
||
|
|
@staticmethod
|
||
|
|
def SafeDownCast(o:'vtkObjectBase') -> 'vtkImageDivergence': ...
|
||
|
|
|
||
|
|
class vtkImageDotProduct(vtkmodules.vtkCommonExecutionModel.vtkThreadedImageAlgorithm):
|
||
|
|
input1_data:'getset_descriptor'
|
||
|
|
input2_data:'getset_descriptor'
|
||
|
|
def __init__(self, **properties:Any) -> None: ...
|
||
|
|
def GetNumberOfGenerationsFromBase(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def GetNumberOfGenerationsFromBaseType(type:str) -> int: ...
|
||
|
|
def IsA(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def IsTypeOf(type:str) -> int: ...
|
||
|
|
def NewInstance(self) -> 'vtkImageDotProduct': ...
|
||
|
|
@staticmethod
|
||
|
|
def SafeDownCast(o:'vtkObjectBase') -> 'vtkImageDotProduct': ...
|
||
|
|
def SetInput1Data(self, in_:'vtkDataObject') -> None: ...
|
||
|
|
def SetInput2Data(self, in_:'vtkDataObject') -> None: ...
|
||
|
|
|
||
|
|
class vtkImageLogarithmicScale(vtkmodules.vtkCommonExecutionModel.vtkThreadedImageAlgorithm):
|
||
|
|
constant:'getset_descriptor'
|
||
|
|
def __init__(self, **properties:Any) -> None: ...
|
||
|
|
def GetConstant(self) -> float: ...
|
||
|
|
def GetNumberOfGenerationsFromBase(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def GetNumberOfGenerationsFromBaseType(type:str) -> int: ...
|
||
|
|
def IsA(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def IsTypeOf(type:str) -> int: ...
|
||
|
|
def NewInstance(self) -> 'vtkImageLogarithmicScale': ...
|
||
|
|
@staticmethod
|
||
|
|
def SafeDownCast(o:'vtkObjectBase') -> 'vtkImageLogarithmicScale': ...
|
||
|
|
def SetConstant(self, _arg:float) -> None: ...
|
||
|
|
|
||
|
|
class vtkImageLogic(vtkmodules.vtkCommonExecutionModel.vtkThreadedImageAlgorithm):
|
||
|
|
input1_data:'getset_descriptor'
|
||
|
|
input2_data:'getset_descriptor'
|
||
|
|
operation:'getset_descriptor'
|
||
|
|
output_true_value:'getset_descriptor'
|
||
|
|
def __init__(self, **properties:Any) -> None: ...
|
||
|
|
def GetNumberOfGenerationsFromBase(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def GetNumberOfGenerationsFromBaseType(type:str) -> int: ...
|
||
|
|
def GetOperation(self) -> int: ...
|
||
|
|
def GetOutputTrueValue(self) -> float: ...
|
||
|
|
def IsA(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def IsTypeOf(type:str) -> int: ...
|
||
|
|
def NewInstance(self) -> 'vtkImageLogic': ...
|
||
|
|
@staticmethod
|
||
|
|
def SafeDownCast(o:'vtkObjectBase') -> 'vtkImageLogic': ...
|
||
|
|
def SetInput1Data(self, input:'vtkDataObject') -> None: ...
|
||
|
|
def SetInput2Data(self, input:'vtkDataObject') -> None: ...
|
||
|
|
def SetOperation(self, _arg:int) -> None: ...
|
||
|
|
def SetOperationToAnd(self) -> None: ...
|
||
|
|
def SetOperationToNand(self) -> None: ...
|
||
|
|
def SetOperationToNor(self) -> None: ...
|
||
|
|
def SetOperationToNot(self) -> None: ...
|
||
|
|
def SetOperationToOr(self) -> None: ...
|
||
|
|
def SetOperationToXor(self) -> None: ...
|
||
|
|
def SetOutputTrueValue(self, _arg:float) -> None: ...
|
||
|
|
|
||
|
|
class vtkImageMagnitude(vtkmodules.vtkCommonExecutionModel.vtkThreadedImageAlgorithm):
|
||
|
|
def __init__(self, **properties:Any) -> None: ...
|
||
|
|
def GetNumberOfGenerationsFromBase(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def GetNumberOfGenerationsFromBaseType(type:str) -> int: ...
|
||
|
|
def IsA(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def IsTypeOf(type:str) -> int: ...
|
||
|
|
def NewInstance(self) -> 'vtkImageMagnitude': ...
|
||
|
|
@staticmethod
|
||
|
|
def SafeDownCast(o:'vtkObjectBase') -> 'vtkImageMagnitude': ...
|
||
|
|
|
||
|
|
class vtkImageMaskBits(vtkmodules.vtkCommonExecutionModel.vtkThreadedImageAlgorithm):
|
||
|
|
mask:'getset_descriptor'
|
||
|
|
masks:'getset_descriptor'
|
||
|
|
operation:'getset_descriptor'
|
||
|
|
def __init__(self, **properties:Any) -> None: ...
|
||
|
|
def GetMasks(self) -> Tuple[int, int, int, int]: ...
|
||
|
|
def GetNumberOfGenerationsFromBase(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def GetNumberOfGenerationsFromBaseType(type:str) -> int: ...
|
||
|
|
def GetOperation(self) -> int: ...
|
||
|
|
def IsA(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def IsTypeOf(type:str) -> int: ...
|
||
|
|
def NewInstance(self) -> 'vtkImageMaskBits': ...
|
||
|
|
@staticmethod
|
||
|
|
def SafeDownCast(o:'vtkObjectBase') -> 'vtkImageMaskBits': ...
|
||
|
|
def SetMask(self, mask:int) -> None: ...
|
||
|
|
@overload
|
||
|
|
def SetMasks(self, _arg1:int, _arg2:int, _arg3:int, _arg4:int) -> None: ...
|
||
|
|
@overload
|
||
|
|
def SetMasks(self, _arg:Sequence[int]) -> None: ...
|
||
|
|
@overload
|
||
|
|
def SetMasks(self, mask1:int, mask2:int) -> None: ...
|
||
|
|
@overload
|
||
|
|
def SetMasks(self, mask1:int, mask2:int, mask3:int) -> None: ...
|
||
|
|
def SetOperation(self, _arg:int) -> None: ...
|
||
|
|
def SetOperationToAnd(self) -> None: ...
|
||
|
|
def SetOperationToNand(self) -> None: ...
|
||
|
|
def SetOperationToNor(self) -> None: ...
|
||
|
|
def SetOperationToOr(self) -> None: ...
|
||
|
|
def SetOperationToXor(self) -> None: ...
|
||
|
|
|
||
|
|
class vtkImageMathematics(vtkmodules.vtkCommonExecutionModel.vtkThreadedImageAlgorithm):
|
||
|
|
constant_c:'getset_descriptor'
|
||
|
|
constant_k:'getset_descriptor'
|
||
|
|
divide_by_zero_to_c:'getset_descriptor'
|
||
|
|
input:'getset_descriptor'
|
||
|
|
input1_data:'getset_descriptor'
|
||
|
|
input2_data:'getset_descriptor'
|
||
|
|
input_connection:'getset_descriptor'
|
||
|
|
input_data:'getset_descriptor'
|
||
|
|
operation:'getset_descriptor'
|
||
|
|
def __init__(self, **properties:Any) -> None: ...
|
||
|
|
def DivideByZeroToCOff(self) -> None: ...
|
||
|
|
def DivideByZeroToCOn(self) -> None: ...
|
||
|
|
def GetConstantC(self) -> float: ...
|
||
|
|
def GetConstantK(self) -> float: ...
|
||
|
|
def GetDivideByZeroToC(self) -> int: ...
|
||
|
|
@overload
|
||
|
|
def GetInput(self, idx:int) -> 'vtkDataObject': ...
|
||
|
|
@overload
|
||
|
|
def GetInput(self) -> 'vtkDataObject': ...
|
||
|
|
def GetNumberOfGenerationsFromBase(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def GetNumberOfGenerationsFromBaseType(type:str) -> int: ...
|
||
|
|
def GetNumberOfInputs(self) -> int: ...
|
||
|
|
def GetOperation(self) -> int: ...
|
||
|
|
def IsA(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def IsTypeOf(type:str) -> int: ...
|
||
|
|
def NewInstance(self) -> 'vtkImageMathematics': ...
|
||
|
|
def ReplaceNthInputConnection(self, idx:int, input:'vtkAlgorithmOutput') -> None: ...
|
||
|
|
@staticmethod
|
||
|
|
def SafeDownCast(o:'vtkObjectBase') -> 'vtkImageMathematics': ...
|
||
|
|
def SetConstantC(self, _arg:float) -> None: ...
|
||
|
|
def SetConstantK(self, _arg:float) -> None: ...
|
||
|
|
def SetDivideByZeroToC(self, _arg:int) -> None: ...
|
||
|
|
def SetInput1Data(self, in_:'vtkDataObject') -> None: ...
|
||
|
|
def SetInput2Data(self, in_:'vtkDataObject') -> None: ...
|
||
|
|
@overload
|
||
|
|
def SetInputConnection(self, idx:int, input:'vtkAlgorithmOutput') -> None: ...
|
||
|
|
@overload
|
||
|
|
def SetInputConnection(self, input:'vtkAlgorithmOutput') -> None: ...
|
||
|
|
@overload
|
||
|
|
def SetInputData(self, idx:int, input:'vtkDataObject') -> None: ...
|
||
|
|
@overload
|
||
|
|
def SetInputData(self, input:'vtkDataObject') -> None: ...
|
||
|
|
def SetOperation(self, _arg:int) -> None: ...
|
||
|
|
def SetOperationToATAN(self) -> None: ...
|
||
|
|
def SetOperationToATAN2(self) -> None: ...
|
||
|
|
def SetOperationToAbsoluteValue(self) -> None: ...
|
||
|
|
def SetOperationToAdd(self) -> None: ...
|
||
|
|
def SetOperationToAddConstant(self) -> None: ...
|
||
|
|
def SetOperationToComplexMultiply(self) -> None: ...
|
||
|
|
def SetOperationToConjugate(self) -> None: ...
|
||
|
|
def SetOperationToCos(self) -> None: ...
|
||
|
|
def SetOperationToDivide(self) -> None: ...
|
||
|
|
def SetOperationToExp(self) -> None: ...
|
||
|
|
def SetOperationToInvert(self) -> None: ...
|
||
|
|
def SetOperationToLog(self) -> None: ...
|
||
|
|
def SetOperationToMax(self) -> None: ...
|
||
|
|
def SetOperationToMin(self) -> None: ...
|
||
|
|
def SetOperationToMultiply(self) -> None: ...
|
||
|
|
def SetOperationToMultiplyByK(self) -> None: ...
|
||
|
|
def SetOperationToReplaceCByK(self) -> None: ...
|
||
|
|
def SetOperationToSin(self) -> None: ...
|
||
|
|
def SetOperationToSquare(self) -> None: ...
|
||
|
|
def SetOperationToSquareRoot(self) -> None: ...
|
||
|
|
def SetOperationToSubtract(self) -> None: ...
|
||
|
|
|
||
|
|
class vtkImageWeightedSum(vtkmodules.vtkCommonExecutionModel.vtkThreadedImageAlgorithm):
|
||
|
|
normalize_by_weight:'getset_descriptor'
|
||
|
|
weights:'getset_descriptor'
|
||
|
|
def __init__(self, **properties:Any) -> None: ...
|
||
|
|
def CalculateTotalWeight(self) -> float: ...
|
||
|
|
def GetNormalizeByWeight(self) -> int: ...
|
||
|
|
def GetNormalizeByWeightMaxValue(self) -> int: ...
|
||
|
|
def GetNormalizeByWeightMinValue(self) -> int: ...
|
||
|
|
def GetNumberOfGenerationsFromBase(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def GetNumberOfGenerationsFromBaseType(type:str) -> int: ...
|
||
|
|
def GetWeights(self) -> 'vtkDoubleArray': ...
|
||
|
|
def IsA(self, type:str) -> int: ...
|
||
|
|
@staticmethod
|
||
|
|
def IsTypeOf(type:str) -> int: ...
|
||
|
|
def NewInstance(self) -> 'vtkImageWeightedSum': ...
|
||
|
|
def NormalizeByWeightOff(self) -> None: ...
|
||
|
|
def NormalizeByWeightOn(self) -> None: ...
|
||
|
|
@staticmethod
|
||
|
|
def SafeDownCast(o:'vtkObjectBase') -> 'vtkImageWeightedSum': ...
|
||
|
|
def SetNormalizeByWeight(self, _arg:int) -> None: ...
|
||
|
|
def SetWeight(self, id:int, weight:float) -> None: ...
|
||
|
|
def SetWeights(self, __a:'vtkDoubleArray') -> None: ...
|
||
|
|
|