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"
66template <
typename TCalculus, Duality duality>
73 typedef typename Calculus::Scalar
Scalar;
74 typedef typename Calculus::SCell
SCell;
75 typedef typename Calculus::Index
Index;
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
VectorField & operator=(const VectorField &other)
const Calculus * myCalculus
void selfDisplay(std::ostream &out) const
Vector getVector(const Index &index) const
VectorField(ConstAlias< Calculus > calculus, const Container &container)
KForm< Calculus, 0, duality > intensity(const typename Vector::NormType norm_type=Vector::L_2) const
SCell getSCell(const Index &index) const
VectorField< TCalculus, duality > normalized(const Scalar &epsilon=0) const
Coordinates myCoordinates
void setVector(const Index &index, const Vector &vector)
std::string className() const
DGtal::PointVector< Calculus::dimensionAmbient, Scalar > Vector
KForm< Calculus, 0, duality > coordAlongDirection(const Dimension &dir) const
DGtal is the top-level namespace which contains all DGtal functions and types.
KForm< Calculus, order, duality > operator*(const typename Calculus::Scalar &scalar, const KForm< Calculus, order, duality > &form)
Circulator< TIterator > operator+(typename IteratorCirculatorTraits< TIterator >::Difference d, Circulator< TIterator > &object)
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
DGtal::uint32_t Dimension