|
DGtal 2.0.0
|
Aim: transforms a 2d signed cell, basically a linel, into a code (0,1,2 or 3),. More...
#include <DGtal/topology/SCellsFunctors.h>
Public Types | |
| typedef KSpace::Point | Point |
| typedef KSpace::Vector | Vector |
| typedef char | Output |
| typedef KSpace::SCell | Input |
Public Member Functions | |
| SCellToCode () | |
| SCellToCode (ConstAlias< 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 461 of file SCellsFunctors.h.
| typedef KSpace::SCell DGtal::functors::SCellToCode< KSpace >::Input |
Definition at line 472 of file SCellsFunctors.h.
| typedef char DGtal::functors::SCellToCode< KSpace >::Output |
Definition at line 470 of file SCellsFunctors.h.
| typedef KSpace::Point DGtal::functors::SCellToCode< KSpace >::Point |
Definition at line 468 of file SCellsFunctors.h.
| typedef KSpace::Vector DGtal::functors::SCellToCode< KSpace >::Vector |
Definition at line 469 of file SCellsFunctors.h.
|
inline |
Default constructor.
Definition at line 485 of file SCellsFunctors.h.
References myK.
Referenced by operator=(), and SCellToCode().
|
inline |
Constructor.
| aK | a Khalimsky space |
Definition at line 490 of file SCellsFunctors.h.
References myK.
|
inline |
Copy constructor.
| other | any SCellToCode modifier |
Definition at line 496 of file SCellsFunctors.h.
References myK, and SCellToCode().
|
private |
References DGtal::KhalimskySpaceND< 3, Integer >::dimension.
|
inline |
Return a code from a linel
| s | a linel |
Definition at line 518 of file SCellsFunctors.h.
References myK.
|
inline |
Assignment.
| other | the object to copy. |
Definition at line 504 of file SCellsFunctors.h.
References myK, and SCellToCode().
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 478 of file SCellsFunctors.h.
Referenced by operator()(), operator=(), SCellToCode(), SCellToCode(), and SCellToCode().