# 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 vtkExtractStructuredGridHelper(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkExtractStructuredGridHelper - helper for extracting/sub-sampling
     structured datasets.
    
    Superclass: vtkObject
    
    vtkExtractStructuredGridHelper provides some common functionality
    that is used by filters that extract and sub-sample structured data.
    Specifically, it provides functionality for calculating the mapping
    from the output extent of each process to the input extent.
    
    @sa
    vtkExtractGrid vtkExtractVOI vtkExtractRectilinearGrid
    """
    def ComputeBeginAndEnd(self, inExt, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        ComputeBeginAndEnd(self, inExt:[int, int, int, int, int, int],
            voi:[int, int, int, int, int, int], begin:[int, int, int],
            end:[int, int, int]) -> None
        C++: void ComputeBeginAndEnd(int inExt[6], int voi[6],
            int begin[3], int end[3])
        
        Returns the begin & end extent that intersects with the VOI
        \param inExt the input extent
        \param voi the volume of interest
        \param begin the begin extent
        \param end the end extent
        """
        pass

    def CopyCellData(self, inExt, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        CopyCellData(self, inExt:[int, int, int, int, int, int],
            outExt:[int, int, int, int, int, int], cd:vtkCellData,
            outCD:vtkCellData) -> None
        C++: void CopyCellData(int inExt[6], int outExt[6],
            vtkCellData *cd, vtkCellData *outCD)
        
        Copies the cell data to the output.
        \param inExt the input grid extent.
        \param outExt the output grid extent.
        \param cd the input cell data.
        \param outCD the output cell data.
        \pre cd != nullptr.
        \pre outCD != nullptr.
        """
        pass

    def CopyPointsAndPointData(self, inExt, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        CopyPointsAndPointData(self, inExt:[int, int, int, int, int, int],
             outExt:[int, int, int, int, int, int], pd:vtkPointData,
            inpnts:vtkPoints, outPD:vtkPointData, outpnts:vtkPoints)
            -> None
        C++: void CopyPointsAndPointData(int inExt[6], int outExt[6],
            vtkPointData *pd, vtkPoints *inpnts, vtkPointData *outPD,
            vtkPoints *outpnts)
        
        Copies the points & point data to the output.
        \param inExt the input grid extent.
        \param outExt the output grid extent.
        \param pd pointer to the input point data.
        \param inpnts pointer to the input points, or nullptr if uniform
            grid.
        \param outPD point to the output point data.
        \param outpnts pointer to the output points, or nullptr if
            uniform grid.
        \pre pd != nullptr.
        \pre outPD != nullptr.
        """
        pass

    def GetMappedExtentValue(self, dim, outExtVal): # real signature unknown; restored from __doc__
        """
        GetMappedExtentValue(self, dim:int, outExtVal:int) -> int
        C++: int GetMappedExtentValue(int dim, int outExtVal)
        
        Given a dimension and output extent value, return the
            corresponding
        input extent value. This method should be used to convert extent
        values.
        \param dim the data dimension.
        \param outExtVal The output extent value along the given
            dimension.
        \pre dim >= 0 && dim < 3
        \pre outExtVal >= this->GetOutputWholeExtent()[2*dim] &&
        outExtVal <= this->GetOutputWholeExtent()[2*dim+1]
        \return The input extent value along the given dimension.
        \sa GetMappedIndex
        \sa GetMappedExtentValueFromIndex
        """
        return 0

    def GetMappedExtentValueFromIndex(self, dim, outIdx): # real signature unknown; restored from __doc__
        """
        GetMappedExtentValueFromIndex(self, dim:int, outIdx:int) -> int
        C++: int GetMappedExtentValueFromIndex(int dim, int outIdx)
        
        Given a dimension and output extent index, return the
            corresponding
        input extent value. This method should be used to compute extent
        values from extent indices.
        \param dim the data dimension.
        \param outIdx The output index along the given dimension.
        \pre dim >= 0 && dim < 3
        \pre outIdx >= 0 && outIdx < this->GetSize( dim )
        \return The input extent value along the given dimension.
        \sa GetMappedIndex
        \sa GetMappedExtentValue
        """
        return 0

    def GetMappedIndex(self, dim, outIdx): # real signature unknown; restored from __doc__
        """
        GetMappedIndex(self, dim:int, outIdx:int) -> int
        C++: int GetMappedIndex(int dim, int outIdx)
        
        Given a dimension and output index, return the corresponding
        extent index. This method should be used to convert array
        indices, such as the coordinate arrays for rectilinear grids.
        \param dim the data dimension
        \param outIdx The output index along the given dimension.
        \pre dim >= 0 && dim < 3
        \pre outIdx >= 0 && outIdx < this->GetSize( dim )
        \return The input extent index along the given dimension.
        \sa GetMappedExtentValue
        \sa GetMappedExtentValueFromIndex
        """
        return 0

    def GetMappedIndexFromExtentValue(self, dim, outExtVal): # real signature unknown; restored from __doc__
        """
        GetMappedIndexFromExtentValue(self, dim:int, outExtVal:int) -> int
        C++: int GetMappedIndexFromExtentValue(int dim, int outExtVal)
        
        Given a dimension and output extent value, return the
            corresponding
        input extent index. This method should be used to compute extent
        indices from extent values.
        \param dim the data dimension
        \param outExtVal The output extent value along the given
            dimension.
        \pre dim >= 0 && dim < 3
        \pre outExtVal >= this->GetOutputWholeExtent()[2*dim] &&
        outExtVal <= this->GetOutputWholeExtent()[2*dim+1]
        \return The input extent index along the given dimension.
        \sa GetMappedExtentValue
        \sa GetMappedExtentValueFromIndex
        """
        return 0

    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 GetOutputWholeExtent(self): # real signature unknown; restored from __doc__
        """
        GetOutputWholeExtent(self) -> (int, int, int, int, int, int)
        C++: virtual int *GetOutputWholeExtent()
        """
        pass

    def GetPartitionedOutputExtent(self, globalVOI, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetPartitionedOutputExtent(globalVOI:(int, int, int, int, int,
            int), partitionedVOI:(int, int, int, int, int, int),
            outputWholeExtent:(int, int, int, int, int, int), sampleRate:(
            int, int, int), includeBoundary:bool,
            partitionedOutputExtent:[int, int, int, int, int, int])
            -> None
        C++: static void GetPartitionedOutputExtent(
            const int globalVOI[6], const int partitionedVOI[6],
            const int outputWholeExtent[6], const int sampleRate[3],
            bool includeBoundary, int partitionedOutputExtent[6])
        
        Calculate the partitioned output extent for a partitioned
        structured dataset. This method sets partitionedOutputExtent to
        the correct extent of an extracted dataset, such that it properly
        fits with the other partitioned pieces while considering the
        globalVOI, thesampleRate, and the boundary conditions.
        \param globalVOI The full VOI for the entire distributed dataset.
        \param partitionedVOI The VOI used in the serial extraction.
        \param outputWholeExtent The output extent of the full dataset.
        \param sampleRate The sampling rate in each dimension.
        \param includeBoundary Whether or not to include the boundary of
            the VOI,
        even if it doesn't fit the spacing.
        \param partitionedOutputExtent The correct output extent of the
            extracted
        dataset.
        """
        pass

    def GetPartitionedVOI(self, globalVOI, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetPartitionedVOI(globalVOI:(int, int, int, int, int, int),
            partitionedExtent:(int, int, int, int, int, int), sampleRate:(
            int, int, int), includeBoundary:bool, partitionedVOI:[int,
            int, int, int, int, int]) -> None
        C++: static void GetPartitionedVOI(const int globalVOI[6],
            const int partitionedExtent[6], const int sampleRate[3],
            bool includeBoundary, int partitionedVOI[6])
        
        Calculate the VOI for a partitioned structured dataset. This
        method setspartitionedVOI to the VOI that extracts as much of
        thepartitionedExtent as possible while considering the globalVOI,
        thesampleRate, and the boundary conditions.
        \param globalVOI The full VOI for the entire distributed dataset.
        \param partitionedExtent Extent of the process's partitioned
            input data.
        \param sampleRate The sampling rate in each dimension.
        \param includeBoundary Whether or not to include the boundary of
            the VOI,
        even if it doesn't fit the spacing.
        \param partitionedVOI The extent of the process's partitioned
            dataset that
        should be extracted by a serial extraction filter.
        """
        pass

    def GetSize(self, dim): # real signature unknown; restored from __doc__
        """
        GetSize(self, dim:int) -> int
        C++: int GetSize(const int dim)
        
        Returns the size along a given dimension
        \param dim the dimension in query
        \pre dim >= 0 && dim < 3
        """
        return 0

    def Initialize(self, voi, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        Initialize(self, voi:[int, int, int, int, int, int],
            wholeExt:[int, int, int, int, int, int], sampleRate:[int, int,
             int], includeBoundary:bool) -> None
        C++: void Initialize(int voi[6], int wholeExt[6],
            int sampleRate[3], bool includeBoundary)
        
        Initializes the index map.
        \param voi the extent of the volume of interest
        \param wholeExt the whole extent of the domain
        \param sampleRate the sampling rate
        \param includeBoundary indicates whether to include the boundary
            or not.
        """
        pass

    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 IsValid(self): # real signature unknown; restored from __doc__
        """
        IsValid(self) -> bool
        C++: bool IsValid()
        
        Returns true if the helper is properly initialized.
        """
        return False

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkExtractStructuredGridHelper
        C++: vtkExtractStructuredGridHelper *NewInstance()
        """
        return vtkExtractStructuredGridHelper

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkExtractStructuredGridHelper
        C++: static vtkExtractStructuredGridHelper *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkExtractStructuredGridHelper

    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__': 'vtkExtractStructuredGridHelper', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'GetOutputWholeExtent': <method 'GetOutputWholeExtent' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'Initialize': <method 'Initialize' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'IsValid': <method 'IsValid' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'GetSize': <method 'GetSize' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'GetMappedIndex': <method 'GetMappedIndex' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'GetMappedIndexFromExtentValue': <method 'GetMappedIndexFromExtentValue' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'GetMappedExtentValue': <method 'GetMappedExtentValue' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'GetMappedExtentValueFromIndex': <method 'GetMappedExtentValueFromIndex' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'ComputeBeginAndEnd': <method 'ComputeBeginAndEnd' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'CopyPointsAndPointData': <method 'CopyPointsAndPointData' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'CopyCellData': <method 'CopyCellData' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'GetPartitionedVOI': <method 'GetPartitionedVOI' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, 'GetPartitionedOutputExtent': <method 'GetPartitionedOutputExtent' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D620BA0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkExtractStructuredGridHelper' objects>, '__doc__': 'vtkExtractStructuredGridHelper - helper for extracting/sub-sampling\\n structured datasets.\\n\\nSuperclass: vtkObject\\n\\nvtkExtractStructuredGridHelper provides some common functionality\\nthat is used by filters that extract and sub-sample structured data.\\nSpecifically, it provides functionality for calculating the mapping\\nfrom the output extent of each process to the input extent.\\n\\n@sa\\nvtkExtractGrid vtkExtractVOI vtkExtractRectilinearGrid\\n\\n'})"
    __vtkname__ = 'vtkExtractStructuredGridHelper'


