DGtal 1.4.0
|
Aim: a cellular embedder for implicit functions, (default constructible, copy constructible, assignable). Model of CCellEmbedder. More...
#include <DGtal/shapes/implicit/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 (ConstAlias< KSpace > K, ConstAlias< ImplicitFunction > f, ConstAlias< 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 ((concepts::CImplicitFunction< TImplicitFunction >)) | |
Private Attributes | |
const KSpace * | myPtrK |
A pointer on the cellular grid space. | |
const ImplicitFunction * | myPtrFct |
A pointer on the implicit function. | |
const Embedder * | myPtrEmbedder |
A pointer on the digital embedder. | |
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 70 of file ImplicitFunctionLinearCellEmbedder.h.
typedef Cell DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::Argument |
Definition at line 84 of file ImplicitFunctionLinearCellEmbedder.h.
typedef KSpace::Cell DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::Cell |
Definition at line 78 of file ImplicitFunctionLinearCellEmbedder.h.
typedef TEmbedder DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::Embedder |
Definition at line 77 of file ImplicitFunctionLinearCellEmbedder.h.
typedef ImplicitFunction::Value DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::ImplicitFctValue |
Definition at line 83 of file ImplicitFunctionLinearCellEmbedder.h.
typedef TImplicitFunction DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::ImplicitFunction |
Definition at line 76 of file ImplicitFunctionLinearCellEmbedder.h.
typedef TKSpace DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::KSpace |
Definition at line 75 of file ImplicitFunctionLinearCellEmbedder.h.
typedef Space::Point DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::Point |
Definition at line 81 of file ImplicitFunctionLinearCellEmbedder.h.
typedef Space::RealPoint DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::RealPoint |
Definition at line 82 of file ImplicitFunctionLinearCellEmbedder.h.
typedef KSpace::SCell DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::SCell |
Definition at line 79 of file ImplicitFunctionLinearCellEmbedder.h.
typedef KSpace::Space DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::Space |
Definition at line 80 of file ImplicitFunctionLinearCellEmbedder.h.
typedef RealPoint DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::Value |
Definition at line 85 of file ImplicitFunctionLinearCellEmbedder.h.
DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::ImplicitFunctionLinearCellEmbedder | ( | ) |
Constructor. The object is not valid.
DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::~ImplicitFunctionLinearCellEmbedder | ( | ) |
Destructor.
DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::ImplicitFunctionLinearCellEmbedder | ( | const ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder > & | other | ) |
Copy constructor.
other | the object to copy. |
|
private |
RealPoint DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::embed | ( | const Point & | p | ) | const |
Maps a digital point to its corresponding point in the Euclidean space.
p | any digital point in the digital space. |
RealPoint DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::embedCell | ( | const Cell & | cell | ) | const |
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. |
RealPoint DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::embedSCell | ( | const SCell & | scell | ) | const |
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. |
void DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::init | ( | ConstAlias< KSpace > | K, |
ConstAlias< ImplicitFunction > | f, | ||
ConstAlias< Embedder > | e ) |
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). |
bool DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
RealPoint DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::operator() | ( | const Cell & | cell | ) | const |
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. |
ImplicitFunctionLinearCellEmbedder & DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::operator= | ( | const ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder > & | other | ) |
Assignment.
other | the object to copy. |
void DGtal::ImplicitFunctionLinearCellEmbedder< TKSpace, TImplicitFunction, TEmbedder >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
|
private |
A pointer on the digital embedder.
Definition at line 187 of file ImplicitFunctionLinearCellEmbedder.h.
|
private |
A pointer on the implicit function.
Definition at line 185 of file ImplicitFunctionLinearCellEmbedder.h.
|
private |
A pointer on the cellular grid space.
Definition at line 183 of file ImplicitFunctionLinearCellEmbedder.h.