|
DGtal
0.6.devel
|
#include <Modifier.h>
Public Types | |
| typedef KSpace::Point | Output |
| typedef KSpace::SCell | Input |
Public Member Functions | |
| SCellToPoint () | |
| SCellToPoint (KSpace aK) | |
| SCellToPoint (const SCellToPoint &other) | |
| SCellToPoint & | operator= (const SCellToPoint &other) |
| Output | get (const Input &s) const |
Private Attributes | |
| KSpace | myK |
Aim: transforms a scell into a point.
Description of template class 'SCellToPoint'
| KSpace,the | Khalimsky space KSpace aKSpace;
KSpace::SCell aSCell;
KSpace::Point aPoint;
SCellToPoint<KSpace> m(aKSpace);
...
aPoint = m.get(aSCell);
|
Definition at line 195 of file Modifier.h.
| typedef KSpace::SCell DGtal::deprecated::SCellToPoint< KSpace >::Input |
Definition at line 204 of file Modifier.h.
| typedef KSpace::Point DGtal::deprecated::SCellToPoint< KSpace >::Output |
Definition at line 203 of file Modifier.h.
|
inline |
|
inline |
Constructor.
| aK | a Khalimsky space |
Definition at line 216 of file Modifier.h.
|
inline |
Copy constructor.
| other | any SCellToPoint modifier |
Definition at line 222 of file Modifier.h.
|
inline |
Get a point (with integer coordinates) from a scell (with khalimsky coordinates)
| s | a scell |
Definition at line 244 of file Modifier.h.
References DGtal::deprecated::SCellToPoint< KSpace >::myK.
|
inline |
Assignment.
| other | the object to copy. |
Definition at line 230 of file Modifier.h.
References DGtal::deprecated::SCellToPoint< KSpace >::myK.
|
private |
Definition at line 199 of file Modifier.h.
Referenced by DGtal::deprecated::SCellToPoint< KSpace >::get(), and DGtal::deprecated::SCellToPoint< KSpace >::operator=().
1.8.1.1