DGtal
0.6.devel
|
#include <SCellsFunctors.h>
Public Member Functions | |
SCellToPoint () | |
SCellToPoint (const KSpace &aK) | |
SCellToPoint (const SCellToPoint &other) | |
SCellToPoint & | operator= (const SCellToPoint &other) |
Output | operator() (const Input &aSCell) const |
Private Types | |
typedef KSpace::Point | Output |
typedef KSpace::SCell | Input |
Private Attributes | |
const KSpace * | myK |
Aim: transforms a scell into a point.
Description of template class 'SCellToPoint'
KSpace | the Khalimsky space KSpace aKSpace;
typename KSpace::SCell aSCell;
typename KSpace::Point aPoint;
SCellToPoint<KSpace> f(aKSpace);
...
aPoint = f(aSCell);
|
Definition at line 71 of file SCellsFunctors.h.
|
private |
Definition at line 75 of file SCellsFunctors.h.
|
private |
Definition at line 74 of file SCellsFunctors.h.
|
inline |
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 93 of file SCellsFunctors.h.
|
inline |
Copy constructor.
other | any SCellToPoint functor |
Definition at line 99 of file SCellsFunctors.h.
|
inline |
Returns a point (with integer coordinates) from a scell (with khalimsky coordinates)
s | a scell |
Definition at line 123 of file SCellsFunctors.h.
References DGtal::SCellToPoint< KSpace >::myK.
|
inline |
Assignment.
other | the object to copy. |
Definition at line 108 of file SCellsFunctors.h.
References DGtal::SCellToPoint< KSpace >::myK.
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 81 of file SCellsFunctors.h.
Referenced by DGtal::SCellToPoint< KSpace >::operator()(), and DGtal::SCellToPoint< KSpace >::operator=().