# encoding: utf-8
# module vtkmodules.vtkRenderingVolume
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkRenderingVolume.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkCommonExecutionModel as __vtkmodules_vtkCommonExecutionModel
import vtkmodules.vtkRenderingCore as __vtkmodules_vtkRenderingCore


from .vtkUnstructuredGridVolumeRayIntegrator import vtkUnstructuredGridVolumeRayIntegrator

class vtkUnstructuredGridPreIntegration(vtkUnstructuredGridVolumeRayIntegrator):
    """
    vtkUnstructuredGridPreIntegration - performs ray integration with
    pre-integration tables.
    
    Superclass: vtkUnstructuredGridVolumeRayIntegrator
    
    vtkUnstructuredGridPreIntegration performs ray integration by looking
    into a precomputed table.  The result should be equivalent to that
    computed by vtkUnstructuredGridLinearRayIntegrator and
    vtkUnstructuredGridPartialPreIntegration, but faster than either one.
    The pre-integration algorithm was first introduced by Roettger,
    Kraus, and Ertl in "Hardware-Accelerated Volume And Isosurface
    Rendering Based On Cell-Projection."
    
    Due to table size limitations, a table can only be indexed by
    independent scalars.  Thus, dependent scalars are not supported.
    """
    def GetIncrementalPreIntegration(self): # real signature unknown; restored from __doc__
        """
        GetIncrementalPreIntegration(self) -> int
        C++: virtual vtkTypeBool GetIncrementalPreIntegration()
        
        Get/set whether to use incremental pre-integration (by default
        it's on).  Incremental pre-integration is much faster but can
        introduce error due to numerical imprecision.  Under most
        circumstances, the error is not noticeable.
        """
        return 0

    def GetIndexedTableEntry(self, scalar_front_index, scalar_back_index, length_index, component=0): # real signature unknown; restored from __doc__
        """
        GetIndexedTableEntry(self, scalar_front_index:int,
            scalar_back_index:int, length_index:int, component:int=0)
            -> Pointer
        C++: float *GetIndexedTableEntry(int scalar_front_index,
            int scalar_back_index, int length_index, int component=0)
        
        Like GetTableEntry, except the inputs are scaled indices into the
        table rather than than the actual scalar and length values.  Use
        GetTableEntry unless you are really sure you know what you are
        doing.
        """
        pass

    def GetIntegrationTableLengthResolution(self): # real signature unknown; restored from __doc__
        """
        GetIntegrationTableLengthResolution(self) -> int
        C++: virtual int GetIntegrationTableLengthResolution()
        """
        return 0

    def GetIntegrationTableLengthScale(self): # real signature unknown; restored from __doc__
        """
        GetIntegrationTableLengthScale(self) -> float
        C++: virtual double GetIntegrationTableLengthScale()
        """
        return 0.0

    def GetIntegrationTableScalarResolution(self): # real signature unknown; restored from __doc__
        """
        GetIntegrationTableScalarResolution(self) -> int
        C++: virtual int GetIntegrationTableScalarResolution()
        """
        return 0

    def GetIntegrationTableScalarScale(self, component=0): # real signature unknown; restored from __doc__
        """
        GetIntegrationTableScalarScale(self, component:int=0) -> float
        C++: virtual double GetIntegrationTableScalarScale(
            int component=0)
        """
        return 0.0

    def GetIntegrationTableScalarShift(self, component=0): # real signature unknown; restored from __doc__
        """
        GetIntegrationTableScalarShift(self, component:int=0) -> float
        C++: virtual double GetIntegrationTableScalarShift(
            int component=0)
        
        Get how an integration table is indexed.
        """
        return 0.0

    def GetIntegrator(self): # real signature unknown; restored from __doc__
        """
        GetIntegrator(self) -> vtkUnstructuredGridVolumeRayIntegrator
        C++: virtual vtkUnstructuredGridVolumeRayIntegrator *GetIntegrator(
            )
        
        The class used to fill the pre integration table.  By default, a
        vtkUnstructuredGridPartialPreIntegration is built.
        """
        return vtkUnstructuredGridVolumeRayIntegrator

    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 GetPreIntegrationTable(self, component=0): # real signature unknown; restored from __doc__
        """
        GetPreIntegrationTable(self, component:int=0) -> Pointer
        C++: virtual float *GetPreIntegrationTable(int component=0)
        
        Get the partial pre-integration table for the given scalar
        component. The tables are built when Initialize is called.  A
        segment of length d with a front scalar of sf and a back scalar
        of sb is referenced in the resulting table as 4 * ((l *
        IntegrationTableLengthScale) * \c
        IntegrationTableScalarResolution *
        IntegrationTableScalarResolution + (sb *
        IntegrationTableScalarScale + \c IntegrationTableScalarShift) *
        IntegrationTableScalarResolution + (sf *
        IntegrationTableScalarScale + \c IntegrationTableScalarShift)).
        """
        pass

    def GetTableEntry(self, scalar_front, scalar_back, length, component=0): # real signature unknown; restored from __doc__
        """
        GetTableEntry(self, scalar_front:float, scalar_back:float,
            length:float, component:int=0) -> Pointer
        C++: float *GetTableEntry(double scalar_front, double scalar_back,
             double length, int component=0)
        
        Get an entry (RGBA) in one of the pre-integration tables.  The
        tables are built when Initialize is called.
        """
        pass

    def IncrementalPreIntegrationOff(self): # real signature unknown; restored from __doc__
        """
        IncrementalPreIntegrationOff(self) -> None
        C++: virtual void IncrementalPreIntegrationOff()
        """
        pass

    def IncrementalPreIntegrationOn(self): # real signature unknown; restored from __doc__
        """
        IncrementalPreIntegrationOn(self) -> None
        C++: virtual void IncrementalPreIntegrationOn()
        """
        pass

    def Initialize(self, volume, scalars): # real signature unknown; restored from __doc__
        """
        Initialize(self, volume:vtkVolume, scalars:vtkDataArray) -> None
        C++: void Initialize(vtkVolume *volume, vtkDataArray *scalars)
            override;
        
        Set up the integrator with the given properties and scalars.
        """
        pass

    def Integrate(self, intersectionLengths, nearIntersections, farIntersections, color, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        Integrate(self, intersectionLengths:vtkDoubleArray,
            nearIntersections:vtkDataArray, farIntersections:vtkDataArray,
             color:[float, float, float, float]) -> None
        C++: void Integrate(vtkDoubleArray *intersectionLengths,
            vtkDataArray *nearIntersections,
            vtkDataArray *farIntersections, float color[4]) override;
        
        Given a set of intersections (defined by the three arrays),
        compute the piecewise integration of the array in front to back
        order. /c intersectionLengths holds the lengths of each piecewise
        segment. /c nearIntersections and /c farIntersections hold the
        scalar values at the front and back of each segment.  /c color
        should contain the RGBA value of the volume in front of the
        segments passed in, and the result will be placed back into /c
        color.
        """
        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 NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkUnstructuredGridPreIntegration
        C++: vtkUnstructuredGridPreIntegration *NewInstance()
        """
        return vtkUnstructuredGridPreIntegration

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkUnstructuredGridPreIntegration
        C++: static vtkUnstructuredGridPreIntegration *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkUnstructuredGridPreIntegration

    def SetIncrementalPreIntegration(self, _arg): # real signature unknown; restored from __doc__
        """
        SetIncrementalPreIntegration(self, _arg:int) -> None
        C++: virtual void SetIncrementalPreIntegration(vtkTypeBool _arg)
        """
        pass

    def SetIntegrationTableLengthResolution(self, _arg): # real signature unknown; restored from __doc__
        """
        SetIntegrationTableLengthResolution(self, _arg:int) -> None
        C++: virtual void SetIntegrationTableLengthResolution(int _arg)
        """
        pass

    def SetIntegrationTableScalarResolution(self, _arg): # real signature unknown; restored from __doc__
        """
        SetIntegrationTableScalarResolution(self, _arg:int) -> None
        C++: virtual void SetIntegrationTableScalarResolution(int _arg)
        
        Set/Get the size of the integration table built.
        """
        pass

    def SetIntegrator(self, __a): # real signature unknown; restored from __doc__
        """
        SetIntegrator(self, __a:vtkUnstructuredGridVolumeRayIntegrator)
            -> None
        C++: virtual void SetIntegrator(
            vtkUnstructuredGridVolumeRayIntegrator *)
        """
        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__\': \'vtkUnstructuredGridPreIntegration\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'Initialize\': <method \'Initialize\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'Integrate\': <method \'Integrate\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'GetIntegrator\': <method \'GetIntegrator\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'SetIntegrator\': <method \'SetIntegrator\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'SetIntegrationTableScalarResolution\': <method \'SetIntegrationTableScalarResolution\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'GetIntegrationTableScalarResolution\': <method \'GetIntegrationTableScalarResolution\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'SetIntegrationTableLengthResolution\': <method \'SetIntegrationTableLengthResolution\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'GetIntegrationTableLengthResolution\': <method \'GetIntegrationTableLengthResolution\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'GetIntegrationTableScalarShift\': <method \'GetIntegrationTableScalarShift\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'GetIntegrationTableScalarScale\': <method \'GetIntegrationTableScalarScale\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'GetIntegrationTableLengthScale\': <method \'GetIntegrationTableLengthScale\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'GetIncrementalPreIntegration\': <method \'GetIncrementalPreIntegration\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'SetIncrementalPreIntegration\': <method \'SetIncrementalPreIntegration\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'IncrementalPreIntegrationOn\': <method \'IncrementalPreIntegrationOn\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'IncrementalPreIntegrationOff\': <method \'IncrementalPreIntegrationOff\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'GetPreIntegrationTable\': <method \'GetPreIntegrationTable\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'GetTableEntry\': <method \'GetTableEntry\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'GetIndexedTableEntry\': <method \'GetIndexedTableEntry\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF8393B6E40>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkRenderingVolume.vtkUnstructuredGridPreIntegration\' objects>, \'__doc__\': \'vtkUnstructuredGridPreIntegration - performs ray integration with\\npre-integration tables.\\n\\nSuperclass: vtkUnstructuredGridVolumeRayIntegrator\\n\\nvtkUnstructuredGridPreIntegration performs ray integration by looking\\ninto a precomputed table.  The result should be equivalent to that\\ncomputed by vtkUnstructuredGridLinearRayIntegrator and\\nvtkUnstructuredGridPartialPreIntegration, but faster than either one.\\nThe pre-integration algorithm was first introduced by Roettger,\\nKraus, and Ertl in "Hardware-Accelerated Volume And Isosurface\\nRendering Based On Cell-Projection."\\n\\nDue to table size limitations, a table can only be indexed by\\nindependent scalars.  Thus, dependent scalars are not supported.\\n\\n\'})'
    __vtkname__ = 'vtkUnstructuredGridPreIntegration'


