Module veloren_common::vol

source ·

Structs§

  • Convenience iterator type that can be used to quickly implement IntoPosIterator.
  • Convenience iterator type that can be used to quickly implement IntoVolIterator.

Traits§

  • A volume that contains voxel data.
  • A voxel.
  • A volume (usually rather a reference to a volume) that is convertible into an iterator.
  • A volume (usually rather a reference to a volume) that is convertible into an iterator to a cuboid subsection of the volume.
  • A volume that is compile-time sized and has its lower bound at (0, 0, 0). The name RasterableVol was chosen because such a volume can be used with VolGrid3d.
  • A volume that provides read access to its voxel data.
  • A volume that is compile-time sized in x and y direction and has its lower bound at (0, 0, z). In z direction there’s no restriction on the lower or upper bound. The name RectRasterableVol was chosen because such a volume can be used with VolGrid2d.
  • A volume whose cross section with the XY-plane is a rectangle.
  • A volume that provides the ability to sample (i.e., clone a section of) its voxel data.
  • A volume that is a cuboid.
  • Used to specify a volume’s compile-time size. This exists as a substitute until const generics are implemented.
  • A volume that provides write access to its voxel data.