DGtal 1.3.0
|
Aim: transforms a signed cell c into a pair of points corresponding to the signed cells of greater dimension that are indirectly and directly incident to c. More...
#include <DGtal/topology/SCellsFunctors.h>
Public Types | |
typedef KSpace::Point | Point |
typedef std::pair< Point, Point > | Output |
typedef KSpace::SCell | Input |
Public Member Functions | |
SCellToIncidentPoints () | |
SCellToIncidentPoints (ConstAlias< KSpace > aK) | |
SCellToIncidentPoints (const SCellToIncidentPoints &other) | |
SCellToIncidentPoints & | operator= (const SCellToIncidentPoints &other) |
Output | operator() (const Input &s) const |
Private Attributes | |
const KSpace * | myK |
Aim: transforms a signed cell c into a pair of points corresponding to the signed cells of greater dimension that are indirectly and directly incident to c.
Description of template class 'SCellToIncidentPoints'
For instance, a linel is mapped into the pair of incident pixel centers and a surfel is mapped into the pair of incident voxel centers.
KSpace | the Khalimsky space |
Definition at line 474 of file SCellsFunctors.h.
typedef KSpace::SCell DGtal::functors::SCellToIncidentPoints< KSpace >::Input |
Definition at line 481 of file SCellsFunctors.h.
typedef std::pair<Point,Point> DGtal::functors::SCellToIncidentPoints< KSpace >::Output |
Definition at line 480 of file SCellsFunctors.h.
typedef KSpace::Point DGtal::functors::SCellToIncidentPoints< KSpace >::Point |
Definition at line 479 of file SCellsFunctors.h.
|
inline |
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 499 of file SCellsFunctors.h.
|
inline |
Copy constructor.
other | any SCellToIncidentPoints functor |
Definition at line 505 of file SCellsFunctors.h.
|
inline |
Get a pair of point (integer coordinates) from a scell (khalimsky coordinates)
s | a linel |
Definition at line 527 of file SCellsFunctors.h.
References DGtal::functors::SCellToIncidentPoints< KSpace >::myK, DGtal::KhalimskySpaceND< dim, TInteger >::sCoords(), DGtal::KhalimskySpaceND< dim, TInteger >::sDirectIncident(), DGtal::KhalimskySpaceND< dim, TInteger >::sIndirectIncident(), and DGtal::KhalimskySpaceND< dim, TInteger >::sOrthDirs().
|
inline |
Assignment.
other | the object to copy. |
Definition at line 513 of file SCellsFunctors.h.
References DGtal::functors::SCellToIncidentPoints< KSpace >::myK.
|
private |
Aliasing pointer on the Khalimsky space.
Definition at line 487 of file SCellsFunctors.h.
Referenced by DGtal::functors::SCellToIncidentPoints< KSpace >::operator()(), and DGtal::functors::SCellToIncidentPoints< KSpace >::operator=().