DGtal
0.6.devel
|
#include <SCellsFunctors.h>
Public Types | |
typedef KSpace::Point | Point |
typedef KSpace::Vector | Vector |
typedef std::pair< Point, Vector > | Output |
typedef KSpace::SCell | Input |
Public Member Functions | |
SCellToArrow () | |
SCellToArrow (const KSpace &aK) | |
SCellToArrow (const SCellToArrow &other) | |
SCellToArrow & | operator= (const SCellToArrow &other) |
Output | operator() (const Input &s) const |
Private Attributes | |
const KSpace * | myK |
Aim: transforms a signed cell into an arrow, ie. a pair point-vector.
Description of template class 'SCellToArrow'
KSpace | the Khalimsky space |
Definition at line 228 of file SCellsFunctors.h.
typedef KSpace::SCell DGtal::SCellToArrow< KSpace >::Input |
Definition at line 236 of file SCellsFunctors.h.
typedef std::pair<Point,Vector> DGtal::SCellToArrow< KSpace >::Output |
Definition at line 235 of file SCellsFunctors.h.
typedef KSpace::Point DGtal::SCellToArrow< KSpace >::Point |
Definition at line 233 of file SCellsFunctors.h.
typedef KSpace::Vector DGtal::SCellToArrow< KSpace >::Vector |
Definition at line 234 of file SCellsFunctors.h.
|
inline |
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 254 of file SCellsFunctors.h.
|
inline |
Copy constructor.
other | any SCellToArrow modifier |
Definition at line 260 of file SCellsFunctors.h.
|
inline |
Get an arrow, ie a pair point-vector with integer coordinates from a scell in khalimsky coordinates
s | a scell |
Definition at line 283 of file SCellsFunctors.h.
References DGtal::SCellToArrow< KSpace >::myK.
|
inline |
Assignment.
other | the object to copy. |
Definition at line 268 of file SCellsFunctors.h.
References DGtal::SCellToArrow< KSpace >::myK.
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 242 of file SCellsFunctors.h.
Referenced by DGtal::SCellToArrow< KSpace >::operator()(), and DGtal::SCellToArrow< KSpace >::operator=().