DGtal
0.6.devel
|
#include <SCellsFunctors.h>
Public Types | |
typedef KSpace::Point | Point |
typedef KSpace::Vector | Vector |
typedef char | Output |
typedef KSpace::SCell | Input |
Public Member Functions | |
SCellToCode () | |
SCellToCode (const KSpace &aK) | |
SCellToCode (const SCellToCode &other) | |
SCellToCode & | operator= (const SCellToCode &other) |
Output | operator() (const Input &s) const |
Private Member Functions | |
BOOST_STATIC_ASSERT (KSpace::dimension==2) |
Private Attributes | |
const KSpace * | myK |
Aim: transforms a 2d signed cell, basically a linel, into a code (0,1,2 or 3),.
Description of template class 'SCellToCode'
KSpace | the 2d Khalimsky space |
Definition at line 538 of file SCellsFunctors.h.
typedef KSpace::SCell DGtal::SCellToCode< KSpace >::Input |
Definition at line 549 of file SCellsFunctors.h.
typedef char DGtal::SCellToCode< KSpace >::Output |
Definition at line 547 of file SCellsFunctors.h.
typedef KSpace::Point DGtal::SCellToCode< KSpace >::Point |
Definition at line 545 of file SCellsFunctors.h.
typedef KSpace::Vector DGtal::SCellToCode< KSpace >::Vector |
Definition at line 546 of file SCellsFunctors.h.
|
inline |
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 567 of file SCellsFunctors.h.
|
inline |
Copy constructor.
other | any SCellToCode modifier |
Definition at line 573 of file SCellsFunctors.h.
|
private |
|
inline |
Return a code from a linel
s | a linel |
Definition at line 595 of file SCellsFunctors.h.
References DGtal::SCellToCode< KSpace >::myK.
|
inline |
Assignment.
other | the object to copy. |
Definition at line 581 of file SCellsFunctors.h.
References DGtal::SCellToCode< KSpace >::myK.
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 555 of file SCellsFunctors.h.
Referenced by DGtal::SCellToCode< KSpace >::operator()(), and DGtal::SCellToCode< KSpace >::operator=().