aimstil
5.0.5
|
Collects common code accross all image classes. More...
#include <til/ImageBase.h>
Public Member Functions | |
const numeric_array< int, 3 > & | dim () const |
get image dimension More... | |
int | size () const |
Get total number of elements in image. More... | |
const numeric_array< t_voxsize, 3 > & | vdim () const |
get voxel size More... | |
void | set_vdim (const numeric_array< t_voxsize, 3 > &vdim) |
Set the voxel coordinates. More... | |
Protected Member Functions | |
void | set_dim (const numeric_array< int, 3 > &dim) |
bool | contains (const numeric_array< int, 3 > &p) const |
Collects common code accross all image classes.
Namely, everything related to dimension, voxel size, space origin... Useless by itself
Definition at line 19 of file ImageBase.h.
|
inlineprotected |
Definition at line 86 of file ImageBase.h.
Referenced by til::ImageRLE< T >::getValue(), til::ImageNC< T >::getValue(), and til::ImageRLE< T >::setValue().
|
inline |
get image dimension
Definition at line 34 of file ImageBase.h.
Referenced by til::ImageNC< T >::copy(), til::ImageRLE< T >::copy(), til::ImageC< T >::copy(), til::ImageC< T >::ImageC(), til::ImageRLE< T >::reset(), til::ImageNC< T >::reset(), set_dim(), til::ImageRLE< T >::setUnsafeValue(), and size().
|
inlineprotected |
Definition at line 66 of file ImageBase.h.
References dim().
Referenced by til::ImageNC< T >::ImageNC(), til::ImageRLE< T >::init(), and til::ImageC< T >::init().
|
inline |
Set the voxel coordinates.
Definition at line 58 of file ImageBase.h.
References vdim().
Referenced by til::ImageNC< T >::ImageNC(), til::ImageRLE< T >::init(), and til::ImageC< T >::init().
|
inline |
Get total number of elements in image.
Definition at line 38 of file ImageBase.h.
References dim().
Referenced by til::ConstLinearIterator< ImageC< T > >::init(), and til::ImageC< T >::reset().
|
inline |
get voxel size
Definition at line 49 of file ImageBase.h.
Referenced by til::ImageNC< T >::copy(), til::ImageRLE< T >::copy(), til::ImageC< T >::copy(), til::ImageC< T >::ImageC(), and set_vdim().