# encoding: utf-8
# module vtkmodules.vtkRenderingOpenGL2
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkRenderingOpenGL2.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkRenderingCore as __vtkmodules_vtkRenderingCore
import vtkmodules.vtkRenderingHyperTreeGrid as __vtkmodules_vtkRenderingHyperTreeGrid


from .vtkOpenGLPolyDataMapper import vtkOpenGLPolyDataMapper

class vtkCompositePolyDataMapper2(vtkOpenGLPolyDataMapper):
    """
    vtkCompositePolyDataMapper2 - mapper for composite dataset consisting
    of polygonal data.
    
    Superclass: vtkOpenGLPolyDataMapper
    
    vtkCompositePolyDataMapper2 is similar to vtkCompositePolyDataMapper
    except that instead of creating individual mapper for each block in
    the composite dataset, it iterates over the blocks internally.
    """
    def ColorMissingArraysWithNanColorOff(self): # real signature unknown; restored from __doc__
        """
        ColorMissingArraysWithNanColorOff(self) -> None
        C++: virtual void ColorMissingArraysWithNanColorOff()
        """
        pass

    def ColorMissingArraysWithNanColorOn(self): # real signature unknown; restored from __doc__
        """
        ColorMissingArraysWithNanColorOn(self) -> None
        C++: virtual void ColorMissingArraysWithNanColorOn()
        """
        pass

    def GetBlockColor(self, index): # real signature unknown; restored from __doc__
        """
        GetBlockColor(self, index:int) -> Pointer
        C++: double *GetBlockColor(unsigned int index)
        """
        pass

    def GetBlockOpacity(self, index): # real signature unknown; restored from __doc__
        """
        GetBlockOpacity(self, index:int) -> float
        C++: double GetBlockOpacity(unsigned int index)
        """
        return 0.0

    def GetBlockVisibility(self, index): # real signature unknown; restored from __doc__
        """
        GetBlockVisibility(self, index:int) -> bool
        C++: bool GetBlockVisibility(unsigned int index)
        """
        return False

    def GetColorMissingArraysWithNanColor(self): # real signature unknown; restored from __doc__
        """
        GetColorMissingArraysWithNanColor(self) -> bool
        C++: virtual bool GetColorMissingArraysWithNanColor()
        """
        return False

    def GetCompositeDataDisplayAttributes(self): # real signature unknown; restored from __doc__
        """
        GetCompositeDataDisplayAttributes(self)
            -> vtkCompositeDataDisplayAttributes
        C++: vtkCompositeDataDisplayAttributes *GetCompositeDataDisplayAttributes(
            )
        """
        pass

    def GetMTime(self): # real signature unknown; restored from __doc__
        """
        GetMTime(self) -> int
        C++: vtkMTimeType GetMTime() override;
        
        Overridden to include vtkCompositeDataDisplayAttributes' mtime.
        """
        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 HasOpaqueGeometry(self): # real signature unknown; restored from __doc__
        """
        HasOpaqueGeometry(self) -> bool
        C++: bool HasOpaqueGeometry() override;
        
        Some introspection on the type of data the mapper will render
        used by props to determine if they should invoke the mapper on a
        specific rendering pass.
        """
        return False

    def HasTranslucentPolygonalGeometry(self): # real signature unknown; restored from __doc__
        """
        HasTranslucentPolygonalGeometry(self) -> bool
        C++: bool HasTranslucentPolygonalGeometry() override;
        """
        return False

    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) -> vtkCompositePolyDataMapper2
        C++: vtkCompositePolyDataMapper2 *NewInstance()
        """
        return vtkCompositePolyDataMapper2

    def ProcessSelectorPixelBuffers(self, sel, pixeloffsets, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        ProcessSelectorPixelBuffers(self, sel:vtkHardwareSelector,
            pixeloffsets:[int, ...], prop:vtkProp) -> None
        C++: void ProcessSelectorPixelBuffers(vtkHardwareSelector *sel,
            std::vector<unsigned int> &pixeloffsets, vtkProp *prop)
            override;
        
        allows a mapper to update a selections color buffers Called from
        a prop which in turn is called from the selector
        """
        pass

    def ReleaseGraphicsResources(self, __a): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self, __a:vtkWindow) -> None
        C++: void ReleaseGraphicsResources(vtkWindow *) override;
        
        Release any graphics resources that are being consumed by this
        mapper. The parameter window could be used to determine which
        graphic resources to release.
        """
        pass

    def RemoveBlockColor(self, index): # real signature unknown; restored from __doc__
        """
        RemoveBlockColor(self, index:int) -> None
        C++: void RemoveBlockColor(unsigned int index)
        """
        pass

    def RemoveBlockColors(self): # real signature unknown; restored from __doc__
        """
        RemoveBlockColors(self) -> None
        C++: void RemoveBlockColors()
        """
        pass

    def RemoveBlockOpacities(self): # real signature unknown; restored from __doc__
        """
        RemoveBlockOpacities(self) -> None
        C++: void RemoveBlockOpacities()
        """
        pass

    def RemoveBlockOpacity(self, index): # real signature unknown; restored from __doc__
        """
        RemoveBlockOpacity(self, index:int) -> None
        C++: void RemoveBlockOpacity(unsigned int index)
        """
        pass

    def RemoveBlockVisibilities(self): # real signature unknown; restored from __doc__
        """
        RemoveBlockVisibilities(self) -> None
        C++: void RemoveBlockVisibilities()
        """
        pass

    def RemoveBlockVisibility(self, index): # real signature unknown; restored from __doc__
        """
        RemoveBlockVisibility(self, index:int) -> None
        C++: void RemoveBlockVisibility(unsigned int index)
        """
        pass

    def Render(self, ren, act): # real signature unknown; restored from __doc__
        """
        Render(self, ren:vtkRenderer, act:vtkActor) -> None
        C++: void Render(vtkRenderer *ren, vtkActor *act) override;
        
        This calls RenderPiece (in a for loop if streaming is necessary).
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkCompositePolyDataMapper2
        C++: static vtkCompositePolyDataMapper2 *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkCompositePolyDataMapper2

    def SetBlockColor(self, index, color, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        SetBlockColor(self, index:int, color:(float, float, float))
            -> None
        C++: void SetBlockColor(unsigned int index, const double color[3])
        SetBlockColor(self, index:int, r:float, g:float, b:float) -> None
        C++: void SetBlockColor(unsigned int index, double r, double g,
            double b)
        
        Set/get the color for a block given its flat index.
        """
        pass

    def SetBlockOpacity(self, index, opacity): # real signature unknown; restored from __doc__
        """
        SetBlockOpacity(self, index:int, opacity:float) -> None
        C++: void SetBlockOpacity(unsigned int index, double opacity)
        
        Set/get the opacity for a block given its flat index.
        """
        pass

    def SetBlockVisibility(self, index, visible): # real signature unknown; restored from __doc__
        """
        SetBlockVisibility(self, index:int, visible:bool) -> None
        C++: void SetBlockVisibility(unsigned int index, bool visible)
        
        Set/get the visibility for a block given its flat index.
        """
        pass

    def SetColorMissingArraysWithNanColor(self, _arg): # real signature unknown; restored from __doc__
        """
        SetColorMissingArraysWithNanColor(self, _arg:bool) -> None
        C++: virtual void SetColorMissingArraysWithNanColor(bool _arg)
        """
        pass

    def SetCompositeDataDisplayAttributes(self, attributes): # real signature unknown; restored from __doc__
        """
        SetCompositeDataDisplayAttributes(self,
            attributes:vtkCompositeDataDisplayAttributes) -> None
        C++: void SetCompositeDataDisplayAttributes(
            vtkCompositeDataDisplayAttributes *attributes)
        
        Set/get the composite data set attributes.
        """
        pass

    def SetInputArrayToProcess(self, idx, port, connection, fieldAssociation, name): # real signature unknown; restored from __doc__
        """
        SetInputArrayToProcess(self, idx:int, port:int, connection:int,
            fieldAssociation:int, name:str) -> None
        C++: void SetInputArrayToProcess(int idx, int port,
            int connection, int fieldAssociation, const char *name)
            override;
        SetInputArrayToProcess(self, idx:int, port:int, connection:int,
            fieldAssociation:int, fieldAttributeType:int) -> None
        C++: void SetInputArrayToProcess(int idx, int port,
            int connection, int fieldAssociation, int fieldAttributeType)
            override;
        SetInputArrayToProcess(self, idx:int, info:vtkInformation) -> None
        C++: void SetInputArrayToProcess(int idx, vtkInformation *info)
            override;
        SetInputArrayToProcess(self, idx:int, port:int, connection:int,
            fieldAssociation:str, attributeTypeorName:str) -> None
        C++: virtual void SetInputArrayToProcess(int idx, int port,
            int connection, const char *fieldAssociation,
            const char *attributeTypeorName)
        
        Set the input data arrays that this algorithm will process.
        Specifically the idx array that this algorithm will process
        (starting from 0) is the array on port, connection with the
        specified association and name or attribute type (such as
        SCALARS). The fieldAssociation refers to which field in the data
        object the array is stored. See vtkDataObject::FieldAssociations
        for detail.
        """
        pass

    def SetPauseShiftScale(self, pauseShiftScale): # real signature unknown; restored from __doc__
        """
        SetPauseShiftScale(self, pauseShiftScale:bool) -> None
        C++: void SetPauseShiftScale(bool pauseShiftScale) override;
        
        Pause updates of shift-scale parameters based on camera position.
        
        This override passes the information to all instances in Helpers
        .
        """
        pass

    def SetVBOShiftScaleMethod(self, m): # real signature unknown; restored from __doc__
        """
        SetVBOShiftScaleMethod(self, m:int) -> None
        C++: void SetVBOShiftScaleMethod(int m) override;
        
        A convenience method for enabling/disabling
        the VBO's shift+scale transform.
        """
        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__': 'vtkCompositePolyDataMapper2', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'HasOpaqueGeometry': <method 'HasOpaqueGeometry' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'HasTranslucentPolygonalGeometry': <method 'HasTranslucentPolygonalGeometry' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'SetCompositeDataDisplayAttributes': <method 'SetCompositeDataDisplayAttributes' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'GetCompositeDataDisplayAttributes': <method 'GetCompositeDataDisplayAttributes' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'SetBlockVisibility': <method 'SetBlockVisibility' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'GetBlockVisibility': <method 'GetBlockVisibility' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'RemoveBlockVisibility': <method 'RemoveBlockVisibility' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'RemoveBlockVisibilities': <method 'RemoveBlockVisibilities' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'SetBlockColor': <method 'SetBlockColor' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'GetBlockColor': <method 'GetBlockColor' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'RemoveBlockColor': <method 'RemoveBlockColor' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'RemoveBlockColors': <method 'RemoveBlockColors' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'SetBlockOpacity': <method 'SetBlockOpacity' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'GetBlockOpacity': <method 'GetBlockOpacity' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'RemoveBlockOpacity': <method 'RemoveBlockOpacity' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'RemoveBlockOpacities': <method 'RemoveBlockOpacities' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'SetColorMissingArraysWithNanColor': <method 'SetColorMissingArraysWithNanColor' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'GetColorMissingArraysWithNanColor': <method 'GetColorMissingArraysWithNanColor' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'ColorMissingArraysWithNanColorOn': <method 'ColorMissingArraysWithNanColorOn' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'ColorMissingArraysWithNanColorOff': <method 'ColorMissingArraysWithNanColorOff' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'Render': <method 'Render' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'SetVBOShiftScaleMethod': <method 'SetVBOShiftScaleMethod' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'SetPauseShiftScale': <method 'SetPauseShiftScale' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'SetInputArrayToProcess': <method 'SetInputArrayToProcess' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'ProcessSelectorPixelBuffers': <method 'ProcessSelectorPixelBuffers' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, 'GetMTime': <method 'GetMTime' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF8205EEDE0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkRenderingOpenGL2.vtkCompositePolyDataMapper2' objects>, '__doc__': 'vtkCompositePolyDataMapper2 - mapper for composite dataset consisting\\nof polygonal data.\\n\\nSuperclass: vtkOpenGLPolyDataMapper\\n\\nvtkCompositePolyDataMapper2 is similar to vtkCompositePolyDataMapper\\nexcept that instead of creating individual mapper for each block in\\nthe composite dataset, it iterates over the blocks internally.\\n\\n'})"
    __vtkname__ = 'vtkCompositePolyDataMapper2'


