DGtal 1.3.0
|
Aim: transforms a signed cell into an arrow, ie. a pair point-vector. More...
#include <DGtal/topology/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 (ConstAlias< 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 240 of file SCellsFunctors.h.
typedef KSpace::SCell DGtal::functors::SCellToArrow< KSpace >::Input |
Definition at line 248 of file SCellsFunctors.h.
typedef std::pair<Point,Vector> DGtal::functors::SCellToArrow< KSpace >::Output |
Definition at line 247 of file SCellsFunctors.h.
typedef KSpace::Point DGtal::functors::SCellToArrow< KSpace >::Point |
Definition at line 245 of file SCellsFunctors.h.
typedef KSpace::Vector DGtal::functors::SCellToArrow< KSpace >::Vector |
Definition at line 246 of file SCellsFunctors.h.
|
inline |
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 266 of file SCellsFunctors.h.
|
inline |
Copy constructor.
other | any SCellToArrow modifier |
Definition at line 272 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 295 of file SCellsFunctors.h.
References DGtal::functors::SCellToArrow< KSpace >::myK, DGtal::KhalimskySpaceND< dim, TInteger >::sCoords(), DGtal::KhalimskySpaceND< dim, TInteger >::sDirs(), DGtal::KhalimskySpaceND< dim, TInteger >::sIndirectIncident(), and DGtal::KhalimskySpaceND< dim, TInteger >::sKCoords().
|
inline |
Assignment.
other | the object to copy. |
Definition at line 280 of file SCellsFunctors.h.
References DGtal::functors::SCellToArrow< KSpace >::myK.
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 254 of file SCellsFunctors.h.
Referenced by DGtal::functors::SCellToArrow< KSpace >::operator()(), and DGtal::functors::SCellToArrow< KSpace >::operator=().