DGtal
0.6.devel
|
#include <Modifier.h>
Public Types | |
typedef PointVector < KSpace::dimension, double > | Output |
typedef KSpace::SCell | Input |
Public Member Functions | |
SCellToMidPoint () | |
SCellToMidPoint (KSpace aK) | |
SCellToMidPoint (const SCellToMidPoint &other) | |
SCellToMidPoint & | operator= (const SCellToMidPoint &other) |
Output | get (const Input &s) const |
Private Attributes | |
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 KSpace aKSpace;
KSpace::SCell aSCell;
PointVector<typename KSpace::dimension,double> aPoint;
SCellToMidPoint<KSpace> m(aKSpace);
...
aPoint = m.get(aSCell);
|
Definition at line 269 of file Modifier.h.
typedef KSpace::SCell DGtal::deprecated::SCellToMidPoint< KSpace >::Input |
Definition at line 275 of file Modifier.h.
typedef PointVector<KSpace::dimension,double> DGtal::deprecated::SCellToMidPoint< KSpace >::Output |
Definition at line 274 of file Modifier.h.
|
inline |
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 290 of file Modifier.h.
|
inline |
Copy constructor.
other | any SCellToMidPoint modifier |
Definition at line 296 of file Modifier.h.
|
inline |
Get a real point (double coordinates) from a scell (khalimsky coordinates)
s | a scell |
Definition at line 318 of file Modifier.h.
References DGtal::deprecated::SCellToMidPoint< KSpace >::myK.
|
inline |
Assignment.
other | the object to copy. |
Definition at line 304 of file Modifier.h.
References DGtal::deprecated::SCellToMidPoint< KSpace >::myK.
|
private |
Definition at line 278 of file Modifier.h.
Referenced by DGtal::deprecated::SCellToMidPoint< KSpace >::get(), and DGtal::deprecated::SCellToMidPoint< KSpace >::operator=().