cartodata
5.0.5
|
Convenient handle for a Volume - this is normally the entry point for all volumes handling. More...
#include <cartodata/io/volumeformatreader.h>
Public Types | |
typedef T | datatype |
typedef Volume< T >::Position4Di | Position4Di |
typedef Volume< T >::Position | Position |
typedef Volume< T >::iterator | iterator |
typedef Volume< T >::const_iterator | const_iterator |
Public Types inherited from carto::ref< T > | |
typedef T | referenced_type |
Public Types inherited from carto::const_ref< T > | |
typedef T | referenced_type |
Public Member Functions | |
VolumeRef () | |
VolumeRef (Volume< T > *x) | |
VolumeRef (const rc_ptr< Volume< T > > &x) | |
virtual | ~VolumeRef () |
Volume< T > & | operator* () |
const Volume< T > & | operator* () const |
VolumeRef (int sizeX, int sizeY=1, int sizeZ=1, int sizeT=1, const AllocatorContext &allocatorContext=AllocatorContext(), bool allocated=true) | |
VolumeRef (const Position4Di &size, const AllocatorContext &allocatorContext=AllocatorContext(), bool allocated=true) | |
VolumeRef (int sizeX, int sizeY, int sizeZ, int sizeT, int bordersize, const AllocatorContext &allocatorContext=AllocatorContext(), bool allocated=true) | |
VolumeRef (const Position4Di &size, int bordersize, const AllocatorContext &allocatorContext=AllocatorContext(), bool allocated=true) | |
VolumeRef (int sizeX, int sizeY, int sizeZ, int sizeT, const Position4Di &border, const AllocatorContext &allocatorContext=AllocatorContext(), bool allocated=true) | |
VolumeRef (const Position4Di &size, const Position4Di &border, const AllocatorContext &allocatorContext=AllocatorContext(), bool allocated=true) | |
VolumeRef (rc_ptr< Volume< T > > other, const Position4Di &pos, const Position4Di &size=Position4Di(-1, -1, -1, -1), const AllocatorContext &allocContext=AllocatorContext()) | |
VolumeRef (rc_ptr< Volume< T > > other, const Position &pos, const Position &size=Position(), const AllocatorContext &allocContext=AllocatorContext()) | |
std::vector< int > | getSize () const |
int | getSizeX () const |
int | getSizeY () const |
int | getSizeZ () const |
int | getSizeT () const |
const PropertySet & | header () const |
PropertySet & | header () |
const PropertySet & | getPropertySet () const __attribute__((__deprecated__("use header() instead"))) |
PropertySet & | getPropertySet () __attribute__((__deprecated__("use header() instead"))) |
std::vector< float > | getVoxelSize () const |
virtual void | copyHeaderFrom (const PropertySet &other) |
virtual void | copyHeaderFrom (const Object &other) |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
const T & | operator() (long x, long y=0, long z=0, long t=0) const |
T & | operator() (long x, long y=0, long z=0, long t=0) |
const T & | at (long x, long y=0, long z=0, long t=0) const |
T & | at (long x, long y=0, long z=0, long t=0) |
const T & | operator() (const Position4Di &position) const |
T & | operator() (const Position4Di &position) |
const T & | at (const Position4Di &position) const |
T & | at (const Position4Di &position) |
const T & | operator() (const Position &position) const |
T & | operator() (const Position &position) |
const T & | at (const Position &position) const |
T & | at (const Position &position) |
virtual void | initialize () |
const AllocatorContext & | allocatorContext () const |
void | allocate () |
virtual void | reallocate (int sizeX=1, int sizeY=1, int sizeZ=1, int sizeT=1, bool keepcontents=false, const AllocatorContext &allocatorContext=AllocatorContext(), bool allocate=true) |
VolumeRef< T > | copy () const |
template<typename OUTP > | |
VolumeRef< OUTP > | copy () const |
VolumeRef< T > | deepcopy () const |
template<typename OUTP > | |
VolumeRef< OUTP > | deepcopy () const |
VolumeRef< T > | copyStructure () const |
template<typename OUTP > | |
VolumeRef< OUTP > | copyStructure () const |
template<typename OUTP > | |
operator VolumeRef< OUTP > () const | |
int | getLevelsCount () const |
int | refLevel (const int level) const |
rc_ptr< Volume< T > > | refVolume () const |
rc_ptr< Volume< T > > | refVolumeAtLevel (const int level) const |
void | setRefVolume (const rc_ptr< Volume< T > > &refvol) |
const Position4Di | posInRefVolume () const |
Volume< T >::Position | posInRefVolumeAtLevel (const int level) const |
void | setPosInRefVolume (const Position4Di &pos) |
void | setPosInRefVolume (const typename Volume< T >::Position &pos) |
std::vector< int > | getBorders () const |
std::vector< size_t > | getStrides () const |
bool | all () const |
True if all values compare to true. More... | |
bool | any () const |
True if at least one value compares to true. More... | |
T | min () const |
T | max () const |
DataTypeTraits< T >::LongType | sum () const |
To avoid overflow, the biggest possible type (intmax_t, uintmax_t, double...) is used for computation and returned. More... | |
void | fill (const T &value) |
Fills the volume with a given value. More... | |
VolumeRef< T > & | operator= (const T &value) |
VolumeRef< T > | view (const Position4Di &pos, const Position4Di &size) |
const VolumeRef< T > | view (const Position4Di &pos, const Position4Di &size) const |
Public Member Functions inherited from carto::rc_ptr< Volume< T > > | |
rc_ptr () | |
rc_ptr (Volume< T > *p) | |
rc_ptr (Volume< T > *p, bool externalowner) | |
rc_ptr (std::auto_ptr< U > r) | |
void | reset (Volume< T > *p=NULL) |
Volume< T > * | get () const |
bool | operator< (const rc_ptr< Volume< T > > &other) const |
operator insipid * () const | |
Public Member Functions inherited from carto::ref< T > | |
ref () | |
ref (T *pObject) | |
ref (T *pObject, bool externalowner) | |
ref (std::auto_ptr< U > r) | |
ref (const ref< T > &other) | |
ref (const ref< R > &other) | |
~ref () | |
T * | release () |
ref< T > & | operator= (const ref< T > &other) |
T * | operator-> () const |
T & | operator* () const |
T * | pointer () const |
Public Member Functions inherited from carto::const_ref< T > | |
const_ref () | |
const_ref (const T *pObject) | |
const_ref (const T *pObject, bool externalowner) | |
const_ref (std::auto_ptr< U > r) | |
const_ref (const ref< T > &other) | |
const_ref (const const_ref< T > &other) | |
const_ref (const ref< R > &o) | |
const_ref (const const_ref< R > &other) | |
~const_ref () | |
const_ref< T > & | operator= (const ref< T > &other) |
const_ref< T > & | operator= (const const_ref< T > &other) |
bool | isNull () const |
bool | operator== (const ref< T > &other) const |
bool | operator== (const T *pointer) const |
bool | operator== (const const_ref< T > &other) const |
bool | operator!= (const ref< T > &other) const |
bool | operator!= (const const_ref< T > &other) const |
bool | operator!= (const T *pointer) const |
const T * | operator-> () const |
const T & | operator* () const |
const T * | pointer () const |
int | refCount () const |
Public Member Functions inherited from carto::RefData< T > | |
int | count () const |
Convenient handle for a Volume - this is normally the entry point for all volumes handling.
See Volume for more documentation
Definition at line 51 of file volumeformatreader.h.
typedef Volume<T>::const_iterator carto::VolumeRef< T >::const_iterator |
Definition at line 97 of file volumeref.h.
typedef T carto::VolumeRef< T >::datatype |
Definition at line 86 of file volumeref.h.
typedef Volume<T>::iterator carto::VolumeRef< T >::iterator |
Definition at line 96 of file volumeref.h.
typedef Volume<T>::Position carto::VolumeRef< T >::Position |
Definition at line 95 of file volumeref.h.
typedef Volume<T>::Position4Di carto::VolumeRef< T >::Position4Di |
Definition at line 94 of file volumeref.h.
carto::VolumeRef< T >::VolumeRef | ( | ) |
Definition at line 47 of file volumeref_d_inline.h.
carto::VolumeRef< T >::VolumeRef | ( | Volume< T > * | x | ) |
Definition at line 52 of file volumeref_d_inline.h.
carto::VolumeRef< T >::VolumeRef | ( | const rc_ptr< Volume< T > > & | x | ) |
Definition at line 57 of file volumeref_d_inline.h.
|
virtual |
Definition at line 62 of file volumeref_d_inline.h.
|
explicit |
Definition at line 71 of file volumeref_d_inline.h.
|
explicit |
Definition at line 79 of file volumeref_d_inline.h.
|
explicit |
Definition at line 86 of file volumeref_d_inline.h.
|
explicit |
Definition at line 95 of file volumeref_d_inline.h.
|
explicit |
Definition at line 102 of file volumeref_d_inline.h.
|
explicit |
Definition at line 111 of file volumeref_d_inline.h.
|
explicit |
Definition at line 119 of file volumeref_d_inline.h.
|
explicit |
Definition at line 127 of file volumeref_d_inline.h.
|
inline |
True if all values compare to true.
Definition at line 57 of file volumeref_d_operators.h.
|
inline |
Definition at line 344 of file volumeref_d_inline.h.
Referenced by carto::VolumeRef< T >::reallocate().
|
inline |
Definition at line 337 of file volumeref_d_inline.h.
Referenced by carto::VolumeRef< T >::reallocate().
|
inline |
True if at least one value compares to true.
Definition at line 64 of file volumeref_d_operators.h.
|
inline |
Definition at line 257 of file volumeref_d_inline.h.
Referenced by carto::VolumeUtil< T >::apply(), and carto::VolumeUtil< T >::selfApply().
|
inline |
Definition at line 264 of file volumeref_d_inline.h.
|
inline |
Definition at line 285 of file volumeref_d_inline.h.
|
inline |
Definition at line 292 of file volumeref_d_inline.h.
|
inline |
Definition at line 313 of file volumeref_d_inline.h.
|
inline |
Definition at line 320 of file volumeref_d_inline.h.
|
inline |
Definition at line 212 of file volumeref_d_inline.h.
|
inline |
Definition at line 226 of file volumeref_d_inline.h.
|
inline |
Definition at line 126 of file volumeref_d_operators.h.
|
inlinevirtual |
Definition at line 446 of file volumeref_d_inline.h.
|
virtual |
Definition at line 65 of file volumeref_d.h.
|
inline |
Definition at line 156 of file volumeref_d_operators.h.
VolumeRef<OUTP> carto::VolumeRef< T >::copyStructure | ( | ) | const |
|
inline |
Definition at line 141 of file volumeref_d_operators.h.
VolumeRef<OUTP> carto::VolumeRef< T >::deepcopy | ( | ) | const |
|
inline |
Definition at line 219 of file volumeref_d_inline.h.
|
inline |
Definition at line 233 of file volumeref_d_inline.h.
|
inline |
Fills the volume with a given value.
Definition at line 106 of file volumeref_d_operators.h.
|
inline |
Definition at line 432 of file volumeref_d_inline.h.
|
inline |
Definition at line 407 of file volumeref_d_inline.h.
|
inline |
Definition at line 188 of file volumeref_d_inline.h.
|
inline |
Definition at line 195 of file volumeref_d_inline.h.
|
inline |
Definition at line 139 of file volumeref_d_inline.h.
Referenced by soma::VolumeUtilIO< T >::readPartial().
|
inline |
Definition at line 167 of file volumeref_d_inline.h.
Referenced by carto::VolumeUtil< T >::apply(), and carto::VolumeUtil< T >::selfApply().
|
inline |
Definition at line 146 of file volumeref_d_inline.h.
Referenced by carto::VolumeUtil< T >::apply(), and carto::VolumeUtil< T >::selfApply().
|
inline |
Definition at line 153 of file volumeref_d_inline.h.
Referenced by carto::VolumeUtil< T >::apply(), and carto::VolumeUtil< T >::selfApply().
|
inline |
Definition at line 160 of file volumeref_d_inline.h.
Referenced by carto::VolumeUtil< T >::apply(), and carto::VolumeUtil< T >::selfApply().
|
inline |
Definition at line 439 of file volumeref_d_inline.h.
|
inline |
Definition at line 202 of file volumeref_d_inline.h.
|
inline |
Definition at line 174 of file volumeref_d_inline.h.
Referenced by carto::VolumeUtil< T >::apply(), carto::getObjectHeader(), and soma::VolumeUtilIO< T >::readPartial().
|
inline |
Definition at line 181 of file volumeref_d_inline.h.
|
inlinevirtual |
Definition at line 330 of file volumeref_d_inline.h.
|
inline |
Definition at line 87 of file volumeref_d_operators.h.
|
inline |
Definition at line 80 of file volumeref_d_operators.h.
|
inline |
Definition at line 172 of file volumeref_d_operators.h.
|
inline |
Definition at line 243 of file volumeref_d_inline.h.
|
inline |
Definition at line 250 of file volumeref_d_inline.h.
|
inline |
Definition at line 271 of file volumeref_d_inline.h.
|
inline |
Definition at line 278 of file volumeref_d_inline.h.
|
inline |
Definition at line 299 of file volumeref_d_inline.h.
|
inline |
Definition at line 306 of file volumeref_d_inline.h.
|
inline |
Definition at line 73 of file volumeref.h.
|
inline |
Definition at line 78 of file volumeref.h.
|
inline |
Definition at line 113 of file volumeref_d_operators.h.
|
inline |
Definition at line 392 of file volumeref_d_inline.h.
|
inline |
Definition at line 425 of file volumeref_d_inline.h.
|
inlinevirtual |
Definition at line 351 of file volumeref_d_inline.h.
References carto::VolumeRef< T >::allocate(), and carto::VolumeRef< T >::allocatorContext().
|
inline |
Definition at line 413 of file volumeref_d_inline.h.
|
inline |
Definition at line 378 of file volumeref_d_inline.h.
|
inline |
Definition at line 419 of file volumeref_d_inline.h.
|
inline |
Definition at line 399 of file volumeref_d_inline.h.
void carto::VolumeRef< T >::setPosInRefVolume | ( | const typename Volume< T >::Position & | pos | ) |
|
inline |
Definition at line 385 of file volumeref_d_inline.h.
|
inline |
To avoid overflow, the biggest possible type (intmax_t, uintmax_t, double...) is used for computation and returned.
Definition at line 94 of file volumeref_d_operators.h.
|
inline |
Definition at line 459 of file volumeref_d_inline.h.
|
inline |
Definition at line 466 of file volumeref_d_inline.h.