DGtal
0.6.devel
|
#include <ImplicitFunctionDiff1LinearCellEmbedder.h>
Public Types | |
typedef TKSpace | KSpace |
typedef TImplicitFunctionDiff1 | ImplicitFunctionDiff1 |
typedef TEmbedder | Embedder |
typedef KSpace::Cell | Cell |
typedef KSpace::SCell | SCell |
typedef KSpace::Space | Space |
typedef Space::Point | Point |
typedef Space::RealPoint | RealPoint |
typedef Space::RealVector | RealVector |
typedef ImplicitFunctionDiff1::Value | ImplicitFctValue |
typedef Cell | Argument |
typedef RealPoint | Value |
typedef ImplicitFunctionDiff1LinearCellEmbedderGradientMap < KSpace, ImplicitFunctionDiff1, Embedder > | GradientMap |
Public Member Functions | |
ImplicitFunctionDiff1LinearCellEmbedder () | |
~ImplicitFunctionDiff1LinearCellEmbedder () | |
ImplicitFunctionDiff1LinearCellEmbedder (const ImplicitFunctionDiff1LinearCellEmbedder &other) | |
ImplicitFunctionDiff1LinearCellEmbedder & | operator= (const ImplicitFunctionDiff1LinearCellEmbedder &other) |
void | init (const KSpace &K, const ImplicitFunctionDiff1 &f, const Embedder &e) |
GradientMap | gradientMap () const |
RealPoint | embed (const Point &p) const |
RealPoint | embedCell (const Cell &cell) const |
RealPoint | embedSCell (const SCell &scell) const |
RealPoint | operator() (const Cell &cell) const |
void | embed (const Point &p, RealPoint &x, RealVector &grad) const |
void | embedCell (const Cell &cell, RealPoint &x, RealVector &grad) const |
void | embedSCell (const SCell &scell, RealPoint &x, RealVector &grad) const |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Protected Attributes | |
const KSpace * | myPtrK |
const ImplicitFunctionDiff1 * | myPtrFct |
const Embedder * | myPtrEmbedder |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((CCellularGridSpaceND< TKSpace >)) | |
BOOST_CONCEPT_ASSERT ((CImplicitFunctionDiff1< TImplicitFunctionDiff1 >)) | |
BOOST_CONCEPT_ASSERT ((CPointEmbedder< TEmbedder >)) |
Aim: a cellular embedder for implicit functions, (default constructible, copy constructible, assignable). Model of CCellEmbedder and CWithGradientMap.
Description of template class 'ImplicitFunctionDiff1LinearCellEmbedder'
TKSpace | the cellular grid space definition, a model of CCellularGridSpaceND. |
TImplicitFunctionDiff1 | the type of implicit function, a model of CImplicitFunctionDiff1. |
TEmbedder | the type of digital embedder, a model of CPointEmbedder. |
Definition at line 78 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef Cell DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::Argument |
Reimplemented in DGtal::ImplicitFunctionDiff1LinearCellEmbedderGradientMap< TKSpace, TImplicitFunctionDiff1, TEmbedder >.
Definition at line 95 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef KSpace::Cell DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::Cell |
Reimplemented in DGtal::ImplicitFunctionDiff1LinearCellEmbedderGradientMap< TKSpace, TImplicitFunctionDiff1, TEmbedder >.
Definition at line 88 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef TEmbedder DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::Embedder |
Definition at line 87 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef ImplicitFunctionDiff1LinearCellEmbedderGradientMap< KSpace, ImplicitFunctionDiff1, Embedder > DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::GradientMap |
Definition at line 98 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef ImplicitFunctionDiff1::Value DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::ImplicitFctValue |
Definition at line 94 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef TImplicitFunctionDiff1 DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::ImplicitFunctionDiff1 |
Definition at line 86 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef TKSpace DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::KSpace |
Definition at line 85 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef Space::Point DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::Point |
Definition at line 91 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef Space::RealPoint DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::RealPoint |
Reimplemented in DGtal::ImplicitFunctionDiff1LinearCellEmbedderGradientMap< TKSpace, TImplicitFunctionDiff1, TEmbedder >.
Definition at line 92 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef Space::RealVector DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::RealVector |
Reimplemented in DGtal::ImplicitFunctionDiff1LinearCellEmbedderGradientMap< TKSpace, TImplicitFunctionDiff1, TEmbedder >.
Definition at line 93 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef KSpace::SCell DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::SCell |
Definition at line 89 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef KSpace::Space DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::Space |
Definition at line 90 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
typedef RealPoint DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::Value |
Reimplemented in DGtal::ImplicitFunctionDiff1LinearCellEmbedderGradientMap< TKSpace, TImplicitFunctionDiff1, TEmbedder >.
Definition at line 96 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
|
inline |
Constructor. The object is not valid.
Definition at line 51 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
|
inline |
|
inline |
Copy constructor.
other | the object to copy. |
Definition at line 58 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
|
private |
|
private |
|
private |
|
inline |
Maps a digital point to its corresponding point in the Euclidean space.
p | any digital point in the digital space. |
Definition at line 103 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
|
inline |
Maps a digital point to its corresponding embedding position and gradient vector in the Euclidean space.
p | any digital point in the digital space. |
x | its embedding in the Euclidean space. |
grad | (returns) its gradient vector at the point given by the current embedder in the Euclidean space. |
Definition at line 170 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
|
inline |
Maps a cell to its corresponding point in the Euclidean space, by a linear guess of its position.
cell | any cell in the cellular grid space. |
Definition at line 113 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
|
inline |
Maps a cell to its corresponding gradient vector in the Euclidean space, by a linear guess of its position.
cell | any cell in the cellular grid space. |
x | its embedding in the Euclidean space. |
grad | (returns) its gradient vector at the point given by the current embedder in the Euclidean space. |
Definition at line 180 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
|
inline |
Maps a signed cell to its corresponding point in the Euclidean space, by a linear guess of its position. NB: the signed is not used.
scell | any cell in the cellular grid space. |
Definition at line 146 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
|
inline |
Maps a signed cell to its corresponding gradient vector in the Euclidean space, by a linear guess of its position. NB: the signed is not used.
scell | any cell in the cellular grid space. |
x | its embedding in the Euclidean space. |
grad | (returns) its gradient vector at the point given by the current embedder in the Euclidean space. |
Definition at line 190 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
|
inline |
Definition at line 94 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
|
inline |
Initializes the embedder with the space K, the implicit function f, the digital embedder e.
K | any cellular grid space. |
f | an implicit function |
e | a digital embedder (like a GaussDigitizer). |
Definition at line 83 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
|
inline |
Checks the validity/consistency of the object.
Definition at line 222 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
|
inline |
Maps a cell to its corresponding point in the Euclidean space, by a linear guess of its position.
cell | any cell in the cellular grid space. |
Reimplemented in DGtal::ImplicitFunctionDiff1LinearCellEmbedderGradientMap< TKSpace, TImplicitFunctionDiff1, TEmbedder >.
Definition at line 122 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
Referenced by DGtal::ImplicitFunctionDiff1LinearCellEmbedderGradientMap< TKSpace, TImplicitFunctionDiff1, TEmbedder >::operator()().
|
inline |
Assignment.
other | the object to copy. |
Definition at line 68 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
References DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::myPtrEmbedder, DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::myPtrFct, and DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::myPtrK.
Referenced by DGtal::ImplicitFunctionDiff1LinearCellEmbedderGradientMap< TKSpace, TImplicitFunctionDiff1, TEmbedder >::operator=().
|
inline |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
Definition at line 209 of file ImplicitFunctionDiff1LinearCellEmbedder.ih.
|
protected |
A pointer on the digital embedder.
Definition at line 239 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
Referenced by DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::operator=().
|
protected |
A pointer on the implicit function.
Definition at line 237 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
Referenced by DGtal::ImplicitFunctionDiff1LinearCellEmbedderGradientMap< TKSpace, TImplicitFunctionDiff1, TEmbedder >::operator()(), and DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::operator=().
|
protected |
A pointer on the cellular grid space.
Definition at line 235 of file ImplicitFunctionDiff1LinearCellEmbedder.h.
Referenced by DGtal::ImplicitFunctionDiff1LinearCellEmbedder< TKSpace, TImplicitFunctionDiff1, TEmbedder >::operator=().