/// <summary> /// Fills the unstructured grid cell buffer. /// </summary> /// <param name="nbCells">Nb cells.</param> /// <param name="ptValues">Point values.</param> /// <param name="cellValues">Cell values.</param> /// <param name="cellTypes">Cell types.</param> /// <param name="buffer">Buffer.</param> /// <param name="destFormat">Destination format.</param> public unsafe void FillUnstructuredGridCellBuffer(UInt32 nbCells, VTKValue ptValues, VTKValue cellValues, VTKValue cellTypes, IntPtr buffer, VTKValueFormat destFormat = VTKValueFormat.VTK_NO_VALUE_FORMAT) { unsafe { VTKInterop.VTKParser_fillUnstructuredGridCellBuffer(m_parser, nbCells, ptValues.Value, (Int32 *)cellValues.Value, (Int32 *)cellTypes.Value, buffer, destFormat); } }