31 #if defined(ImplicitFunctionDiff1LinearCellEmbedder_RECURSES)
32 #error Recursive header files inclusion detected in ImplicitFunctionDiff1LinearCellEmbedder.h
33 #else // defined(ImplicitFunctionDiff1LinearCellEmbedder_RECURSES)
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"
310 #endif // !defined ImplicitFunctionDiff1LinearCellEmbedder_h
312 #undef ImplicitFunctionDiff1LinearCellEmbedder_RECURSES
313 #endif // else defined(ImplicitFunctionDiff1LinearCellEmbedder_RECURSES)
const ImplicitFunctionDiff1 * myPtrFct
A pointer on the implicit function.
Base::RealPoint RealPoint
BOOST_CONCEPT_ASSERT((concepts::CCellularGridSpaceND< TKSpace >))
const ImplicitFunctionDiff1 * myPtrFct
A pointer on the implicit function.
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: Describes a 1-differentiable function of the form f(x), where x is some real point in the given ...
void selfDisplay(std::ostream &out) const
~ImplicitFunctionDiff1LinearCellEmbedder()
void init(ConstAlias< KSpace > K, ConstAlias< ImplicitFunctionDiff1 > f, ConstAlias< Embedder > e)
ImplicitFunctionDiff1LinearCellEmbedder & operator=(const ImplicitFunctionDiff1LinearCellEmbedder &other)
Aim: This concept describes a cellular grid space in nD. In these spaces obtained by cartesian produc...
Aim: A point embedder is a mapping from digital points to Euclidean points. It adds inner types to fu...
ImplicitFunctionDiff1LinearCellEmbedder()
ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder > Base
Represents a signed cell in a cellular grid space by its Khalimsky coordinates and a boolean value.
Space::RealVector RealVector
void embed(const Point &p, RealPoint &x, RealVector &grad) const
ImplicitFunctionDiff1LinearCellEmbedderGradientMap< KSpace, ImplicitFunctionDiff1, Embedder > GradientMap
ImplicitFunctionDiff1LinearCellEmbedderGradientMap< TKSpace, TImplicitFunctionDiff1, TEmbedder > Self
Value operator()(const Argument &arg) const
DGtal is the top-level namespace which contains all DGtal functions and types.
void embedCell(const Cell &cell, RealPoint &x, RealVector &grad) const
void embedSCell(const SCell &scell, RealPoint &x, RealVector &grad) const
Self & operator=(const Base &other)
Space::RealPoint RealPoint
BOOST_CONCEPT_ASSERT((concepts::CPointEmbedder< TEmbedder >))
TImplicitFunctionDiff1 ImplicitFunctionDiff1
RealPoint operator()(const Cell &cell) const
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
RealPoint embedCell(const Cell &cell) const
Base::RealVector RealVector
Aim: a cellular embedder for implicit functions, (default constructible, copy constructible,...
ImplicitFunctionDiff1LinearCellEmbedderGradientMap(const Base &other)
GradientMap gradientMap() const
const KSpace * myPtrK
A pointer on the cellular grid space.
ImplicitFunctionDiff1LinearCellEmbedder(const ImplicitFunctionDiff1LinearCellEmbedder &other)
RealPoint embed(const Point &p) const
ImplicitFunctionDiff1::Value ImplicitFctValue
RealPoint embedSCell(const SCell &scell) const
BOOST_CONCEPT_ASSERT((concepts::CImplicitFunctionDiff1< TImplicitFunctionDiff1 >))
const Embedder * myPtrEmbedder
A pointer on the digital embedder.