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