DGtal
0.6.devel
|
#include <SCellsFunctors.h>
Public Types | |
typedef KSpace::Point | Output |
typedef KSpace::SCell | Input |
Public Member Functions | |
SCellToInnerPoint () | |
SCellToInnerPoint (const KSpace &aK) | |
SCellToInnerPoint (const SCellToInnerPoint &other) | |
SCellToInnerPoint & | operator= (const SCellToInnerPoint &other) |
Output | operator() (const Input &s) const |
Private Attributes | |
const KSpace * | myK |
Aim: transforms a signed cell c into a point corresponding to the signed cell of greater dimension that is indirectly incident to c.
Description of template class 'SCellToInnerPoint'
For instance, a linel is mapped into the indirect incident pixel center and a surfel is mapped into the indirect incident voxel center.
KSpace | the Khalimsky space |
Definition at line 311 of file SCellsFunctors.h.
typedef KSpace::SCell DGtal::SCellToInnerPoint< KSpace >::Input |
Definition at line 317 of file SCellsFunctors.h.
typedef KSpace::Point DGtal::SCellToInnerPoint< KSpace >::Output |
Definition at line 316 of file SCellsFunctors.h.
|
inline |
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 335 of file SCellsFunctors.h.
|
inline |
Copy constructor.
other | any SCellToInnerPoint functor |
Definition at line 341 of file SCellsFunctors.h.
|
inline |
Return a point (integer coordinates) from a scell (khalimsky coordinates)
s | a linel |
Definition at line 363 of file SCellsFunctors.h.
References DGtal::SCellToInnerPoint< KSpace >::myK.
|
inline |
Assignment.
other | the object to copy. |
Definition at line 349 of file SCellsFunctors.h.
References DGtal::SCellToInnerPoint< KSpace >::myK.
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 323 of file SCellsFunctors.h.
Referenced by DGtal::SCellToInnerPoint< KSpace >::operator()(), and DGtal::SCellToInnerPoint< KSpace >::operator=().