示例#1
0
        /// <summary>
        /// Get the values of Cell composition for unstructured grid. Use TODO for getting triangle composition of these cells
        /// </summary>
        /// <returns>A VTKValue of the cell composition. Format : VTK_INT</returns>
        public VTKValue ParseAllUnstructuredGridCellsComposition()
        {
            VTKCells desc = VTKInterop.VTKParser_getUnstructuredGridCellDescriptor(m_parser);
            VTKValue res  = new VTKValue();

            unsafe
            {
                res.Value = VTKInterop.VTKParser_parseAllUnstructuredGridCellsComposition(m_parser);
            }
            res.NbValues = desc.WholeSize;
            res.Format   = VTKValueFormat.VTK_INT;

            return(res);
        }