31 #if defined(VectorField_RECURSES)
32 #error Recursive header files inclusion detected in VectorField.h
35 #define VectorField_RECURSES
37 #if !defined VectorField_h
44 #include "DGtal/base/Common.h"
45 #include "DGtal/base/ConstAlias.h"
46 #include "DGtal/base/ConstAlias.h"
47 #include "DGtal/dec/Duality.h"
48 #include "DGtal/dec/KForm.h"
49 #include "DGtal/kernel/PointVector.h"
66 template <
typename TCalculus, Duality duality>
73 typedef typename Calculus::Scalar
Scalar;
206 template <
typename Calculus, Duality duality>
216 template <
typename Calculus, Duality duality>
226 template <
typename Calculus, Duality duality>
236 template <
typename Calculus, Duality duality>
245 template <
typename Calculus, Duality duality>
254 #include "DGtal/dec/VectorField.ih"
261 #undef VectorField_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: Implements basic operations that will be used in Point and Vector classes.
Aim: VectorField represents a discrete vector field in the dec package. Vector field values are attac...
VectorField(ConstAlias< Calculus > calculus)
Calculus::DenseMatrix Coordinates
const Calculus * myCalculus
void selfDisplay(std::ostream &out) const
Vector getVector(const Index &index) const
KForm< Calculus, 0, duality > intensity(const typename Vector::NormType norm_type=Vector::L_2) const
KForm< Calculus, 0, duality > coordAlongDirection(const Dimension &dir) const
VectorField(ConstAlias< Calculus > calculus, const Container &container)
SCell getSCell(const Index &index) const
Coordinates myCoordinates
void setVector(const Index &index, const Vector &vector)
VectorField< TCalculus, duality > normalized(const Scalar &epsilon=0) const
VectorField & operator=(const VectorField &other)
std::string className() const
DGtal::PointVector< Calculus::dimensionAmbient, Scalar > Vector
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
DGtal::uint32_t Dimension
KForm< Calculus, order, duality > operator*(const typename Calculus::Scalar &scalar, const KForm< Calculus, order, duality > &form)
KForm< Calculus, order, duality > operator-(const KForm< Calculus, order, duality > &form_a, const KForm< Calculus, order, duality > &form_b)
Circulator< TIterator > operator+(typename IteratorCirculatorTraits< TIterator >::Difference d, Circulator< TIterator > &object)
EigenLinearAlgebraBackend::DenseMatrix DenseMatrix