![]() |
aimsdata
4.7.0
Neuroimaging data handling
|
The bucket base class to manage packages of points associated to their value during time. More...
#include <aims/bucket/bucket.h>
Public Types | |
typedef std::map< int, std::list< AimsBucketItem< T > > >::iterator | iterator |
typedef std::map< int, std::list< AimsBucketItem< T > > >::const_iterator | const_iterator |
typedef std::map< int, std::list< AimsBucketItem< T > > >::key_type | key_type |
Public Member Functions | |
AimsBucket () | |
AimsBucket (const AimsBucket< T > &other) | |
AimsBucket (const aims::BucketMap< T > &other) | |
virtual | ~AimsBucket () |
AimsBucket< T > & | operator= (const aims::BucketMap< T > &) |
const aims::PythonHeader & | header () const |
aims::PythonHeader & | header () |
void | setHeader (const aims::PythonHeader &hdr) |
Item manipulation and methods | |
void | push_front (const AimsBucketItem< T > &item) |
Function redefined to omit time. More... | |
void | push_back (const AimsBucketItem< T > &item) |
void | pop_front () |
void | pop_back () |
const std::list< AimsBucketItem< T > > & | operator[] (const key_type &n) const |
std::list< AimsBucketItem< T > > & | operator[] (const key_type &n) |
float | sizeX () const |
returns the X resolution in mm More... | |
float | sizeY () const |
returns the Y resolution in mm More... | |
float | sizeZ () const |
returns the Z resolution in mm More... | |
float | sizeT () const |
returns the T resolution in mm More... | |
void | setSizeX (float sizex) |
sets the X resolution of the data in mm More... | |
void | setSizeY (float sizey) |
sets the Y resolution of the data in mm More... | |
void | setSizeZ (float sizez) |
sets the Z resolution of the data in mm More... | |
void | setSizeT (float sizet) |
sets the T resolution of the data in mm More... | |
void | setSizeXYZT (float sizex, float sizey, float sizez, float sizet) |
sets X,Y,Z and T resolutions of the data in mm More... | |
void | erase () |
Empty the whole map. More... | |
Protected Attributes | |
aims::PythonHeader | _header |
Friends | |
std::ostream & | operator<< (std::ostream &out, const AimsBucket< T > &thing) |
The bucket base class to manage packages of points associated to their value during time.
Time can be omitted if not needed. Buckets are based upon STL maps of lists of basic bucket items. One can get some more details in STL documentation.
typedef std::map<int, std::list<AimsBucketItem<T> > >::const_iterator AimsBucket< T >::const_iterator |
typedef std::map<int, std::list<AimsBucketItem<T> > >::iterator AimsBucket< T >::iterator |
typedef std::map<int, std::list<AimsBucketItem<T> > >::key_type AimsBucket< T >::key_type |
|
inline |
|
inline |
|
inline |
Definition at line 372 of file bucketMap.h.
|
inlinevirtual |
|
inline |
|
inline |
Definition at line 140 of file bucket.h.
Referenced by aims::BucketMap< Void >::operator=(), and aims::BckWriter< T >::write().
|
inline |
|
inline |
Definition at line 379 of file bucketMap.h.
References DECLARE_GENERIC_OBJECT_TYPE, aims::BucketMap< T >::header(), AimsBucketItem< T >::location(), and AimsBucketItem< T >::value().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 142 of file bucket.h.
Referenced by aims::BckReader< T >::read().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
returns the T resolution in mm
Definition at line 230 of file bucket.h.
Referenced by aims::BckWriter< T >::write().
|
inline |
returns the X resolution in mm
Definition at line 200 of file bucket.h.
Referenced by aims::BckWriter< T >::write().
|
inline |
returns the Y resolution in mm
Definition at line 210 of file bucket.h.
Referenced by aims::BckWriter< T >::write().
|
inline |
returns the Z resolution in mm
Definition at line 220 of file bucket.h.
Referenced by aims::BckWriter< T >::write().
|
friend |
|
protected |