|
DGtal 1.4.0
|
Aim: transforms a signed cell c into a point corresponding to the signed cell of greater dimension that is directly incident to c. More...
#include <DGtal/topology/SCellsFunctors.h>
Public Types | |
| typedef KSpace::Point | Output |
| typedef KSpace::SCell | Input |
Public Member Functions | |
| SCellToOuterPoint () | |
| SCellToOuterPoint (ConstAlias< KSpace > aK) | |
| SCellToOuterPoint (const SCellToOuterPoint &other) | |
| SCellToOuterPoint & | operator= (const SCellToOuterPoint &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 directly incident to c.
Description of template class 'SCellToOuterPoint'
For instance, a linel is mapped into the direct incident pixel center and a surfel is mapped into the direct incident voxel center.
| KSpace | the Khalimsky space |
Definition at line 399 of file SCellsFunctors.h.
| typedef KSpace::SCell DGtal::functors::SCellToOuterPoint< KSpace >::Input |
Definition at line 404 of file SCellsFunctors.h.
| typedef KSpace::Point DGtal::functors::SCellToOuterPoint< KSpace >::Output |
Definition at line 403 of file SCellsFunctors.h.
|
inline |
|
inline |
Constructor.
| aK | a Khalimsky space |
Definition at line 422 of file SCellsFunctors.h.
|
inline |
Copy constructor.
| other | any SCellToOuterPoint modifier |
Definition at line 428 of file SCellsFunctors.h.
|
inline |
Return a point (integer coordinates) from a scell (khalimsky coordinates)
| s | a linel |
Definition at line 450 of file SCellsFunctors.h.
References DGtal::functors::SCellToOuterPoint< KSpace >::myK, DGtal::KhalimskySpaceND< dim, TInteger >::sCoords(), DGtal::KhalimskySpaceND< dim, TInteger >::sIndirectIncident(), and DGtal::KhalimskySpaceND< dim, TInteger >::sOrthDirs().
|
inline |
Assignment.
| other | the object to copy. |
Definition at line 436 of file SCellsFunctors.h.
References DGtal::functors::SCellToOuterPoint< KSpace >::myK.
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 410 of file SCellsFunctors.h.
Referenced by DGtal::functors::SCellToOuterPoint< KSpace >::operator()(), and DGtal::functors::SCellToOuterPoint< KSpace >::operator=().