cartodata
5.0.5
|
VolumeProxy is the base class for volumes. More...
#include <cartodata/volume/volumeproxy.h>
Public Member Functions | |
VolumeProxy (int sizeX=1, int sizeY=1, int sizeZ=1, int sizeT=1) | |
VolumeProxy (const std::vector< int > &size) | |
VolumeProxy (const VolumeProxy< T > &other) | |
virtual | ~VolumeProxy () |
int | getSizeX () const |
int | getSizeY () const |
int | getSizeZ () const |
int | getSizeT () const |
std::vector< int > | getSize () const |
get the 4 dimensions in a vector More... | |
std::vector< float > | getVoxelSize () const |
get the voxel size from the header, with 4 values defaulting to 1.mm if not present More... | |
VolumeProxy< T > & | operator= (const VolumeProxy< T > &other) |
virtual void | copyHeaderFrom (const PropertySet &other) |
copy properties from other to this, avoiding forbidden properties like size. More... | |
virtual void | copyHeaderFrom (const Object &other) |
![]() | |
Headered () | |
Headered (const Headered &other) | |
virtual | ~Headered () |
Headered & | operator= (const Headered &other) |
const PropertySet & | header () const |
PropertySet & | header () |
void | addPropertyFilter (const rc_ptr< PropertyFilter > &propertyFilter) |
bool | hasPropertyFilter (const std::string &propertyFilterName) const |
bool | connect (const std::string &propertyFilterName, const PropertyFilter::Slot &slot) |
bool | disconnect (const std::string &propertyFilterName, const PropertyFilter::Slot &slot) |
std::set< rc_ptr< PropertyFilter > > | getPropertyFilters (const std::string &propertyName) const |
void | delay () |
void | flush () |
void | blockSignals (bool) |
bool | signalsBlocked () const |
virtual void | initialize () |
std::string | uuid () |
bool | copyUuid (const PropertySet &) |
bool | copyUuid (const Headered &) |
![]() | |
RCObject () | |
RCObject (const RCObject &) | |
RCObject & | operator= (const RCObject &) |
virtual | ~RCObject () |
![]() | |
virtual | ~Observer () |
Protected Attributes | |
std::vector< int > | _size |
Additional Inherited Members | |
![]() | |
typedef int | RefCounterType |
![]() | |
Observer () | |
VolumeProxy is the base class for volumes.
It handles the management of the volume size, but not its contents (it has no data block).
Definition at line 49 of file volumeproxy.h.
|
explicit |
Definition at line 46 of file volumeproxy_d.h.
References carto::VolumeProxy< T >::_size, carto::PropertySet::addBuiltinProperty(), and carto::Headered::header().
|
explicit |
Definition at line 65 of file volumeproxy_d.h.
References carto::VolumeProxy< T >::_size, carto::PropertySet::addBuiltinProperty(), and carto::Headered::header().
carto::VolumeProxy< T >::VolumeProxy | ( | const VolumeProxy< T > & | other | ) |
Definition at line 83 of file volumeproxy_d.h.
References carto::VolumeProxy< T >::_size, carto::PropertySet::addBuiltinProperty(), carto::Headered::header(), and carto::PropertySet::removeProperty().
|
virtual |
Definition at line 110 of file volumeproxy_d.h.
|
inlinevirtual |
copy properties from other to this, avoiding forbidden properties like size.
Definition at line 137 of file volumeproxy.h.
References carto::Object::reference().
Referenced by carto::copy(), carto::copyStructure(), and carto::deepcopy().
|
virtual |
Definition at line 171 of file volumeproxy_d.h.
References carto::Headered::header(), const_ref< GenericObject >::isNull(), and carto::PropertySet::setProperty().
|
inline |
get the 4 dimensions in a vector
Definition at line 127 of file volumeproxy.h.
References carto::VolumeProxy< T >::_size.
Referenced by carto::operator<<(), carto::Volume< T >::posInRefVolumeAtLevel(), soma::VolumeFormatReader< T >::read(), carto::Creator< Volume< T > >::setup(), carto::Volume< T >::Volume(), and soma::VolumeFormatWriter< T >::write().
|
inline |
Definition at line 117 of file volumeproxy.h.
References carto::VolumeProxy< T >::_size.
Referenced by carto::volumeutil::accumulate(), carto::VolumeUtil< T >::accumulate(), carto::volumeutil::applyTowards(), carto::copy(), carto::copyStructure(), carto::deepcopy(), carto::max(), carto::min(), carto::operator<<(), carto::setBorders(), and carto::setMinBorders().
|
inline |
Definition at line 87 of file volumeproxy.h.
References carto::VolumeProxy< T >::_size.
Referenced by carto::volumeutil::accumulate(), carto::VolumeUtil< T >::accumulate(), carto::volumeutil::applyTowards(), carto::copy(), carto::copyStructure(), carto::deepcopy(), carto::max(), carto::min(), carto::operator<<(), carto::setBorders(), and carto::setMinBorders().
|
inline |
Definition at line 97 of file volumeproxy.h.
References carto::VolumeProxy< T >::_size.
Referenced by carto::volumeutil::accumulate(), carto::VolumeUtil< T >::accumulate(), carto::volumeutil::applyTowards(), carto::copy(), carto::copyStructure(), carto::deepcopy(), carto::max(), carto::min(), carto::operator<<(), carto::setBorders(), and carto::setMinBorders().
|
inline |
Definition at line 107 of file volumeproxy.h.
References carto::VolumeProxy< T >::_size.
Referenced by carto::volumeutil::accumulate(), carto::VolumeUtil< T >::accumulate(), carto::volumeutil::applyTowards(), carto::copy(), carto::copyStructure(), carto::deepcopy(), carto::max(), carto::min(), carto::operator<<(), carto::setBorders(), and carto::setMinBorders().
std::vector< float > carto::VolumeProxy< T >::getVoxelSize | ( | ) | const |
get the voxel size from the header, with 4 values defaulting to 1.mm if not present
Definition at line 141 of file volumeproxy_d.h.
References carto::VolumeProxy< T >::_size, carto::PropertySet::getProperty(), and carto::Headered::header().
VolumeProxy< T > & carto::VolumeProxy< T >::operator= | ( | const VolumeProxy< T > & | other | ) |
Definition at line 117 of file volumeproxy_d.h.
References carto::VolumeProxy< T >::_size, carto::PropertySet::changeBuiltinProperty(), carto::Headered::header(), and carto::Headered::operator=().
Referenced by carto::Volume< T >::operator=().
|
protected |
Definition at line 80 of file volumeproxy.h.
Referenced by carto::VolumeProxy< T >::getSize(), carto::VolumeProxy< T >::getSizeT(), carto::VolumeProxy< T >::getSizeX(), carto::VolumeProxy< T >::getSizeY(), carto::VolumeProxy< T >::getSizeZ(), carto::VolumeProxy< T >::getVoxelSize(), carto::VolumeProxy< T >::operator=(), and carto::VolumeProxy< T >::VolumeProxy().