示例#1
0
        /// <summary>
        /// Parse all the Unstructured Grid Points available in this dataset.
        /// Use FillUnstructuredGridCellBuffer for getting triangle composition of these cells
        /// </summary>
        /// <returns>A VTKValue of these points.</returns>
        public VTKValue ParseAllUnstructuredGridPoints()
        {
            VTKValue          val = new VTKValue();
            VTKPointPositions pos = VTKInterop.VTKParser_getUnstructuredGridPointDescriptor(m_parser);

            val.Value    = VTKInterop.VTKParser_parseAllUnstructuredGridPoints(m_parser);
            val.NbValues = pos.NbPoints * 3;
            return(val);
        }