DGtal
0.6.devel
|
#include <Modifier.h>
Public Types | |
typedef KSpace::Point | Point |
typedef std::pair< Point, Point > | Output |
typedef KSpace::SCell | Input |
Public Member Functions | |
SCellToIncidentPoints () | |
SCellToIncidentPoints (KSpace aK) | |
SCellToIncidentPoints (const SCellToIncidentPoints &other) | |
SCellToIncidentPoints & | operator= (const SCellToIncidentPoints &other) |
Output | get (const Input &s) const |
Private Member Functions | |
BOOST_STATIC_ASSERT ((KSpace::dimension==2)) |
Private Attributes | |
KSpace | myK |
Aim: transforms a linel into a pair of points, which are the centers of the two incident pixels.
Description of template class 'SCellToIncidentPoints'
KSpace,the | 2d Khalimsky space |
Definition at line 549 of file Modifier.h.
typedef KSpace::SCell DGtal::deprecated::SCellToIncidentPoints< KSpace >::Input |
Definition at line 559 of file Modifier.h.
typedef std::pair<Point,Point> DGtal::deprecated::SCellToIncidentPoints< KSpace >::Output |
Definition at line 557 of file Modifier.h.
typedef KSpace::Point DGtal::deprecated::SCellToIncidentPoints< KSpace >::Point |
Definition at line 556 of file Modifier.h.
|
inline |
|
inline |
Constructor.
aK | a Khalimsky space |
Definition at line 574 of file Modifier.h.
|
inline |
Copy constructor.
other | any SCellToIncidentPoints modifier |
Definition at line 580 of file Modifier.h.
|
private |
|
inline |
Get a pair of point (integer coordinates) from a scell (khalimsky coordinates)
s | a linel |
Definition at line 602 of file Modifier.h.
References DGtal::deprecated::SCellToIncidentPoints< KSpace >::myK.
|
inline |
Assignment.
other | the object to copy. |
Definition at line 588 of file Modifier.h.
References DGtal::deprecated::SCellToIncidentPoints< KSpace >::myK.
|
private |
Definition at line 562 of file Modifier.h.
Referenced by DGtal::deprecated::SCellToIncidentPoints< KSpace >::get(), and DGtal::deprecated::SCellToIncidentPoints< KSpace >::operator=().