12 #ifndef VECTORFIELD_H_6014714286 13 #define VECTORFIELD_H_6014714286 24 #include <Carna/Carna.h> 48 template<
typename ValueType >
69 virtual ValueType operator()
72 ,
unsigned int z )
const = 0;
81 template<
typename ValueType >
84 return ( *
this )( at.x(), at.y(), at.z() );
95 #endif // VECTORFIELD_H_6014714286 Defines Carna::base::math namespace and CARNA_FOR_VECTOR3UI.
virtual ValueType operator()(unsigned int x, unsigned int y, unsigned int z) const =0
Returns value of specified voxel.
Eigen::Matrix< unsigned int, 3, 1 > Vector3ui
Defines vector.
Abstract definition of an vector field where is ValueType.
virtual ~VectorField()
Does nothing.
ValueType Value
Holds the co-domain type of the vector field.