# 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 vtkGenericAttribute(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkGenericAttribute - abstract class defined API for attribute data
    
    Superclass: vtkObject
    
    vtkGenericAttribute is an abstract class that defines an API for
    attribute data. Attribute data is data associated with the topology
    or geometry of a dataset (i.e., points, cells, etc.).
    vtkGenericAttribute is part of the adaptor framework (see
    GenericFiltering/README.html).
    
    vtkGenericAttribute provides a more general interface to attribute
    data than its counterpart vtkDataArray (which assumes a linear,
    contiguous array). It adopts an iterator interface, and allows
    attributes to be associated with points, edges, faces, or edges.
    """
    def DeepCopy(self, other): # real signature unknown; restored from __doc__
        """
        DeepCopy(self, other:vtkGenericAttribute) -> None
        C++: virtual void DeepCopy(vtkGenericAttribute *other)
        
        Recursive duplication of `other' in `this'.
        \pre other_exists: other!=0
        \pre not_self: other!=this
        """
        pass

    def GetActualMemorySize(self): # real signature unknown; restored from __doc__
        """
        GetActualMemorySize(self) -> int
        C++: virtual unsigned long GetActualMemorySize()
        
        Size in kibibytes (1024 bytes) taken by the attribute.
        """
        return 0

    def GetCentering(self): # real signature unknown; restored from __doc__
        """
        GetCentering(self) -> int
        C++: virtual int GetCentering()
        
        Is the attribute centered either on points, cells or boundaries?
        \post valid_result:
            (result==vtkPointCentered)||(result==vtkCellCentered)
        """
        return 0

    def GetComponent(self, i, c, values, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetComponent(self, i:int, c:vtkGenericCellIterator, values:[float,
             ...]) -> None
        C++: virtual void GetComponent(int i, vtkGenericCellIterator *c,
            double *values)
        GetComponent(self, i:int, p:vtkGenericPointIterator) -> float
        C++: virtual double GetComponent(int i,
            vtkGenericPointIterator *p)
        
        Put component `i' of the attribute at all points of cell `c' in
        `values'.
        \pre valid_component: (i>=0) && (i<GetNumberOfComponents())
        \pre c_exists: c!=0
        \pre c_valid: !c->IsAtEnd()
        \pre values_exist: values!=0
        \pre valid_values:
            sizeof(values)>=c->GetCell()->GetNumberOfPoints()
        """
        pass

    def GetComponentType(self): # real signature unknown; restored from __doc__
        """
        GetComponentType(self) -> int
        C++: virtual int GetComponentType()
        
        Type of the components of the attribute: int, float, double
        \post valid_result: (result==VTK_BIT)          
            ||(result==VTK_CHAR)
        ||(result==VTK_UNSIGNED_CHAR) ||(result==VTK_SHORT)
        ||(result==VTK_UNSIGNED_SHORT)||(result==VTK_INT)
        ||(result==VTK_UNSIGNED_INT)  ||(result==VTK_LONG)
        ||(result==VTK_UNSIGNED_LONG) ||(result==VTK_FLOAT)
        ||(result==VTK_DOUBLE)        ||(result==VTK_ID_TYPE)
        """
        return 0

    def GetMaxNorm(self): # real signature unknown; restored from __doc__
        """
        GetMaxNorm(self) -> float
        C++: virtual double GetMaxNorm()
        
        Return the maximum euclidean norm for the tuples.
        \post positive_result: result>=0
        """
        return 0.0

    def GetName(self): # real signature unknown; restored from __doc__
        """
        GetName(self) -> str
        C++: virtual const char *GetName()
        
        Name of the attribute. (e.g. "velocity")
        \post result_may_not_exist: result!=0 || result==0
        """
        return ""

    def GetNumberOfComponents(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfComponents(self) -> int
        C++: virtual int GetNumberOfComponents()
        
        Dimension of the attribute. (1 for scalar, 3 for velocity)
        \post positive_result: result>=0
        \post GetType()==VTK_SCALARS implies result==1
        \post
            (GetType()==VTK_VECTORS||(GetType()==VTK_NORMALS)||(GetType()=
            =VTK_TCOORDS) implies
        result==3 \post GetType()==VTK_TENSORS implies result==6
        """
        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 GetRange(self, component=0): # real signature unknown; restored from __doc__
        """
        GetRange(self, component:int=0) -> Pointer
        C++: virtual double *GetRange(int component=0)
        GetRange(self, component:int, range:[float, float]) -> None
        C++: virtual void GetRange(int component, double range[2])
        
        Range of the attribute component `component'. If `component'==-1,
        it returns the range of the magnitude (euclidean norm). It
        returns double, even if GetType()==VTK_INT. NOT THREAD SAFE
        \pre valid_component:
            (component>=-1)&&(component<GetNumberOfComponents())
        \post result_exists: result!=0
        """
        pass

    def GetSize(self): # real signature unknown; restored from __doc__
        """
        GetSize(self) -> int
        C++: virtual vtkIdType GetSize()
        
        Number of tuples.
        \post valid_result: result>=0
        """
        return 0

    def GetTuple(self, c): # real signature unknown; restored from __doc__
        """
        GetTuple(self, c:vtkGenericAdaptorCell) -> Pointer
        C++: virtual double *GetTuple(vtkGenericAdaptorCell *c)
        GetTuple(self, c:vtkGenericAdaptorCell, tuple:[float, ...])
            -> None
        C++: virtual void GetTuple(vtkGenericAdaptorCell *c,
            double *tuple)
        GetTuple(self, c:vtkGenericCellIterator) -> Pointer
        C++: virtual double *GetTuple(vtkGenericCellIterator *c)
        GetTuple(self, c:vtkGenericCellIterator, tuple:[float, ...])
            -> None
        C++: virtual void GetTuple(vtkGenericCellIterator *c,
            double *tuple)
        GetTuple(self, p:vtkGenericPointIterator) -> Pointer
        C++: virtual double *GetTuple(vtkGenericPointIterator *p)
        GetTuple(self, p:vtkGenericPointIterator, tuple:[float, ...])
            -> None
        C++: virtual void GetTuple(vtkGenericPointIterator *p,
            double *tuple)
        
        Attribute at all points of cell `c'.
        \pre c_exists: c!=0
        \pre c_valid: !c->IsAtEnd()
        \post result_exists: result!=0
        \post valid_result:
            sizeof(result)==GetNumberOfComponents()*c->GetCell()->GetNumbe
            rOfPoints()
        """
        pass

    def GetType(self): # real signature unknown; restored from __doc__
        """
        GetType(self) -> int
        C++: virtual int GetType()
        
        Type of the attribute: scalar, vector, normal, texture
        coordinate, tensor
        \post valid_result: (result==vtkDataSetAttributes::SCALARS)
        ||(result==vtkDataSetAttributes::VECTORS)
        ||(result==vtkDataSetAttributes::NORMALS)
        ||(result==vtkDataSetAttributes::TCOORDS)
        ||(result==vtkDataSetAttributes::TENSORS)
        """
        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) -> vtkGenericAttribute
        C++: vtkGenericAttribute *NewInstance()
        """
        return vtkGenericAttribute

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkGenericAttribute
        C++: static vtkGenericAttribute *SafeDownCast(vtkObjectBase *o)
        """
        return vtkGenericAttribute

    def ShallowCopy(self, other): # real signature unknown; restored from __doc__
        """
        ShallowCopy(self, other:vtkGenericAttribute) -> None
        C++: virtual void ShallowCopy(vtkGenericAttribute *other)
        
        Update `this' using fields of `other'.
        \pre other_exists: other!=0
        \pre not_self: other!=this
        """
        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__': 'vtkGenericAttribute', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetName': <method 'GetName' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetNumberOfComponents': <method 'GetNumberOfComponents' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetCentering': <method 'GetCentering' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetType': <method 'GetType' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetComponentType': <method 'GetComponentType' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetSize': <method 'GetSize' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetActualMemorySize': <method 'GetActualMemorySize' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetRange': <method 'GetRange' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetMaxNorm': <method 'GetMaxNorm' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetTuple': <method 'GetTuple' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'GetComponent': <method 'GetComponent' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'DeepCopy': <method 'DeepCopy' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, 'ShallowCopy': <method 'ShallowCopy' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D6224C0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkGenericAttribute' objects>, '__doc__': 'vtkGenericAttribute - abstract class defined API for attribute data\\n\\nSuperclass: vtkObject\\n\\nvtkGenericAttribute is an abstract class that defines an API for\\nattribute data. Attribute data is data associated with the topology\\nor geometry of a dataset (i.e., points, cells, etc.).\\nvtkGenericAttribute is part of the adaptor framework (see\\nGenericFiltering/README.html).\\n\\nvtkGenericAttribute provides a more general interface to attribute\\ndata than its counterpart vtkDataArray (which assumes a linear,\\ncontiguous array). It adopts an iterator interface, and allows\\nattributes to be associated with points, edges, faces, or edges.\\n\\n'})"
    __vtkname__ = 'vtkGenericAttribute'


