DGtal
1.4.2
|
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 |
|
inline |
|
inline |
Copy constructor.
other | any SCellToPoint functor |
Definition at line 102 of file SCellsFunctors.h.
|
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 DGtal::functors::SCellToPoint< KSpace >::myK, DGtal::KhalimskySpaceND< dim, TInteger >::sCoords(), DGtal::KhalimskySpaceND< dim, TInteger >::sDim(), DGtal::KhalimskySpaceND< dim, TInteger >::sDirs(), and DGtal::KhalimskySpaceND< dim, TInteger >::sIndirectIncident().
|
inline |
Assignment.
other | the object to copy. |
Definition at line 111 of file SCellsFunctors.h.
References DGtal::functors::SCellToPoint< KSpace >::myK.
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 84 of file SCellsFunctors.h.
Referenced by DGtal::functors::SCellToPoint< KSpace >::operator()(), and DGtal::functors::SCellToPoint< KSpace >::operator=().