cartodata
5.1.2
|
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... | |
void | setVoxelSize (float vx, float vy=1., float vz=1., float vt=1.) |
void | setVoxelSize (const std::vector< float > &vs) |
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.
|
virtual |
Definition at line 190 of file volumeproxy_d.h.
References carto::const_ref< class >::isNull(), and carto::PropertySet::setProperty().
|
inlinevirtual |
copy properties from other to this, avoiding forbidden properties like size.
Definition at line 139 of file volumeproxy.h.
References carto::Object::reference().
Referenced by carto::copy(), carto::copyStructure(), and carto::deepcopy().
|
inline |
get the 4 dimensions in a vector
Definition at line 129 of file volumeproxy.h.
Referenced by carto::VolumeUtil< T >::accumulate(), carto::volumeutil::accumulate(), carto::volumeutil::apply(), carto::volumeutil::applyTowards(), carto::copy(), carto::copyStructure(), carto::Volume< T >::copySubVolume(), carto::deepcopy(), carto::isSameVolumeSize(), carto::matrix_product(), carto::operator<<(), soma::VolumeFormatReader< T >::read(), carto::Creator< Volume< T > >::setup(), carto::transpose(), carto::Volume< T >::Volume(), and soma::VolumeFormatWriter< T >::write().
|
inline |
Definition at line 119 of file volumeproxy.h.
Referenced by carto::max(), carto::min(), carto::operator<<(), carto::setBorders(), and carto::setMinBorders().
|
inline |
Definition at line 89 of file volumeproxy.h.
Referenced by carto::max(), carto::min(), carto::operator<<(), carto::setBorders(), carto::setMinBorders(), and carto::sort().
|
inline |
Definition at line 99 of file volumeproxy.h.
Referenced by carto::max(), carto::min(), carto::operator<<(), carto::setBorders(), and carto::setMinBorders().
|
inline |
Definition at line 109 of file volumeproxy.h.
Referenced by carto::max(), carto::min(), carto::operator<<(), carto::setBorders(), and carto::setMinBorders().
std::vector< float > carto::VolumeProxy< T >::getVoxelSize |
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.
VolumeProxy< T > & carto::VolumeProxy< T >::operator= | ( | const VolumeProxy< T > & | other | ) |
Definition at line 117 of file volumeproxy_d.h.
References carto::VolumeProxy< T >::_size, and carto::Headered::operator=().
Referenced by carto::Volume< T >::operator=().
void carto::VolumeProxy< T >::setVoxelSize | ( | const std::vector< float > & | vs | ) |
Definition at line 183 of file volumeproxy_d.h.
void carto::VolumeProxy< T >::setVoxelSize | ( | float | vx, |
float | vy = 1. , |
||
float | vz = 1. , |
||
float | vt = 1. |
||
) |
Definition at line 171 of file volumeproxy_d.h.
|
protected |
Definition at line 82 of file volumeproxy.h.
Referenced by carto::Volume< T >::getBorders(), carto::VolumeProxy< T >::operator=(), and carto::VolumeProxy< T >::VolumeProxy().