Trait rust_3d::traits::IsVoxelImage [] [src]

pub trait IsVoxelImage<T> {
    fn size_x(&self) -> usize;
fn size_y(&self) -> usize;
fn size_z(&self) -> usize;
fn voxel(&self, x: usize, y: usize, z: usize) -> Result<T>; }

IsVoxelImage is a trait used for any type of voxel image

Required Methods

Should return the number of voxels in x-direction

Should return the number of voxels in y-direction

Should return the number of voxels in z-direction

Should return the voxel at a given x y z coordinate

Implementors