# 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 vtkGenericAttributeCollection(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkGenericAttributeCollection - a collection of attributes
    
    Superclass: vtkObject
    
    vtkGenericAttributeCollection is a class that collects attributes
    (represented by vtkGenericAttribute).
    """
    def DeepCopy(self, other): # real signature unknown; restored from __doc__
        """
        DeepCopy(self, other:vtkGenericAttributeCollection) -> None
        C++: void DeepCopy(vtkGenericAttributeCollection *other)
        
        Copy, without reference counting, the other attribute array.
        \pre other_exists: other!=0
        \pre not_self: other!=this
        \post same_size:
            GetNumberOfAttributes()==other->GetNumberOfAttributes()
        """
        pass

    def FindAttribute(self, name): # real signature unknown; restored from __doc__
        """
        FindAttribute(self, name:str) -> int
        C++: int FindAttribute(const char *name)
        
        Return the index of the attribute named `name'. Return the
        non-negative index if found. Return -1 otherwise.
        \pre name_exists: name!=0
        \post valid_result: (result==-1) || (result>=0) &&
            (result<=GetNumberOfAttributes())
        """
        return 0

    def GetActiveAttribute(self): # real signature unknown; restored from __doc__
        """
        GetActiveAttribute(self) -> int
        C++: virtual int GetActiveAttribute()
        
        Index of the attribute to be processed (not necessarily scalar).
        \pre not_empty: !IsEmpty()
        \post valid_result: result>=0 && result<GetNumberOfAttributes()
        """
        return 0

    def GetActiveComponent(self): # real signature unknown; restored from __doc__
        """
        GetActiveComponent(self) -> int
        C++: virtual int GetActiveComponent()
        
        Component of the active attribute to be processed. -1 means
        module.
        \pre not_empty: GetNumberOfAttributes()>0
        \post valid_result: result>=-1 &&
        result<GetAttribute(GetActiveAttribute())->GetNumberOfComponents()
        """
        return 0

    def GetActualMemorySize(self): # real signature unknown; restored from __doc__
        """
        GetActualMemorySize(self) -> int
        C++: unsigned long GetActualMemorySize()
        
        Actual size of the data in kibibytes (1024 bytes); only valid
        after the pipeline has updated. It is guaranteed to be greater
        than or equal to the memory required to represent the data.
        """
        return 0

    def GetAttribute(self, i): # real signature unknown; restored from __doc__
        """
        GetAttribute(self, i:int) -> vtkGenericAttribute
        C++: vtkGenericAttribute *GetAttribute(int i)
        
        Return a pointer to the ith instance of vtkGenericAttribute.
        \pre not_empty: !IsEmpty()
        \pre valid_i: i>=0 && i<GetNumberOfAttributes()
        \post result_exists: result!=0
        """
        return vtkGenericAttribute

    def GetAttributeIndex(self, i): # real signature unknown; restored from __doc__
        """
        GetAttributeIndex(self, i:int) -> int
        C++: int GetAttributeIndex(int i)
        
        Return the index of the first component of attribute `i' in an
        array of format attrib0comp0 attrib0comp1 ... attrib4comp0 ...
        \pre valid_i: i>=0 && i<GetNumberOfAttributes()
        \pre is_point_centered:
            GetAttribute(i)->GetCentering()==vtkPointCentered
        """
        return 0

    def GetAttributesToInterpolate(self): # real signature unknown; restored from __doc__
        """
        GetAttributesToInterpolate(self) -> (int, ...)
        C++: int *GetAttributesToInterpolate()
        
        Indices of attributes to interpolate.
        \pre not_empty: !IsEmpty()
        \post valid_result: GetNumberOfAttributesToInterpolate()>0
        """
        pass

    def GetMaxNumberOfComponents(self): # real signature unknown; restored from __doc__
        """
        GetMaxNumberOfComponents(self) -> int
        C++: int GetMaxNumberOfComponents()
        
        Maximum number of components encountered among all attributes.
        \post positive_result: result>=0
        \post valid_result: result<=GetNumberOfComponents()
        """
        return 0

    def GetMTime(self): # real signature unknown; restored from __doc__
        """
        GetMTime(self) -> int
        C++: vtkMTimeType GetMTime() override;
        
        vtkAttributeCollection is a composite object and needs to check
        each member of its collection for modified time.
        """
        return 0

    def GetNumberOfAttributes(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfAttributes(self) -> int
        C++: int GetNumberOfAttributes()
        
        Return the number of attributes (e.g., instances of
        vtkGenericAttribute) in the collection.
        \post positive_result: result>=0
        """
        return 0

    def GetNumberOfAttributesToInterpolate(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfAttributesToInterpolate(self) -> int
        C++: virtual int GetNumberOfAttributesToInterpolate()
        
        Number of attributes to interpolate.
        \pre not_empty: !IsEmpty()
        \post positive_result: result>=0
        """
        return 0

    def GetNumberOfComponents(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfComponents(self) -> int
        C++: int GetNumberOfComponents()
        
        Return the number of components. This is the sum of all
        components found in all attributes.
        \post positive_result: result>=0
        """
        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 GetNumberOfPointCenteredComponents(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfPointCenteredComponents(self) -> int
        C++: int GetNumberOfPointCenteredComponents()
        
        Return the number of components. This is the sum of all
        components found in all point centered attributes.
        \post positive_result: result>=0
        """
        return 0

    def HasAttribute(self, size, attributes, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        HasAttribute(self, size:int, attributes:[int, ...], attribute:int)
             -> int
        C++: int HasAttribute(int size, int *attributes, int attribute)
        
        Does the array `attributes' of size `size' have `attribute'?
        \pre positive_size: size>=0
        \pre valid_attributes: size>0 implies attributes!=0
        """
        pass

    def InsertAttribute(self, i, a): # real signature unknown; restored from __doc__
        """
        InsertAttribute(self, i:int, a:vtkGenericAttribute) -> None
        C++: void InsertAttribute(int i, vtkGenericAttribute *a)
        
        Replace the attribute at index `i' by `a'.
        \pre not_empty: !IsEmpty()
        \pre a_exists: a!=0
        \pre valid_i: i>=0 && i<GetNumberOfAttributes()
        \post same_size: GetNumberOfAttributes()==old
            GetNumberOfAttributes()
        \post item_is_set: GetAttribute(i)==a
        """
        pass

    def InsertNextAttribute(self, a): # real signature unknown; restored from __doc__
        """
        InsertNextAttribute(self, a:vtkGenericAttribute) -> None
        C++: void InsertNextAttribute(vtkGenericAttribute *a)
        
        Add the attribute `a' to the end of the collection.
        \pre a_exists: a!=0
        \post more_items: GetNumberOfAttributes()==old
            GetNumberOfAttributes()+1
        \post a_is_set: GetAttribute(GetNumberOfAttributes()-1)==a
        """
        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 IsEmpty(self): # real signature unknown; restored from __doc__
        """
        IsEmpty(self) -> int
        C++: int IsEmpty()
        
        Indicate whether the collection contains any attributes.
        \post definition: result==(GetNumberOfAttributes()==0)
        """
        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) -> vtkGenericAttributeCollection
        C++: vtkGenericAttributeCollection *NewInstance()
        """
        return vtkGenericAttributeCollection

    def RemoveAttribute(self, i): # real signature unknown; restored from __doc__
        """
        RemoveAttribute(self, i:int) -> None
        C++: void RemoveAttribute(int i)
        
        Remove the attribute at `i'.
        \pre not_empty: !IsEmpty()
        \pre valid_i: i>=0 && i<GetNumberOfAttributes()
        \post fewer_items: GetNumberOfAttributes()==old
            GetNumberOfAttributes()-1
        """
        pass

    def Reset(self): # real signature unknown; restored from __doc__
        """
        Reset(self) -> None
        C++: void Reset()
        
        Remove all attributes.
        \post is_empty: GetNumberOfAttributes()==0
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkGenericAttributeCollection
        C++: static vtkGenericAttributeCollection *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkGenericAttributeCollection

    def SetActiveAttribute(self, attribute, component=0): # real signature unknown; restored from __doc__
        """
        SetActiveAttribute(self, attribute:int, component:int=0) -> None
        C++: void SetActiveAttribute(int attribute, int component=0)
        
        Set the scalar attribute to be processed. -1 means module.
        \pre not_empty: !IsEmpty()
        \pre valid_attribute: attribute>=0 &&
            attribute<GetNumberOfAttributes()
        \pre valid_component: component>=-1 &&
        component<GetAttribute(attribute)->GetNumberOfComponents()
        \post is_set: GetActiveAttribute()==attribute &&
        GetActiveComponent()==component
        """
        pass

    def SetAttributesToInterpolate(self, size, attributes, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        SetAttributesToInterpolate(self, size:int, attributes:[int, ...])
            -> None
        C++: void SetAttributesToInterpolate(int size, int *attributes)
        
        Set the attributes to interpolate.
        \pre not_empty: !IsEmpty()
        \pre positive_size: size>=0
        \pre valid_attributes: size>0 implies attributes!=0
        \pre valid_attributes_contents: attributes!=0 implies
        !HasAttributes(size,attributes,GetActiveAttribute())
        \post is_set: (GetNumberOfAttributesToInterpolate()==size)&&
        (GetAttributesToInterpolate()==attributes)
        """
        pass

    def SetAttributesToInterpolateToAll(self): # real signature unknown; restored from __doc__
        """
        SetAttributesToInterpolateToAll(self) -> None
        C++: void SetAttributesToInterpolateToAll()
        """
        pass

    def ShallowCopy(self, other): # real signature unknown; restored from __doc__
        """
        ShallowCopy(self, other:vtkGenericAttributeCollection) -> None
        C++: void ShallowCopy(vtkGenericAttributeCollection *other)
        
        Copy, via reference counting, the other attribute array.
        \pre other_exists: other!=0
        \pre not_self: other!=this
        \post same_size:
            GetNumberOfAttributes()==other->GetNumberOfAttributes()
        """
        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__': 'vtkGenericAttributeCollection', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetNumberOfAttributes': <method 'GetNumberOfAttributes' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetNumberOfComponents': <method 'GetNumberOfComponents' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetNumberOfPointCenteredComponents': <method 'GetNumberOfPointCenteredComponents' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetMaxNumberOfComponents': <method 'GetMaxNumberOfComponents' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetActualMemorySize': <method 'GetActualMemorySize' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'IsEmpty': <method 'IsEmpty' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetAttribute': <method 'GetAttribute' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'FindAttribute': <method 'FindAttribute' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetAttributeIndex': <method 'GetAttributeIndex' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'InsertNextAttribute': <method 'InsertNextAttribute' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'InsertAttribute': <method 'InsertAttribute' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'RemoveAttribute': <method 'RemoveAttribute' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'Reset': <method 'Reset' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'DeepCopy': <method 'DeepCopy' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'ShallowCopy': <method 'ShallowCopy' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetMTime': <method 'GetMTime' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetActiveAttribute': <method 'GetActiveAttribute' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetActiveComponent': <method 'GetActiveComponent' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'SetActiveAttribute': <method 'SetActiveAttribute' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetNumberOfAttributesToInterpolate': <method 'GetNumberOfAttributesToInterpolate' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'GetAttributesToInterpolate': <method 'GetAttributesToInterpolate' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'HasAttribute': <method 'HasAttribute' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'SetAttributesToInterpolate': <method 'SetAttributesToInterpolate' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, 'SetAttributesToInterpolateToAll': <method 'SetAttributesToInterpolateToAll' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D622A50>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttributeCollection' objects>, '__doc__': 'vtkGenericAttributeCollection - a collection of attributes\\n\\nSuperclass: vtkObject\\n\\nvtkGenericAttributeCollection is a class that collects attributes\\n(represented by vtkGenericAttribute).\\n\\n'})"
    __vtkname__ = 'vtkGenericAttributeCollection'


