DGtal 1.4.0
|
Aim: transforms a scell into a real point (the coordinates are divided by 2) More...
#include <DGtal/topology/SCellsFunctors.h>
Public Types | |
typedef KSpace::Space::RealPoint | Output |
typedef KSpace::SCell | Input |
Public Member Functions | |
SCellToMidPoint () | |
SCellToMidPoint (ConstAlias< KSpace > aK) | |
SCellToMidPoint (const SCellToMidPoint &other) | |
SCellToMidPoint & | operator= (const SCellToMidPoint &other) |
Output | operator() (const Input &s) const |
Private Attributes | |
const KSpace * | myK |
Aim: transforms a scell into a real point (the coordinates are divided by 2)
Description of template class 'SCellToMidPoint'
KSpace | the Khalimsky space |
Definition at line 166 of file SCellsFunctors.h.
typedef KSpace::SCell DGtal::functors::deprecated::SCellToMidPoint< KSpace >::Input |
Definition at line 172 of file SCellsFunctors.h.
typedef KSpace::Space::RealPoint DGtal::functors::deprecated::SCellToMidPoint< KSpace >::Output |
Definition at line 171 of file SCellsFunctors.h.
|
inline |
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 190 of file SCellsFunctors.h.
|
inline |
Copy constructor.
other | any SCellToMidPoint functor |
Definition at line 196 of file SCellsFunctors.h.
|
inline |
Return a real point (double coordinates) from a scell (khalimsky coordinates)
s | a scell |
Definition at line 218 of file SCellsFunctors.h.
References DGtal::functors::deprecated::SCellToMidPoint< KSpace >::myK, and DGtal::KhalimskySpaceND< dim, TInteger >::sKCoords().
|
inline |
Assignment.
other | the object to copy. |
Definition at line 204 of file SCellsFunctors.h.
References DGtal::functors::deprecated::SCellToMidPoint< KSpace >::myK.
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 178 of file SCellsFunctors.h.
Referenced by DGtal::functors::deprecated::SCellToMidPoint< KSpace >::operator()(), and DGtal::functors::deprecated::SCellToMidPoint< KSpace >::operator=().