|
Bsoft 2.1.4
Bernard's software package
|
Header file for reading and writing OpenDX files. More...
#include "rwimg.h"Functions | |
| int | readDX (Bimage *p, int readdata) |
| Reading an OpenDX image format. More... | |
| int | writeDX (Bimage *p) |
| Writing a DX image format. More... | |
Header file for reading and writing OpenDX files.
Format: OpenDX image file format
| int readDX | ( | Bimage * | p, |
| int | readdata | ||
| ) |
Reading an OpenDX image format.
| *p | the image structure. |
| readdata | flag to activate reading of image data. |
object 1 class gridpositions counts nx ny nz origin xmin ymin zmin delta hx 0.0 0.0 delta 0.0 hy 0.0 delta 0.0 0.0 hz object 2 class gridconnections counts nx ny nz object 3 class array type double rank 0 times n u(0,0,0) u(0,0,1) u(0,0,2) ... u(0,0,nz-3) u(0,0,nz-2) u(0,0,nz-1) u(0,1,0) u(0,1,1) u(0,1,2) ... u(0,1,nz-3) u(0,1,nz-2) u(0,1,nz-1) ... u(0,ny-3,nz-3) u(0,ny-2,nz-2) u(0,ny-1,nz-1) u(1,0,0) u(1,0,1) u(1,0,2) ... attribute "dep" string "positions" object "regular positions regular connections" class field component "positions" value 1 component "connections" value 2 component "data" value 3
| int writeDX | ( | Bimage * | p | ) |
Writing a DX image format.
| *p | the image structure. |