コード例 #1
0
 public virtual void SetPointVisibilityArray(vtkUnsignedCharArray pointVisibility)
 {
     vtkUniformGrid.vtkUniformGrid_SetPointVisibilityArray_31(base.GetCppThis(), (pointVisibility == null) ? default(HandleRef) : pointVisibility.GetCppThis());
 }
コード例 #2
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());
 }
コード例 #3
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);
        }
コード例 #4
0
 public void SetPointVisibilityArray(vtkUnsignedCharArray pointVisibility)
 {
     vtkStructuredGrid.vtkStructuredGrid_SetPointVisibilityArray_49(base.GetCppThis(), (pointVisibility == null) ? default(HandleRef) : pointVisibility.GetCppThis());
 }
コード例 #5
0
 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));
 }
コード例 #6
0
 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()));
 }
コード例 #7
0
 public static void ResizeUnsignedCharArray(vtkUnsignedCharArray uca, int numComp, long size)
 {
     vtkCompositer.vtkCompositer_ResizeUnsignedCharArray_10((uca == null) ? default(HandleRef) : uca.GetCppThis(), numComp, size);
 }
コード例 #8
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());
 }