DGtal 2.0.0
|
Aim: transforms a scell into a point. More...
#include <DGtal/topology/SCellsFunctors.h>
Public Types | |
typedef KSpace::Point | Output |
typedef KSpace::SCell | Input |
Public Member Functions | |
SCellToPoint () | |
SCellToPoint (ConstAlias< KSpace > aK) | |
SCellToPoint (const SCellToPoint &other) | |
SCellToPoint & | operator= (const SCellToPoint &other) |
Output | operator() (const Input &aSCell) const |
Private Attributes | |
const KSpace * | myK |
Aim: transforms a scell into a point.
Description of template class 'SCellToPoint'
KSpace | the Khalimsky space |
Definition at line 74 of file SCellsFunctors.h.
typedef KSpace::SCell DGtal::functors::SCellToPoint< KSpace >::Input |
Definition at line 78 of file SCellsFunctors.h.
typedef KSpace::Point DGtal::functors::SCellToPoint< KSpace >::Output |
Definition at line 77 of file SCellsFunctors.h.
|
inline |
Default constructor.
Definition at line 91 of file SCellsFunctors.h.
References myK.
Referenced by operator=(), and SCellToPoint().
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 96 of file SCellsFunctors.h.
References myK.
|
inline |
Copy constructor.
other | any SCellToPoint functor |
Definition at line 102 of file SCellsFunctors.h.
References myK, and SCellToPoint().
|
inline |
Returns a point (with integer coordinates) from a scell (with khalimsky coordinates)
aSCell | a scell |
Definition at line 126 of file SCellsFunctors.h.
References myK.
|
inline |
Assignment.
other | the object to copy. |
Definition at line 111 of file SCellsFunctors.h.
References myK, and SCellToPoint().
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 84 of file SCellsFunctors.h.
Referenced by operator()(), operator=(), SCellToPoint(), SCellToPoint(), and SCellToPoint().