21 #ifndef mia_3d_3dvectorfield_hh 22 #define mia_3d_3dvectorfield_hh 66 cvinfo() <<
"T3DVectorfield<T>::get_voxel_size(): " 67 "voxel size not defined, default to <1,1,1>\n";
73 cvinfo() <<
"T3DImage<T>::get_voxel_size(): voxel size wrong type, " 74 "default to <1,1,1>\n";
112 void update_as_inverse_of(
const C3DFVectorfield& other,
float tol,
int maxiter);
119 void update_by_velocity(
const C3DFVectorfield& velocity_field,
float time_step);
146 struct C3DLinearVectorfieldInterpolatorImpl;
155 const size_t m_save_index_range;
156 const size_t m_field_size_m1;
157 C3DLinearVectorfieldInterpolatorImpl *impl;
vstream & cvinfo()
informal output that may be of interest to understand problems with a program and are of higher prior...
T3DVectorfield(const C3DBounds &size)
C3DFVector get_voxel_size() const
std::shared_ptr< C3DFVectorfield > P3DFVectorfield
a 3D field of floating point single accuracy 3D vectors
A templated class of a 3D data field.
T3DVector< float > C3DFVector
A float 3D Vector.
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
A collection of attributes.
std::shared_ptr< CAttribute > PAttribute
define the shared pointer wrapped attribute pointer
void set_attribute(const std::string &key, PAttribute attr)
T3DVectorfield(const C3DBounds &size, const CAttributedData &data)
value_type get_interpol_val_at(const T3DVector< float > &p) const __attribute__((deprecated))
C3DValueAttribute< float > CVoxelAttribute
a 3D floating point vector used for the voxel size attribute
T3DVectorfield< C3DDVector > C3DDVectorfield
a 3D field of floating point double accuracy 3D vectors
const_reference operator()(size_t x, size_t y, size_t z) const
void set_voxel_size(const C3DFVector &voxel)
T3DVectorfield(const T3DVectorfield< T > &org)
EXPORT_3D C3DFVectorfield & operator+=(C3DFVectorfield &lhs, const C3DFVectorfield &rhs)
static const char * data_descr
T3DVectorfield(const CAttributedData &data, const C3DBounds &size) __attribute__((deprecated))
const PAttribute get_attribute(const std::string &key) const
a 3D vector value used in attributes
#define NS_MIA_END
conveniance define to end the mia namespace