aimsdata  5.1.2
Neuroimaging data handling
aims::SparseVolume< BucketMap< T > > Class Template Reference

#include <aims/bucket/sparsevolume.h>

Public Types

typedef T VoxelType
 
typedef BucketMap< T >::Bucket LowLevelStorage
 
typedef const BucketMap< T >::Bucket const_LowLevelStorage
 
typedef BucketMap< T >::iterator iterator
 
typedef BucketMap< T >::const_iterator const_iterator
 

Public Member Functions

 SparseVolume (int sizeX=1, int sizeY=1, int sizeZ=1, int sizeT=1, const carto::AllocatorContext &allocatorContext=carto::AllocatorContext(), bool allocated=true)
 
 SparseVolume (const carto::rc_ptr< BucketMap< T > > &other)
 
 SparseVolume (const BucketMap< T > &other)
 
virtual ~SparseVolume ()
 
carto::rc_ptr< BucketMap< T > > data () const
 
void reset (BucketMap< T > *x)
 
const T & background () const
 
void setBackground (const T &x)
 
std::vector< int > getSize () const
 
const carto::PropertySetheader () const
 
carto::PropertySetheader ()
 
std::vector< float > voxelSize () const
 
void fill (const T &value)
 
const T & at (int x, int y, int z, int t) const
 
void setValue (const T &value, int x, int y, int z, int t)
 
const T & at (int x, int y=0, int z=0) const
 
void setValue (const T &value, int x, int y=0, int z=0)
 
const T & at (const Point3d &p) const
 
void setValue (const T &value, const Point3d &p)
 
const T & checkedAt (const Point3d &p) const
 
const T & checkedAt (int x, int y=0, int z=0) const
 
const T & checkedAt (int x, int y, int z, int t) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 

Static Public Member Functions

template<typename U >
static SparseVolume< BucketMap< T > > alloc (const SparseVolume< BucketMap< U > > &other)
 
static const Point3dposition3d (const const_iterator &, const typename const_LowLevelStorage::const_iterator &iv)
 
static const T & at (const typename const_LowLevelStorage::const_iterator &iv)
 

Detailed Description

template<typename T>
class aims::SparseVolume< BucketMap< T > >

Definition at line 255 of file sparsevolume.h.

Member Typedef Documentation

◆ const_iterator

template<typename T >
typedef BucketMap<T>::const_iterator aims::SparseVolume< BucketMap< T > >::const_iterator

Definition at line 262 of file sparsevolume.h.

◆ const_LowLevelStorage

template<typename T >
typedef const BucketMap<T>::Bucket aims::SparseVolume< BucketMap< T > >::const_LowLevelStorage

Definition at line 260 of file sparsevolume.h.

◆ iterator

template<typename T >
typedef BucketMap<T>::iterator aims::SparseVolume< BucketMap< T > >::iterator

Definition at line 261 of file sparsevolume.h.

◆ LowLevelStorage

template<typename T >
typedef BucketMap<T>::Bucket aims::SparseVolume< BucketMap< T > >::LowLevelStorage

Definition at line 259 of file sparsevolume.h.

◆ VoxelType

template<typename T >
typedef T aims::SparseVolume< BucketMap< T > >::VoxelType

Definition at line 258 of file sparsevolume.h.

Constructor & Destructor Documentation

◆ SparseVolume() [1/3]

template<typename T >
aims::SparseVolume< BucketMap< T > >::SparseVolume ( int  sizeX = 1,
int  sizeY = 1,
int  sizeZ = 1,
int  sizeT = 1,
const carto::AllocatorContext &  allocatorContext = carto::AllocatorContext(),
bool  allocated = true 
)
inline

Definition at line 542 of file sparsevolume.h.

◆ SparseVolume() [2/3]

template<typename T >
aims::SparseVolume< BucketMap< T > >::SparseVolume ( const carto::rc_ptr< BucketMap< T > > &  other)
inline

Definition at line 558 of file sparsevolume.h.

◆ SparseVolume() [3/3]

template<typename T >
aims::SparseVolume< BucketMap< T > >::SparseVolume ( const BucketMap< T > &  other)
inline

Definition at line 573 of file sparsevolume.h.

◆ ~SparseVolume()

template<typename T >
aims::SparseVolume< BucketMap< T > >::~SparseVolume
inlinevirtual

Definition at line 587 of file sparsevolume.h.

Member Function Documentation

◆ alloc()

◆ at() [1/4]

template<typename T >
const T & aims::SparseVolume< BucketMap< T > >::at ( const Point3d p) const
inline

Definition at line 660 of file sparsevolume.h.

◆ at() [2/4]

template<typename T >
static const T& aims::SparseVolume< BucketMap< T > >::at ( const typename const_LowLevelStorage::const_iterator &  iv)
inlinestatic

Definition at line 306 of file sparsevolume.h.

◆ at() [3/4]

template<typename T >
const T & aims::SparseVolume< BucketMap< T > >::at ( int  x,
int  y,
int  z,
int  t 
) const
inline

Definition at line 645 of file sparsevolume.h.

◆ at() [4/4]

template<typename T >
const T & aims::SparseVolume< BucketMap< T > >::at ( int  x,
int  y = 0,
int  z = 0 
) const
inline

Definition at line 674 of file sparsevolume.h.

◆ background()

template<typename T >
const T& aims::SparseVolume< BucketMap< T > >::background ( ) const
inline

Definition at line 275 of file sparsevolume.h.

◆ begin() [1/2]

template<typename T >
iterator aims::SparseVolume< BucketMap< T > >::begin ( )
inline

Definition at line 298 of file sparsevolume.h.

◆ begin() [2/2]

template<typename T >
const_iterator aims::SparseVolume< BucketMap< T > >::begin ( ) const
inline

Definition at line 299 of file sparsevolume.h.

◆ checkedAt() [1/3]

template<typename T >
const T& aims::SparseVolume< BucketMap< T > >::checkedAt ( const Point3d p) const
inline

Definition at line 292 of file sparsevolume.h.

◆ checkedAt() [2/3]

template<typename T >
const T& aims::SparseVolume< BucketMap< T > >::checkedAt ( int  x,
int  y,
int  z,
int  t 
) const
inline

Definition at line 296 of file sparsevolume.h.

◆ checkedAt() [3/3]

template<typename T >
const T& aims::SparseVolume< BucketMap< T > >::checkedAt ( int  x,
int  y = 0,
int  z = 0 
) const
inline

Definition at line 294 of file sparsevolume.h.

◆ data()

template<typename T >
carto::rc_ptr<BucketMap<T> > aims::SparseVolume< BucketMap< T > >::data ( ) const
inline

Definition at line 270 of file sparsevolume.h.

◆ end() [1/2]

template<typename T >
iterator aims::SparseVolume< BucketMap< T > >::end ( )
inline

Definition at line 300 of file sparsevolume.h.

◆ end() [2/2]

template<typename T >
const_iterator aims::SparseVolume< BucketMap< T > >::end ( ) const
inline

Definition at line 301 of file sparsevolume.h.

◆ fill()

template<typename T >
void aims::SparseVolume< BucketMap< T > >::fill ( const T &  value)
inline

Definition at line 284 of file sparsevolume.h.

◆ getSize()

template<typename T >
std::vector< int > aims::SparseVolume< BucketMap< T > >::getSize
inline

Definition at line 594 of file sparsevolume.h.

◆ header() [1/2]

template<typename T >
carto::PropertySet& aims::SparseVolume< BucketMap< T > >::header ( )
inline

Definition at line 280 of file sparsevolume.h.

◆ header() [2/2]

template<typename T >
const carto::PropertySet& aims::SparseVolume< BucketMap< T > >::header ( ) const
inline

Definition at line 278 of file sparsevolume.h.

◆ position3d()

template<typename T >
static const Point3d& aims::SparseVolume< BucketMap< T > >::position3d ( const const_iterator ,
const typename const_LowLevelStorage::const_iterator &  iv 
)
inlinestatic

Definition at line 302 of file sparsevolume.h.

◆ reset()

template<typename T >
void aims::SparseVolume< BucketMap< T > >::reset ( BucketMap< T > *  x)
inline

Definition at line 709 of file sparsevolume.h.

◆ setBackground()

template<typename T >
void aims::SparseVolume< BucketMap< T > >::setBackground ( const T &  x)
inline

Definition at line 276 of file sparsevolume.h.

◆ setValue() [1/3]

template<typename T >
void aims::SparseVolume< BucketMap< T > >::setValue ( const T &  value,
const Point3d p 
)
inline

Definition at line 691 of file sparsevolume.h.

◆ setValue() [2/3]

template<typename T >
void aims::SparseVolume< BucketMap< T > >::setValue ( const T &  value,
int  x,
int  y,
int  z,
int  t 
)
inline

Definition at line 682 of file sparsevolume.h.

◆ setValue() [3/3]

template<typename T >
void aims::SparseVolume< BucketMap< T > >::setValue ( const T &  value,
int  x,
int  y = 0,
int  z = 0 
)
inline

Definition at line 701 of file sparsevolume.h.

◆ voxelSize()

template<typename T >
std::vector< float > aims::SparseVolume< BucketMap< T > >::voxelSize
inline

Definition at line 632 of file sparsevolume.h.


The documentation for this class was generated from the following file: