DGtal
0.6.devel
|
#include <Modifier.h>
Public Types | |
typedef KSpace::Point | Point |
typedef KSpace::Vector | Vector |
typedef char | Output |
typedef KSpace::SCell | Input |
Public Member Functions | |
SCellToCode () | |
SCellToCode (KSpace aK) | |
SCellToCode (const SCellToCode &other) | |
SCellToCode & | operator= (const SCellToCode &other) |
Output | get (const Input &s) const |
Private Member Functions | |
BOOST_STATIC_ASSERT (KSpace::dimension==2) |
Private Attributes | |
KSpace | myK |
Aim: transforms a 2d scell, basically a linel, into a code (0,1,2 or 3),.
Description of template class 'SCellToCode'
KSpace,the | 2d Khalimsky space |
Definition at line 624 of file Modifier.h.
typedef KSpace::SCell DGtal::deprecated::SCellToCode< KSpace >::Input |
Definition at line 635 of file Modifier.h.
typedef char DGtal::deprecated::SCellToCode< KSpace >::Output |
Definition at line 633 of file Modifier.h.
typedef KSpace::Point DGtal::deprecated::SCellToCode< KSpace >::Point |
Definition at line 631 of file Modifier.h.
typedef KSpace::Vector DGtal::deprecated::SCellToCode< KSpace >::Vector |
Definition at line 632 of file Modifier.h.
|
inline |
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 650 of file Modifier.h.
|
inline |
Copy constructor.
other | any SCellToCode modifier |
Definition at line 656 of file Modifier.h.
|
private |
|
inline |
Get a code from a linel
s | a linel |
Definition at line 678 of file Modifier.h.
References DGtal::deprecated::SCellToCode< KSpace >::myK.
|
inline |
Assignment.
other | the object to copy. |
Definition at line 664 of file Modifier.h.
References DGtal::deprecated::SCellToCode< KSpace >::myK.
|
private |
Definition at line 638 of file Modifier.h.
Referenced by DGtal::deprecated::SCellToCode< KSpace >::get(), and DGtal::deprecated::SCellToCode< KSpace >::operator=().