DGtal 1.4.0
|
Aim: transforms a signed cell c into a point corresponding to the signed cell of greater dimension that is indirectly incident to c. More...
#include <DGtal/topology/SCellsFunctors.h>
Public Types | |
typedef KSpace::Point | Output |
typedef KSpace::SCell | Input |
Public Member Functions | |
SCellToInnerPoint () | |
SCellToInnerPoint (ConstAlias< 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 323 of file SCellsFunctors.h.
typedef KSpace::SCell DGtal::functors::SCellToInnerPoint< KSpace >::Input |
Definition at line 329 of file SCellsFunctors.h.
typedef KSpace::Point DGtal::functors::SCellToInnerPoint< KSpace >::Output |
Definition at line 328 of file SCellsFunctors.h.
|
inline |
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 347 of file SCellsFunctors.h.
|
inline |
Copy constructor.
other | any SCellToInnerPoint functor |
Definition at line 353 of file SCellsFunctors.h.
|
inline |
Return a point (integer coordinates) from a scell (khalimsky coordinates)
s | a linel |
Definition at line 375 of file SCellsFunctors.h.
References DGtal::functors::SCellToInnerPoint< KSpace >::myK, DGtal::KhalimskySpaceND< dim, TInteger >::sCoords(), DGtal::KhalimskySpaceND< dim, TInteger >::sDirectIncident(), and DGtal::KhalimskySpaceND< dim, TInteger >::sOrthDirs().
|
inline |
Assignment.
other | the object to copy. |
Definition at line 361 of file SCellsFunctors.h.
References DGtal::functors::SCellToInnerPoint< KSpace >::myK.
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 335 of file SCellsFunctors.h.
Referenced by DGtal::functors::SCellToInnerPoint< KSpace >::operator()(), and DGtal::functors::SCellToInnerPoint< KSpace >::operator=().