31#if defined(ImplicitFunctionDiff1LinearCellEmbedder_RECURSES)
32#error Recursive header files inclusion detected in ImplicitFunctionDiff1LinearCellEmbedder.h
35#define ImplicitFunctionDiff1LinearCellEmbedder_RECURSES
37#if !defined ImplicitFunctionDiff1LinearCellEmbedder_h
39#define ImplicitFunctionDiff1LinearCellEmbedder_h
44#include "DGtal/base/Common.h"
45#include "DGtal/base/ConstAlias.h"
46#include "DGtal/kernel/NumberTraits.h"
47#include "DGtal/kernel/CPointEmbedder.h"
48#include "DGtal/topology/CCellularGridSpaceND.h"
49#include "DGtal/shapes/implicit/CImplicitFunction.h"
50#include "DGtal/shapes/implicit/CImplicitFunctionDiff1.h"
57 template <
typename TKSpace,
58 typename TImplicitFunctionDiff1,
60 class ImplicitFunctionDiff1LinearCellEmbedderGradientMap;
76 template <
typename TKSpace,
77 typename TImplicitFunctionDiff1,
248 template <
typename TKSpace,
249 typename TImplicitFunctionDiff1,
253 TImplicitFunctionDiff1,
258 < TKSpace, TImplicitFunctionDiff1, TEmbedder>
Self;
260 < TKSpace, TImplicitFunctionDiff1, TEmbedder>
Base;
270 (
const Base & other )
295 template <
typename TKSpace,
typename TImplicitFunctionDiff1,
typename TEmbedder >
305#include "DGtal/shapes/implicit/ImplicitFunctionDiff1LinearCellEmbedder.ih"
312#undef ImplicitFunctionDiff1LinearCellEmbedder_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder > Base
ImplicitFunctionDiff1LinearCellEmbedderGradientMap(const Base &other)
Base::RealPoint RealPoint
const ImplicitFunctionDiff1 * myPtrFct
A pointer on the implicit function.
Value operator()(const Argument &arg) const
Base::RealVector RealVector
Self & operator=(const Base &other)
ImplicitFunctionDiff1LinearCellEmbedderGradientMap< TKSpace, TImplicitFunctionDiff1, TEmbedder > Self
Aim: a cellular embedder for implicit functions, (default constructible, copy constructible,...
Space::RealVector RealVector
void init(ConstAlias< KSpace > K, ConstAlias< ImplicitFunctionDiff1 > f, ConstAlias< Embedder > e)
ImplicitFunctionDiff1LinearCellEmbedder(const ImplicitFunctionDiff1LinearCellEmbedder &other)
void embedCell(const Cell &cell, RealPoint &x, RealVector &grad) const
ImplicitFunctionDiff1LinearCellEmbedder & operator=(const ImplicitFunctionDiff1LinearCellEmbedder &other)
RealPoint embedCell(const Cell &cell) const
RealPoint operator()(const Cell &cell) const
BOOST_CONCEPT_ASSERT((concepts::CImplicitFunctionDiff1< TImplicitFunctionDiff1 >))
void embed(const Point &p, RealPoint &x, RealVector &grad) const
~ImplicitFunctionDiff1LinearCellEmbedder()
const ImplicitFunctionDiff1 * myPtrFct
A pointer on the implicit function.
void selfDisplay(std::ostream &out) const
Space::RealPoint RealPoint
const KSpace * myPtrK
A pointer on the cellular grid space.
RealPoint embed(const Point &p) const
void embedSCell(const SCell &scell, RealPoint &x, RealVector &grad) const
GradientMap gradientMap() const
ImplicitFunctionDiff1LinearCellEmbedder()
BOOST_CONCEPT_ASSERT((concepts::CPointEmbedder< TEmbedder >))
const Embedder * myPtrEmbedder
A pointer on the digital embedder.
RealPoint embedSCell(const SCell &scell) const
ImplicitFunctionDiff1LinearCellEmbedderGradientMap< KSpace, ImplicitFunctionDiff1, Embedder > GradientMap
TImplicitFunctionDiff1 ImplicitFunctionDiff1
ImplicitFunctionDiff1::Value ImplicitFctValue
BOOST_CONCEPT_ASSERT((concepts::CCellularGridSpaceND< TKSpace >))
KhalimskyCell< dim, Integer > Cell
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
Represents a signed cell in a cellular grid space by its Khalimsky coordinates and a boolean value.
Aim: This concept describes a cellular grid space in nD. In these spaces obtained by cartesian produc...
Aim: Describes a 1-differentiable function of the form f(x), where x is some real point in the given ...
Aim: A point embedder is a mapping from digital points to Euclidean points. It adds inner types to fu...