Ejemplo n.º 1
0
        public new static vtkUnsignedCharArray New()
        {
            vtkUnsignedCharArray result = null;
            uint   mteStatus            = 0u;
            uint   mteIndex             = 4294967295u;
            uint   rawRefCount          = 0u;
            IntPtr intPtr = vtkUnsignedCharArray.vtkUnsignedCharArray_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkUnsignedCharArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Ejemplo n.º 2
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);
        }
Ejemplo n.º 3
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);
        }
Ejemplo n.º 4
0
        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);
        }
Ejemplo 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);
        }
        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);
        }
Ejemplo n.º 8
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);
        }
Ejemplo n.º 9
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);
        }
Ejemplo n.º 10
0
 public virtual void SetResult(vtkUnsignedCharArray arg0)
 {
     vtkJPEGWriter.vtkJPEGWriter_SetResult_16(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
 public static void MagnifyImageNearest(vtkUnsignedCharArray fullImage, IntPtr fullImageSize, vtkUnsignedCharArray reducedImage, IntPtr reducedImageSize, IntPtr fullImageViewport, IntPtr reducedImageViewport)
 {
     vtkParallelRenderManager.vtkParallelRenderManager_MagnifyImageNearest_50((fullImage == null) ? default(HandleRef) : fullImage.GetCppThis(), fullImageSize, (reducedImage == null) ? default(HandleRef) : reducedImage.GetCppThis(), reducedImageSize, fullImageViewport, reducedImageViewport);
 }
 public virtual void MagnifyImage(vtkUnsignedCharArray fullImage, IntPtr fullImageSize, vtkUnsignedCharArray reducedImage, IntPtr reducedImageSize, IntPtr fullImageViewport, IntPtr reducedImageViewport)
 {
     vtkParallelRenderManager.vtkParallelRenderManager_MagnifyImage_48(base.GetCppThis(), (fullImage == null) ? default(HandleRef) : fullImage.GetCppThis(), fullImageSize, (reducedImage == null) ? default(HandleRef) : reducedImage.GetCppThis(), reducedImageSize, fullImageViewport, reducedImageViewport);
 }
 public virtual void GetReducedPixelData(int x1, int y1, int x2, int y2, vtkUnsignedCharArray data)
 {
     vtkParallelRenderManager.vtkParallelRenderManager_GetReducedPixelData_33(base.GetCppThis(), x1, y1, x2, y2, (data == null) ? default(HandleRef) : data.GetCppThis());
 }
 public virtual void GetReducedPixelData(vtkUnsignedCharArray data)
 {
     vtkParallelRenderManager.vtkParallelRenderManager_GetReducedPixelData_32(base.GetCppThis(), (data == null) ? default(HandleRef) : data.GetCppThis());
 }
 public override int GetPixelData(int x, int y, int x2, int y2, int front, vtkUnsignedCharArray data)
 {
     return(vtkOpenGLRenderWindow.vtkOpenGLRenderWindow_GetPixelData_15(base.GetCppThis(), x, y, x2, y2, front, (data == null) ? default(HandleRef) : data.GetCppThis()));
 }
Ejemplo n.º 16
0
 public void SetTable(vtkUnsignedCharArray arg0)
 {
     vtkLookupTable.vtkLookupTable_SetTable_66(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
Ejemplo n.º 17
0
 public virtual void SetPointVisibilityArray(vtkUnsignedCharArray pointVisibility)
 {
     vtkUniformGrid.vtkUniformGrid_SetPointVisibilityArray_31(base.GetCppThis(), (pointVisibility == null) ? default(HandleRef) : pointVisibility.GetCppThis());
 }
Ejemplo n.º 18
0
 public virtual void Tessellate(vtkGenericAttributeCollection attributes, vtkGenericCellTessellator tess, vtkPoints points, vtkIncrementalPointLocator locator, vtkCellArray cellArray, vtkPointData internalPd, vtkPointData pd, vtkCellData cd, vtkUnsignedCharArray types)
 {
     vtkGenericAdaptorCell.vtkGenericAdaptorCell_Tessellate_45(base.GetCppThis(), (attributes == null) ? default(HandleRef) : attributes.GetCppThis(), (tess == null) ? default(HandleRef) : tess.GetCppThis(), (points == null) ? default(HandleRef) : points.GetCppThis(), (locator == null) ? default(HandleRef) : locator.GetCppThis(), (cellArray == null) ? default(HandleRef) : cellArray.GetCppThis(), (internalPd == null) ? default(HandleRef) : internalPd.GetCppThis(), (pd == null) ? default(HandleRef) : pd.GetCppThis(), (cd == null) ? default(HandleRef) : cd.GetCppThis(), (types == null) ? default(HandleRef) : types.GetCppThis());
 }
Ejemplo n.º 19
0
 public void SetPointVisibilityArray(vtkUnsignedCharArray pointVisibility)
 {
     vtkStructuredGrid.vtkStructuredGrid_SetPointVisibilityArray_49(base.GetCppThis(), (pointVisibility == null) ? default(HandleRef) : pointVisibility.GetCppThis());
 }
 public override int SetRGBACharPixelData(int x, int y, int x2, int y2, vtkUnsignedCharArray data, int front, int blend)
 {
     return(vtkOpenGLRenderWindow.vtkOpenGLRenderWindow_SetRGBACharPixelData_35(base.GetCppThis(), x, y, x2, y2, (data == null) ? default(HandleRef) : data.GetCppThis(), front, blend));
 }
Ejemplo n.º 21
0
 public virtual int GetPixelData(int x, int y, int x2, int y2, int front, vtkUnsignedCharArray data)
 {
     return(vtkWindow.vtkWindow_GetPixelData_19(base.GetCppThis(), x, y, x2, y2, front, (data == null) ? default(HandleRef) : data.GetCppThis()));
 }
Ejemplo n.º 22
0
 public void DrawPointSprites(vtkImageData sprite, vtkPoints2D points, vtkUnsignedCharArray colors)
 {
     vtkContext2D.vtkContext2D_DrawPointSprites_21(base.GetCppThis(), (sprite == null) ? default(HandleRef) : sprite.GetCppThis(), (points == null) ? default(HandleRef) : points.GetCppThis(), (colors == null) ? default(HandleRef) : colors.GetCppThis());
 }
 public void SetVisibilityById(vtkUnsignedCharArray vis)
 {
     vtkStructuredVisibilityConstraint.vtkStructuredVisibilityConstraint_SetVisibilityById_14(base.GetCppThis(), (vis == null) ? default(HandleRef) : vis.GetCppThis());
 }
Ejemplo n.º 24
0
 public static void ResizeUnsignedCharArray(vtkUnsignedCharArray uca, int numComp, long size)
 {
     vtkCompositer.vtkCompositer_ResizeUnsignedCharArray_10((uca == null) ? default(HandleRef) : uca.GetCppThis(), numComp, size);
 }
Ejemplo n.º 25
0
 public void SetCells(vtkUnsignedCharArray cellTypes, vtkIdTypeArray cellLocations, vtkCellArray cells, vtkIdTypeArray faceLocations, vtkIdTypeArray faces)
 {
     vtkUnstructuredGrid.vtkUnstructuredGrid_SetCells_60(base.GetCppThis(), (cellTypes == null) ? default(HandleRef) : cellTypes.GetCppThis(), (cellLocations == null) ? default(HandleRef) : cellLocations.GetCppThis(), (cells == null) ? default(HandleRef) : cells.GetCppThis(), (faceLocations == null) ? default(HandleRef) : faceLocations.GetCppThis(), (faces == null) ? default(HandleRef) : faces.GetCppThis());
 }
Ejemplo n.º 26
0
 public void SetCellTypes(int ncells, vtkUnsignedCharArray cellTypes, vtkIntArray cellLocations)
 {
     vtkCellTypes.vtkCellTypes_SetCellTypes_21(base.GetCppThis(), ncells, (cellTypes == null) ? default(HandleRef) : cellTypes.GetCppThis(), (cellLocations == null) ? default(HandleRef) : cellLocations.GetCppThis());
 }