A.I.M.S


aims::SparseVolume< BucketMap< Void > > Class Template Reference

#include <aims/bucket/sparsevolume.h>

Public Types

typedef int VoxelType
 
typedef BucketMap< Void >::Bucket LowLevelStorage
 
typedef const BucketMap< Void >
::Bucket 
const_LowLevelStorage
 
typedef BucketMap< Void >::iterator iterator
 
typedef BucketMap< Void >
::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< Void > > &other)
 
 SparseVolume (const BucketMap< Void > &other)
 
virtual ~SparseVolume ()
 
carto::rc_ptr< BucketMap< Void > > data () const
 
void reset (BucketMap< Void > *x)
 
const VoxelTypebackground () const
 
void setBackground (const VoxelType &x)
 
std::vector< int > getSize () const
 
const carto::PropertySetheader () const
 
carto::PropertySetheader ()
 
std::vector< float > voxelSize () const
 
void fill (const VoxelType &value)
 
const VoxelTypeat (int x, int y=0, int z=0, int t=0) const
 
void setValue (const VoxelType &value, int x, int y=0, int z=0, int t=0)
 
const VoxelTypeat (const Point3d &p) const
 
void setValue (const VoxelType &value, const Point3d &p)
 
const VoxelTypecheckedAt (const Point3d &p) const
 
const VoxelTypecheckedAt (int x, int y=0, int z=0) const
 
const VoxelTypecheckedAt (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
< Void > > 
alloc (const SparseVolume< BucketMap< U > > &other)
 
static const Point3dposition3d (const const_iterator &, const const_LowLevelStorage::const_iterator &iv)
 
static const Voidat (const const_LowLevelStorage::const_iterator &iv)
 

Detailed Description

template<>
class aims::SparseVolume< BucketMap< Void > >

Definition at line 318 of file sparsevolume.h.

Member Typedef Documentation

Definition at line 323 of file sparsevolume.h.

Definition at line 324 of file sparsevolume.h.

Definition at line 322 of file sparsevolume.h.

Definition at line 321 of file sparsevolume.h.

Constructor & Destructor Documentation

aims::SparseVolume< BucketMap< Void > >::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 710 of file sparsevolume.h.

aims::SparseVolume< BucketMap< Void > >::SparseVolume ( const carto::rc_ptr< BucketMap< Void > > &  other)
inline

Definition at line 718 of file sparsevolume.h.

aims::SparseVolume< BucketMap< Void > >::SparseVolume ( const BucketMap< Void > &  other)
inline

Definition at line 727 of file sparsevolume.h.

aims::SparseVolume< BucketMap< Void > >::~SparseVolume ( )
inlinevirtual

Definition at line 735 of file sparsevolume.h.

Member Function Documentation

const int & aims::SparseVolume< BucketMap< Void > >::at ( int  x,
int  y = 0,
int  z = 0,
int  t = 0 
) const
inline

Definition at line 782 of file sparsevolume.h.

const int & aims::SparseVolume< BucketMap< Void > >::at ( const Point3d p) const
inline

Definition at line 789 of file sparsevolume.h.

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

Definition at line 368 of file sparsevolume.h.

const VoxelType& aims::SparseVolume< BucketMap< Void > >::background ( ) const
inline

Definition at line 338 of file sparsevolume.h.

iterator aims::SparseVolume< BucketMap< Void > >::begin ( )
inline

Definition at line 360 of file sparsevolume.h.

const_iterator aims::SparseVolume< BucketMap< Void > >::begin ( ) const
inline

Definition at line 361 of file sparsevolume.h.

const VoxelType& aims::SparseVolume< BucketMap< Void > >::checkedAt ( const Point3d p) const
inline

Definition at line 354 of file sparsevolume.h.

const VoxelType& aims::SparseVolume< BucketMap< Void > >::checkedAt ( int  x,
int  y = 0,
int  z = 0 
) const
inline

Definition at line 356 of file sparsevolume.h.

const VoxelType& aims::SparseVolume< BucketMap< Void > >::checkedAt ( int  x,
int  y,
int  z,
int  t 
) const
inline

Definition at line 358 of file sparsevolume.h.

carto::rc_ptr<BucketMap<Void> > aims::SparseVolume< BucketMap< Void > >::data ( ) const
inline

Definition at line 333 of file sparsevolume.h.

iterator aims::SparseVolume< BucketMap< Void > >::end ( )
inline

Definition at line 362 of file sparsevolume.h.

const_iterator aims::SparseVolume< BucketMap< Void > >::end ( ) const
inline

Definition at line 363 of file sparsevolume.h.

void aims::SparseVolume< BucketMap< Void > >::fill ( const VoxelType value)
inline

Definition at line 347 of file sparsevolume.h.

std::vector< int > aims::SparseVolume< BucketMap< Void > >::getSize ( ) const
inline

Definition at line 741 of file sparsevolume.h.

const carto::PropertySet& aims::SparseVolume< BucketMap< Void > >::header ( ) const
inline

Definition at line 341 of file sparsevolume.h.

Definition at line 343 of file sparsevolume.h.

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

Definition at line 365 of file sparsevolume.h.

void aims::SparseVolume< BucketMap< Void > >::reset ( BucketMap< Void > *  x)
inline

Definition at line 825 of file sparsevolume.h.

void aims::SparseVolume< BucketMap< Void > >::setBackground ( const VoxelType x)
inline

Definition at line 339 of file sparsevolume.h.

void aims::SparseVolume< BucketMap< Void > >::setValue ( const VoxelType value,
int  x,
int  y = 0,
int  z = 0,
int  t = 0 
)
inline

Definition at line 804 of file sparsevolume.h.

void aims::SparseVolume< BucketMap< Void > >::setValue ( const VoxelType value,
const Point3d p 
)
inline

Definition at line 812 of file sparsevolume.h.

References aims::BucketMap< T >::erase().

std::vector< float > aims::SparseVolume< BucketMap< Void > >::voxelSize ( ) const
inline

Definition at line 770 of file sparsevolume.h.


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