21 #ifndef mia_3d_3dvectorfield_hh
22 #define mia_3d_3dvectorfield_hh
66 const PAttribute attr = get_attribute(
"voxel");
68 cvinfo() <<
"T3DVectorfield<T>::get_voxel_size(): "
69 "voxel size not defined, default to <1,1,1>\n";
75 cvinfo() <<
"T3DImage<T>::get_voxel_size(): voxel size wrong type, "
76 "default to <1,1,1>\n";
vstream & cvinfo()
informal output that may be of interest to understand problems with a program and are of higher prior...
T3DVectorfield(const C3DBounds &size)
a 3D iterator that knows its position in the 3D grid ans supports iterating over sub-ranges ...
a 3D iterator that knows its position in the 3D grid, has a flag indicating whether it is on a bounda...
T3DVector< float > C3DFVector
A float 3D Vector.
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
A collection of attributes.
T3DVectorfield< C3DFVector > C3DFVectorfield
a 3D field of floating point single accuracy 3D vectors
std::shared_ptr< CAttribute > PAttribute
define the shared pointer wrapped attribute pointer
T3DVectorfield(const C3DBounds &size, const CAttributedData &data)
std::shared_ptr< C3DFVectorfield > P3DFVectorfield
a 3D field of floating point single accuracy 3D vectors
C3DValueAttribute< float > CVoxelAttribute
a 3D floating point vector used for the voxel size attribute
C3DFVector get_voxel_size() const
T3DVectorfield< C3DDVector > C3DDVectorfield
a 3D field of floating point double accuracy 3D vectors
void set_voxel_size(const C3DFVector &voxel)
T3DVectorfield(const T3DVectorfield< T > &org)
EXPORT_3D C3DFVectorfield & operator+=(C3DFVectorfield &lhs, const C3DFVectorfield &rhs)
T3DVectorfield(const CAttributedData &data, const C3DBounds &size) __attribute__((deprecated))
a 3D vector value used in attributes
#define NS_MIA_END
conveniance define to end the mia namespace