赞
踩
参考
https://kitware.github.io/vtk-examples/site/VTKFileFormats/#legacy-file-examples
文件为文本文件,后缀为.vtk
存储类型为非结构网格: UNSTRUCTURED_GRID
文件分为两部分:
前4行为头部
我们就讲非结构网格这种数据类型
它分为三个部分:
我们分别来讲
POINTS 点数据
CELSS 网格数据
分别是网格的数量和cell list size(其实就是54985*5 = 274925)
CELL_TYPES网格类型
网格也是数量
后面的数字代表的是网格的类型编号。(10代表 的是四面体,其他类型编号请看下图)
Unstructured Grid. The unstructured grid dataset consists of arbitrary combinations of any possible cell type. Unstructured grids are defined by points, cells, and cell types. The CELLS keyword requires two parameters: the number of cells n and the size of the cell list size. The cell list size is the total number of integer values required to represent the list (i.e., sum of numPoints and connectivity indices over each cell). The CELL_TYPES keyword requires a single parameter: the number of cells n. This value should match the value specified by the CELLS keyword. The cell types data is a single integer value per cell that specified cell type (see vtkCell.h or Figure 2).
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。