DGtal 2.0.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 234 of file SCellsFunctors.h.
typedef KSpace::SCell DGtal::functors::SCellToInnerPoint< KSpace >::Input |
Definition at line 240 of file SCellsFunctors.h.
typedef KSpace::Point DGtal::functors::SCellToInnerPoint< KSpace >::Output |
Definition at line 239 of file SCellsFunctors.h.
|
inline |
Default constructor.
Definition at line 253 of file SCellsFunctors.h.
References myK.
Referenced by operator=(), and SCellToInnerPoint().
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 258 of file SCellsFunctors.h.
References myK.
|
inline |
Copy constructor.
other | any SCellToInnerPoint functor |
Definition at line 264 of file SCellsFunctors.h.
References myK, and SCellToInnerPoint().
|
inline |
Return a point (integer coordinates) from a scell (khalimsky coordinates)
s | a linel |
Definition at line 286 of file SCellsFunctors.h.
References myK.
|
inline |
Assignment.
other | the object to copy. |
Definition at line 272 of file SCellsFunctors.h.
References myK, and SCellToInnerPoint().
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 246 of file SCellsFunctors.h.
Referenced by operator()(), operator=(), SCellToInnerPoint(), SCellToInnerPoint(), and SCellToInnerPoint().