R/Classes.R

#' @title VoxelSpace
#' @description Class that holds the state variables of every voxel of the voxel
#'   space in a [`data.table::data.table-class`] object, plus metadata from the
#'   voxel space header.
#' @docType class
#' @slot file the path of the voxel file (.vox).
#' @slot data the voxels hold in a data.table.
#' @slot header a list of parameters associated to this voxel file.
#' @return An object of class VoxelSpace.
#' @seealso [readVoxelSpace()]
#' @name VoxelSpace-class
#' @rdname VoxelSpace-class
#' @export
setClass(

  Class="VoxelSpace",
  slots=c(
    file="character",
    data="data.table",
    header="list"
  )
)
umr-amap/AMAPVox documentation built on Jan. 25, 2025, 1:35 p.m.