public vtkUnsignedCharArray MapScalars(double alpha)
        {
            vtkUnsignedCharArray vtkUnsignedCharArray = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPolyDataMapper2D.vtkPolyDataMapper2D_MapScalars_21(base.GetCppThis(), alpha, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUnsignedCharArray = (vtkUnsignedCharArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUnsignedCharArray.Register(null);
                }
            }
            return(vtkUnsignedCharArray);
        }
        public virtual vtkUnsignedCharArray GetVisibilityById()
        {
            vtkUnsignedCharArray vtkUnsignedCharArray = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkStructuredVisibilityConstraint.vtkStructuredVisibilityConstraint_GetVisibilityById_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUnsignedCharArray = (vtkUnsignedCharArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUnsignedCharArray.Register(null);
                }
            }
            return(vtkUnsignedCharArray);
        }
        public override vtkUnsignedCharArray MapScalars(vtkDataArray scalars, int colorMode, int component)
        {
            vtkUnsignedCharArray vtkUnsignedCharArray = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDiscretizableColorTransferFunction.vtkDiscretizableColorTransferFunction_MapScalars_12(base.GetCppThis(), (scalars == null) ? default(HandleRef) : scalars.GetCppThis(), colorMode, component, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUnsignedCharArray = (vtkUnsignedCharArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUnsignedCharArray.Register(null);
                }
            }
            return(vtkUnsignedCharArray);
        }
Exemplo n.º 4
0
        public virtual vtkUnsignedCharArray GetResult()
        {
            vtkUnsignedCharArray vtkUnsignedCharArray = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkJPEGWriter.vtkJPEGWriter_GetResult_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUnsignedCharArray = (vtkUnsignedCharArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUnsignedCharArray.Register(null);
                }
            }
            return(vtkUnsignedCharArray);
        }
Exemplo n.º 5
0
        public vtkUnsignedCharArray GetCellTypesArray()
        {
            vtkUnsignedCharArray vtkUnsignedCharArray = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkUnstructuredGrid.vtkUnstructuredGrid_GetCellTypesArray_20(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUnsignedCharArray = (vtkUnsignedCharArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUnsignedCharArray.Register(null);
                }
            }
            return(vtkUnsignedCharArray);
        }
Exemplo n.º 6
0
        public virtual vtkUnsignedCharArray ConvertUnsignedCharToRGBA(vtkUnsignedCharArray colors, int numComp, int numTuples)
        {
            vtkUnsignedCharArray vtkUnsignedCharArray = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkScalarsToColors.vtkScalarsToColors_ConvertUnsignedCharToRGBA_02(base.GetCppThis(), (colors == null) ? default(HandleRef) : colors.GetCppThis(), numComp, numTuples, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUnsignedCharArray = (vtkUnsignedCharArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUnsignedCharArray.Register(null);
                }
            }
            return(vtkUnsignedCharArray);
        }
Exemplo n.º 7
0
        public vtkUnsignedCharArray Compress(IntPtr uncompressedData, uint uncompressedSize)
        {
            vtkUnsignedCharArray vtkUnsignedCharArray = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDataCompressor.vtkDataCompressor_Compress_02(base.GetCppThis(), uncompressedData, uncompressedSize, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUnsignedCharArray = (vtkUnsignedCharArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUnsignedCharArray.Register(null);
                }
            }
            return(vtkUnsignedCharArray);
        }
Exemplo n.º 8
0
        public new static vtkUnsignedCharArray SafeDownCast(vtkObjectBase o)
        {
            vtkUnsignedCharArray vtkUnsignedCharArray = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkUnsignedCharArray.vtkUnsignedCharArray_SafeDownCast_19((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUnsignedCharArray = (vtkUnsignedCharArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUnsignedCharArray.Register(null);
                }
            }
            return(vtkUnsignedCharArray);
        }