2.2.6. vtk_rectilinearGrid
Purpose
Create regular voxel grid from points in an ASCIItable.
Usage
> vtk_rectilinearGrid options ASCII table(s)
Options
-
-m
/ --mode
- cell-centered or point-centered coordinates
-
-p
/ --position
[ pos ] - label of coordinates
Examples
For an exemplary
ASCII table
1 header
1_pos 2_pos 3_pos microstructure
0.5 0.5 0.5 1.0
1.5 0.5 0.5 1.0
0.5 1.5 0.5 1.0
1.5 1.5 0.5 1.0
0.5 0.5 1.5 2.0
1.5 0.5 1.5 2.0
0.5 1.5 1.5 2.0
1.5 1.5 1.5 2.0
0.5 0.5 2.5 2.0
1.5 0.5 2.5 2.0
0.5 1.5 2.5 2.0
1.5 1.5 2.5 2.0
0.5 0.5 3.5 2.0
1.5 0.5 3.5 2.0
0.5 1.5 3.5 2.0
1.5 1.5 3.5 2.0
the rectilinear grids resulting from cell-centered and point-centered interpretation (
--mode
) of the coordinates are shown in Figure
1.
|
(a) Cell-centered grid |
(b) Point-centered grid |
| |
| Figure 1: Rectilinear grids following from above ASCII table. | |