interface VTIFile {
    arrayNames: string[];
    scalars: Record<string, VoxelGrid>;
    vectors: Record<string, VectorGrid>;
    warnings: string[];
}

Properties

arrayNames: string[]

Names of every array, in file order. Convenience for "pick the first".

scalars: Record<string, VoxelGrid>

Single-component arrays — Voxel grids (temperature, pressure, etc).

vectors: Record<string, VectorGrid>

Three-component arrays — Vector grids (velocity, etc).

warnings: string[]

Non-fatal warnings collected while parsing (skipped arrays, unsupported encodings).