34 #ifndef CARTODATA_VOLUME_VOLUMEPROXY_H 35 #define CARTODATA_VOLUME_VOLUMEPROXY_H 48 template <
typename T >
54 explicit VolumeProxy(
int sizeX = 1,
int sizeY = 1,
int sizeZ = 1,
56 explicit VolumeProxy(
const std::vector<int> & size );
65 std::vector<int>
getSize()
const;
85 template <
typename T >
95 template <
typename T >
105 template <
typename T >
115 template <
typename T >
125 template <
typename T >
135 template <
typename T >
148 #if !defined(__sun__) || !defined(_CHAR_IS_SIGNED)
VolumeProxy< T > & operator=(const VolumeProxy< T > &other)
VolumeProxy(int sizeX=1, int sizeY=1, int sizeZ=1, int sizeT=1)
static Object reference(T &value)
VolumeProxy is the base class for volumes.
std::vector< int > getSize() const
get the 4 dimensions in a vector
virtual void copyHeaderFrom(const PropertySet &other)
copy properties from other to this, avoiding forbidden properties like size.
std::vector< float > getVoxelSize() const
get the voxel size from the header, with 4 values defaulting to 1.mm if not present ...