# 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 vtkGenericCellIterator(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkGenericCellIterator - iterator used to traverse cells
    
    Superclass: vtkObject
    
    This class (and subclasses) are used to iterate over cells. Use it
    only in conjunction with vtkGenericDataSet (i.e., the adaptor
    framework).
    
    Typical use is:
    
    vtkGenericDataSet *dataset; vtkGenericCellIterator *it =
    dataset->NewCellIterator(2); for (it->Begin(); !it->IsAtEnd();
    it->Next());
      {
      spec=it->GetCell();
      }
    """
    def Begin(self): # real signature unknown; restored from __doc__
        """
        Begin(self) -> None
        C++: virtual void Begin()
        
        Move iterator to first position if any (loop initialization).
        """
        pass

    def GetCell(self, c): # real signature unknown; restored from __doc__
        """
        GetCell(self, c:vtkGenericAdaptorCell) -> None
        C++: virtual void GetCell(vtkGenericAdaptorCell *c)
        GetCell(self) -> vtkGenericAdaptorCell
        C++: virtual vtkGenericAdaptorCell *GetCell()
        
        Get the cell at current position. The cell should be instantiated
        with the NewCell() method.
        \pre not_at_end: !IsAtEnd()
        \pre c_exists: c!=0
        THREAD SAFE
        """
        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 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 IsAtEnd(self): # real signature unknown; restored from __doc__
        """
        IsAtEnd(self) -> int
        C++: virtual vtkTypeBool IsAtEnd()
        
        Is the iterator at the end of traversal?
        """
        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 NewCell(self): # real signature unknown; restored from __doc__
        """
        NewCell(self) -> vtkGenericAdaptorCell
        C++: virtual vtkGenericAdaptorCell *NewCell()
        
        Create an empty cell. The user is responsible for deleting it.
        \post result_exists: result!=0
        """
        return vtkGenericAdaptorCell

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkGenericCellIterator
        C++: vtkGenericCellIterator *NewInstance()
        """
        return vtkGenericCellIterator

    def Next(self): # real signature unknown; restored from __doc__
        """
        Next(self) -> None
        C++: virtual void Next()
        
        Move the iterator to the next position in the list.
        \pre not_at_end: !IsAtEnd()
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkGenericCellIterator
        C++: static vtkGenericCellIterator *SafeDownCast(vtkObjectBase *o)
        """
        return vtkGenericCellIterator

    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__': 'vtkGenericCellIterator', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, 'Begin': <method 'Begin' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, 'IsAtEnd': <method 'IsAtEnd' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, 'NewCell': <method 'NewCell' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, 'GetCell': <method 'GetCell' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, 'Next': <method 'Next' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D623A10>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkGenericCellIterator' objects>, '__doc__': 'vtkGenericCellIterator - iterator used to traverse cells\\n\\nSuperclass: vtkObject\\n\\nThis class (and subclasses) are used to iterate over cells. Use it\\nonly in conjunction with vtkGenericDataSet (i.e., the adaptor\\nframework).\\n\\nTypical use is:\\n\\nvtkGenericDataSet *dataset; vtkGenericCellIterator *it =\\ndataset->NewCellIterator(2); for (it->Begin(); !it->IsAtEnd();\\nit->Next());\\n  {\\n  spec=it->GetCell();\\n  } \\n\\n'})"
    __vtkname__ = 'vtkGenericCellIterator'


