read_vox: Read voxel file

Description Usage Arguments Details Value Examples

View source: R/manage_voxels.R

Description

Read the voxel file, either input or output from ARCHIMED

Usage

1
read_vox(input)

Arguments

input

File path (including file name). Can also be anything compatible with data.table::fread().

Details

This function uses read_voxel_space() to find the voxel space and set it as an attribute: voxel_space.

Value

The voxel data

Examples

1
2
3
4
5
6
7
## Not run: 
# Read a voxel file:
vox= read_vox(path= "output/voxelized_scene.vox")
# Find the voxel space:
attr(vox, "voxel_space")

## End(Not run)

VEZY/archimedR documentation built on Feb. 28, 2020, 6:36 p.m.