
#include <PointCloud/VoxelImage.H>
Inheritance diagram for VoxelImage< T, CLASS_IMAGE, BASE_IMAGE >:


As one example of how to create a voxel image see VirtualVoxel.H and the VirtualVoxel Class.
| T | is the base type of the voxel such as float | |
| CLASS_IMAGE | is the class of the voxel image | |
| BASE_IMAGE | is the class of the container that holds the actual data such as an array |
Definition at line 84 of file VoxelImage.H.
Public Member Functions | |
| virtual | ~VoxelImage () |
| virtual bool | getVal (const unsigned int x, const unsigned int y, const unsigned int z, T &vox)=0 |
| Get voxel at x,y,z return false if fails. | |
| virtual void | setVal (const unsigned int x, const unsigned int y, const unsigned int z, const T &vox)=0 |
| store a voxel at x,y,z | |
| virtual unsigned int | getHeight () const =0 |
| get our height - Y | |
| virtual unsigned int | getWidth () const =0 |
| get our width - X | |
| virtual unsigned int | getDepth () const =0 |
| get out depth - Z | |
|
|||||||||
|
get out depth - Z
Implemented in RealVoxel< T >, VirtualVoxel< T >, and VirtualVoxel< RETINA_VOXEL_TYPE >. |
|
|||||||||
|
get our height - Y
Implemented in RealVoxel< T >, VirtualVoxel< T >, and VirtualVoxel< RETINA_VOXEL_TYPE >. |
|
||||||||||||||||||||||||
|
Get voxel at x,y,z return false if fails.
Implemented in RealVoxel< T >, and VirtualVoxel< T >. |
|
|||||||||
|
get our width - X
Implemented in RealVoxel< T >, VirtualVoxel< T >, and VirtualVoxel< RETINA_VOXEL_TYPE >. |
|
||||||||||||||||||||||||
|
store a voxel at x,y,z
Implemented in RealVoxel< T >, and VirtualVoxel< T >. |
1.4.4