A.I.M.S


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

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

Definition at line 262 of file sparsevolume.h.

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

Definition at line 260 of file sparsevolume.h.

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

Definition at line 261 of file sparsevolume.h.

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

Definition at line 259 of file sparsevolume.h.

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

Definition at line 258 of file sparsevolume.h.

Constructor & Destructor Documentation

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 515 of file sparsevolume.h.

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

Definition at line 531 of file sparsevolume.h.

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

Definition at line 546 of file sparsevolume.h.

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

Definition at line 560 of file sparsevolume.h.

Member Function Documentation

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

Definition at line 618 of file sparsevolume.h.

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

Definition at line 647 of file sparsevolume.h.

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

Definition at line 633 of file sparsevolume.h.

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

Definition at line 307 of file sparsevolume.h.

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

Definition at line 275 of file sparsevolume.h.

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

Definition at line 298 of file sparsevolume.h.

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

Definition at line 299 of file sparsevolume.h.

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

Definition at line 292 of file sparsevolume.h.

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.

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.

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

Definition at line 270 of file sparsevolume.h.

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

Definition at line 300 of file sparsevolume.h.

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

Definition at line 301 of file sparsevolume.h.

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

Definition at line 284 of file sparsevolume.h.

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

Definition at line 567 of file sparsevolume.h.

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

Definition at line 278 of file sparsevolume.h.

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

Definition at line 280 of file sparsevolume.h.

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 303 of file sparsevolume.h.

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

Definition at line 682 of file sparsevolume.h.

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

Definition at line 276 of file sparsevolume.h.

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

Definition at line 655 of file sparsevolume.h.

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

Definition at line 674 of file sparsevolume.h.

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

Definition at line 664 of file sparsevolume.h.

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

Definition at line 605 of file sparsevolume.h.


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