DGtal 2.0.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 151 of file SCellsFunctors.h.
typedef KSpace::SCell DGtal::functors::SCellToArrow< KSpace >::Input |
Definition at line 159 of file SCellsFunctors.h.
typedef std::pair<Point,Vector> DGtal::functors::SCellToArrow< KSpace >::Output |
Definition at line 158 of file SCellsFunctors.h.
typedef KSpace::Point DGtal::functors::SCellToArrow< KSpace >::Point |
Definition at line 156 of file SCellsFunctors.h.
typedef KSpace::Vector DGtal::functors::SCellToArrow< KSpace >::Vector |
Definition at line 157 of file SCellsFunctors.h.
|
inline |
Default constructor.
Definition at line 172 of file SCellsFunctors.h.
References myK.
Referenced by operator=(), and SCellToArrow().
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 177 of file SCellsFunctors.h.
References myK.
|
inline |
Copy constructor.
other | any SCellToArrow modifier |
Definition at line 183 of file SCellsFunctors.h.
References myK, and SCellToArrow().
|
inline |
Get an arrow, ie a pair point-vector with integer coordinates from a scell in khalimsky coordinates
s | a scell |
Definition at line 206 of file SCellsFunctors.h.
References myK.
|
inline |
Assignment.
other | the object to copy. |
Definition at line 191 of file SCellsFunctors.h.
References myK, and SCellToArrow().
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 165 of file SCellsFunctors.h.
Referenced by operator()(), operator=(), SCellToArrow(), SCellToArrow(), and SCellToArrow().