DGtal
0.6.devel
|
#include <ImplicitFunctionLinearCellEmbedder.h>
Public Types | |
typedef TKSpace | KSpace |
typedef TImplicitFunction | ImplicitFunction |
typedef TEmbedder | Embedder |
typedef KSpace::Cell | Cell |
typedef KSpace::SCell | SCell |
typedef KSpace::Space | Space |
typedef Space::Point | Point |
typedef Space::RealPoint | RealPoint |
typedef ImplicitFunction::Value | ImplicitFctValue |
typedef Cell | Argument |
typedef RealPoint | Value |
Public Member Functions | |
ImplicitFunctionLinearCellEmbedder () | |
~ImplicitFunctionLinearCellEmbedder () | |
ImplicitFunctionLinearCellEmbedder (const ImplicitFunctionLinearCellEmbedder &other) | |
ImplicitFunctionLinearCellEmbedder & | operator= (const ImplicitFunctionLinearCellEmbedder &other) |
void | init (const KSpace &K, const ImplicitFunction &f, const Embedder &e) |
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 | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((CImplicitFunction< TImplicitFunction >)) |
Private Attributes | |
const KSpace * | myPtrK |
const ImplicitFunction * | myPtrFct |
const Embedder * | myPtrEmbedder |
Aim: a cellular embedder for implicit functions, (default constructible, copy constructible, assignable). Model of CCellEmbedder.
Description of template class 'ImplicitFunctionLinearCellEmbedder'
TKSpace | the cellular grid space definition. |
TImplicitFunction | the type of implicit function, a model of CImplicitFunction. |
TEmbedder | the type of digital embedder. |
Definition at line 69 of file ImplicitFunctionLinearCellEmbedder.h.
typedef Cell DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::Argument |
Definition at line 83 of file ImplicitFunctionLinearCellEmbedder.h.
typedef KSpace::Cell DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::Cell |
Definition at line 77 of file ImplicitFunctionLinearCellEmbedder.h.
typedef TEmbedder DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::Embedder |
Definition at line 76 of file ImplicitFunctionLinearCellEmbedder.h.
typedef ImplicitFunction::Value DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::ImplicitFctValue |
Definition at line 82 of file ImplicitFunctionLinearCellEmbedder.h.
typedef TImplicitFunction DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::ImplicitFunction |
Definition at line 75 of file ImplicitFunctionLinearCellEmbedder.h.
typedef TKSpace DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::KSpace |
Definition at line 74 of file ImplicitFunctionLinearCellEmbedder.h.
typedef Space::Point DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::Point |
Definition at line 80 of file ImplicitFunctionLinearCellEmbedder.h.
typedef Space::RealPoint DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::RealPoint |
Definition at line 81 of file ImplicitFunctionLinearCellEmbedder.h.
typedef KSpace::SCell DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::SCell |
Definition at line 78 of file ImplicitFunctionLinearCellEmbedder.h.
typedef KSpace::Space DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::Space |
Definition at line 79 of file ImplicitFunctionLinearCellEmbedder.h.
typedef RealPoint DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::Value |
Definition at line 84 of file ImplicitFunctionLinearCellEmbedder.h.
|
inline |
Constructor. The object is not valid.
Definition at line 51 of file ImplicitFunctionLinearCellEmbedder.ih.
|
inline |
|
inline |
Copy constructor.
other | the object to copy. |
Definition at line 58 of file ImplicitFunctionLinearCellEmbedder.ih.
|
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 94 of file ImplicitFunctionLinearCellEmbedder.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 104 of file ImplicitFunctionLinearCellEmbedder.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 137 of file ImplicitFunctionLinearCellEmbedder.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 ImplicitFunctionLinearCellEmbedder.ih.
|
inline |
Checks the validity/consistency of the object.
Definition at line 182 of file ImplicitFunctionLinearCellEmbedder.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 ImplicitFunctionLinearCellEmbedder.ih.
|
inline |
Assignment.
other | the object to copy. |
Definition at line 68 of file ImplicitFunctionLinearCellEmbedder.ih.
References DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::myPtrEmbedder, DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::myPtrFct, and DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::myPtrK.
|
inline |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
Definition at line 169 of file ImplicitFunctionLinearCellEmbedder.ih.
|
private |
A pointer on the digital embedder.
Definition at line 186 of file ImplicitFunctionLinearCellEmbedder.h.
Referenced by DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::operator=().
|
private |
A pointer on the implicit function.
Definition at line 184 of file ImplicitFunctionLinearCellEmbedder.h.
Referenced by DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::operator=().
|
private |
A pointer on the cellular grid space.
Definition at line 182 of file ImplicitFunctionLinearCellEmbedder.h.
Referenced by DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::operator=().