Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

VoxelImage< T, CLASS_IMAGE, BASE_IMAGE > Class Template Reference

#include <PointCloud/VoxelImage.H>

Inheritance diagram for VoxelImage< T, CLASS_IMAGE, BASE_IMAGE >:

Inheritance graph
[legend]
Collaboration diagram for VoxelImage< T, CLASS_IMAGE, BASE_IMAGE >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T, class CLASS_IMAGE, class BASE_IMAGE>
class VoxelImage< T, CLASS_IMAGE, BASE_IMAGE >

Pure Virtual base class for all voxel image types.

As one example of how to create a voxel image see VirtualVoxel.H and the VirtualVoxel Class.

Parameters:
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


Member Function Documentation

template<class T, class CLASS_IMAGE, class BASE_IMAGE>
virtual unsigned int VoxelImage< T, CLASS_IMAGE, BASE_IMAGE >::getDepth  )  const [pure virtual]
 

get out depth - Z

Implemented in RealVoxel< T >, VirtualVoxel< T >, and VirtualVoxel< RETINA_VOXEL_TYPE >.

template<class T, class CLASS_IMAGE, class BASE_IMAGE>
virtual unsigned int VoxelImage< T, CLASS_IMAGE, BASE_IMAGE >::getHeight  )  const [pure virtual]
 

get our height - Y

Implemented in RealVoxel< T >, VirtualVoxel< T >, and VirtualVoxel< RETINA_VOXEL_TYPE >.

template<class T, class CLASS_IMAGE, class BASE_IMAGE>
virtual bool VoxelImage< T, CLASS_IMAGE, BASE_IMAGE >::getVal const unsigned int  x,
const unsigned int  y,
const unsigned int  z,
T &  vox
[pure virtual]
 

Get voxel at x,y,z return false if fails.

Implemented in RealVoxel< T >, and VirtualVoxel< T >.

template<class T, class CLASS_IMAGE, class BASE_IMAGE>
virtual unsigned int VoxelImage< T, CLASS_IMAGE, BASE_IMAGE >::getWidth  )  const [pure virtual]
 

get our width - X

Implemented in RealVoxel< T >, VirtualVoxel< T >, and VirtualVoxel< RETINA_VOXEL_TYPE >.

template<class T, class CLASS_IMAGE, class BASE_IMAGE>
virtual void VoxelImage< T, CLASS_IMAGE, BASE_IMAGE >::setVal const unsigned int  x,
const unsigned int  y,
const unsigned int  z,
const T &  vox
[pure virtual]
 

store a voxel at x,y,z

Implemented in RealVoxel< T >, and VirtualVoxel< T >.


The documentation for this class was generated from the following file:
Generated on Sun Nov 22 13:46:50 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4