Ejemplo n.º 1
0
 public virtual void SetPointVisibilityArray(vtkUnsignedCharArray pointVisibility)
 {
     vtkUniformGrid.vtkUniformGrid_SetPointVisibilityArray_31(base.GetCppThis(), (pointVisibility == null) ? default(HandleRef) : pointVisibility.GetCppThis());
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 4
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));
 }
 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.º 7
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.º 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());
 }