31 #if defined(ImplicitFunctionLinearCellEmbedder_RECURSES)
32 #error Recursive header files inclusion detected in ImplicitFunctionLinearCellEmbedder.h
35 #define ImplicitFunctionLinearCellEmbedder_RECURSES
37 #if !defined ImplicitFunctionLinearCellEmbedder_h
39 #define ImplicitFunctionLinearCellEmbedder_h
44 #include "DGtal/base/Common.h"
45 #include "DGtal/base/ConstAlias.h"
46 #include "DGtal/kernel/NumberTraits.h"
47 #include "DGtal/shapes/implicit/CImplicitFunction.h"
67 template <
typename TKSpace,
68 typename TImplicitFunction,
203 template <
typename TKSpace,
typename TImplicitFunction,
typename TEmbedder >
213 #include "DGtal/shapes/implicit/ImplicitFunctionLinearCellEmbedder.ih"
220 #undef ImplicitFunctionLinearCellEmbedder_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: a cellular embedder for implicit functions, (default constructible, copy constructible,...
void init(ConstAlias< KSpace > K, ConstAlias< ImplicitFunction > f, ConstAlias< Embedder > e)
void selfDisplay(std::ostream &out) const
ImplicitFunctionLinearCellEmbedder(const ImplicitFunctionLinearCellEmbedder &other)
RealPoint embedSCell(const SCell &scell) const
RealPoint embed(const Point &p) const
ImplicitFunctionLinearCellEmbedder()
const ImplicitFunction * myPtrFct
A pointer on the implicit function.
BOOST_CONCEPT_ASSERT((concepts::CImplicitFunction< TImplicitFunction >))
Space::RealPoint RealPoint
const Embedder * myPtrEmbedder
A pointer on the digital embedder.
RealPoint operator()(const Cell &cell) const
~ImplicitFunctionLinearCellEmbedder()
ImplicitFunction::Value ImplicitFctValue
RealPoint embedCell(const Cell &cell) const
TImplicitFunction ImplicitFunction
const KSpace * myPtrK
A pointer on the cellular grid space.
ImplicitFunctionLinearCellEmbedder & operator=(const ImplicitFunctionLinearCellEmbedder &other)
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
Represents a signed cell in a cellular grid space by its Khalimsky coordinates and a boolean value.
Aim: Describes any function of the form f(x), where x is some real point in the given space,...