# 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 vtkImageTransform(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkImageTransform - helper class to transform output of
    non-axis-aligned images
    
    Superclass: vtkObject
    
    vtkImageTransform is a helper class to transform the output of image
    filters (i.e., filter that input vtkImageData) by applying the Index
    to Physical transformation from the input image, which can include
    origin, spacing, direction. The transformation process is threaded
    with vtkSMPTools for performance.
    
    Typically in application the single method TransformPointSet() is
    invoked to transform the output of an image algorithm (assuming that
    the image's direction/orientation matrix is non-identity). Note that
    vtkPointSets encompass vtkPolyData as well as vtkUnstructuredGrids.
    In the future other output types may be added. Note that specific
    methods for transforming points, normals, and vectors is also
    provided by this class in case additional output data arrays need to
    be transformed (since TransformPointSet() only processes data arrays
    labeled as points, normals, and vectors).
    
    @warning
    This class has been threaded with vtkSMPTools. Using TBB or other
    non-sequential type (set in the CMake variable
    VTK_SMP_IMPLEMENTATION_TYPE) may improve performance significantly.
    """
    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 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) -> vtkImageTransform
        C++: vtkImageTransform *NewInstance()
        """
        return vtkImageTransform

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkImageTransform
        C++: static vtkImageTransform *SafeDownCast(vtkObjectBase *o)
        """
        return vtkImageTransform

    def TransformNormals(self, m3, spacing, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        TransformNormals(m3:vtkMatrix3x3, spacing:[float, float, float],
            da:vtkDataArray) -> None
        C++: static void TransformNormals(vtkMatrix3x3 *m3,
            double spacing[3], vtkDataArray *da)
        
        Given three-component normals represented by a vtkDataArray,
        transform the normals using the matrix provided.
        """
        pass

    def TransformPoints(self, m4, da): # real signature unknown; restored from __doc__
        """
        TransformPoints(m4:vtkMatrix4x4, da:vtkDataArray) -> None
        C++: static void TransformPoints(vtkMatrix4x4 *m4,
            vtkDataArray *da)
        
        Given x-y-z points represented by a vtkDataArray, transform the
        points using the matrix provided.
        """
        pass

    def TransformPointSet(self, im, ps): # real signature unknown; restored from __doc__
        """
        TransformPointSet(im:vtkImageData, ps:vtkPointSet) -> None
        C++: static void TransformPointSet(vtkImageData *im,
            vtkPointSet *ps)
        TransformPointSet(im:vtkImageData, ps:vtkPointSet,
            transNormals:bool, transVectors:bool) -> None
        C++: static void TransformPointSet(vtkImageData *im,
            vtkPointSet *ps, bool transNormals, bool transVectors)
        
        Given a vtkImageData (and hence its associated orientation
        matrix), and an instance of vtkPointSet, transform its points, as
        well as any normals and vectors, associated with the vtkPointSet.
        This is a convenience function, internally it calls
        TranslatePoints(), TransformPoints(), TransformNormals(), and/or
        TransformVectors() as appropriate. Note that both the normals and
        vectors associated with the point and cell data are transformed
        unless the second signature is called, which controls whether to
        transform normals and/or vectors.
        """
        pass

    def TransformVectors(self, m3, spacing, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        TransformVectors(m3:vtkMatrix3x3, spacing:[float, float, float],
            da:vtkDataArray) -> None
        C++: static void TransformVectors(vtkMatrix3x3 *m3,
            double spacing[3], vtkDataArray *da)
        
        Given three-component vectors represented by a vtkDataArray,
        transform the vectors using the matrix provided.
        """
        pass

    def TranslatePoints(self, t, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        TranslatePoints(t:[float, ...], da:vtkDataArray) -> None
        C++: static void TranslatePoints(double *t, vtkDataArray *da)
        
        Given x-y-z points represented by a vtkDataArray, translate the
        points using the image origin. This method is useful if there is
        no orientation or spacing to apply.
        """
        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__\': \'vtkImageTransform\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'TransformPointSet\': <method \'TransformPointSet\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'TranslatePoints\': <method \'TranslatePoints\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'TransformPoints\': <method \'TransformPoints\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'TransformNormals\': <method \'TransformNormals\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'TransformVectors\': <method \'TransformVectors\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF81D630D30>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkCommonDataModel.vtkImageTransform\' objects>, \'__doc__\': "vtkImageTransform - helper class to transform output of\\nnon-axis-aligned images\\n\\nSuperclass: vtkObject\\n\\nvtkImageTransform is a helper class to transform the output of image\\nfilters (i.e., filter that input vtkImageData) by applying the Index\\nto Physical transformation from the input image, which can include\\norigin, spacing, direction. The transformation process is threaded\\nwith vtkSMPTools for performance.\\n\\nTypically in application the single method TransformPointSet() is\\ninvoked to transform the output of an image algorithm (assuming that\\nthe image\'s direction/orientation matrix is non-identity). Note that\\nvtkPointSets encompass vtkPolyData as well as vtkUnstructuredGrids.\\nIn the future other output types may be added. Note that specific\\nmethods for transforming points, normals, and vectors is also\\nprovided by this class in case additional output data arrays need to\\nbe transformed (since TransformPointSet() only processes data arrays\\nlabeled as points, normals, and vectors).\\n\\n@warning\\nThis class has been threaded with vtkSMPTools. Using TBB or other\\nnon-sequential type (set in the CMake variable\\nVTK_SMP_IMPLEMENTATION_TYPE) may improve performance significantly.\\n\\n"})'
    __vtkname__ = 'vtkImageTransform'


