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