#include <window1d.hh>
Inheritance diagram for oln::window1d:
Public Types | |
typedef abstract::windownd< window1d > | super_type |
The super type. | |
typedef window1d | self_type |
The self type. | |
typedef struct_elt_traits< self_type >::iter_type | iter_type |
The associate image's type of iterator. | |
typedef struct_elt_traits< self_type >::neighb_type | neighb_type |
Type of neighbor. | |
typedef struct_elt_traits< self_type >::dpoint_type | dpoint_type |
The associate image's type of dpoint (move point). | |
Public Member Functions | |
window1d & | add (const dpoint_type &dp) |
Add a dpoint (move point) to the window.
| |
window1d & | add (coord col) |
Add a point by coordinates to the window.
| |
window1d () | |
Construct a window of 1 dimension. | |
window1d (unsigned size) | |
Construct a window of 1 dimension.
| |
window1d (unsigned n, const coord crd[]) | |
Construct a window of 1 dimension from several points.
| |
Static Public Member Functions | |
std::string | name () |
Return the name of the type. | |
Protected Member Functions | |
coord | delta_update_ (const dpoint_type &dp) |
Update delta.
| |
Friends | |
class | abstract::window_base< abstract::window< window1d >, window1d > |
A window is a set of points. This class defines how to deal with. These points have 1 dimension.
Definition at line 63 of file window1d.hh.
|
The associate image's type of dpoint (move point).
Reimplemented from oln::abstract::windownd< window1d >. Definition at line 87 of file window1d.hh. Referenced by add(), and window1d(). |
|
The associate image's type of iterator.
Definition at line 77 of file window1d.hh. |
|
Add a point by coordinates to the window.
Add a new member by its coordinates to the window. The coordinates are only the column number because the window is of 1 dimension. Definition at line 113 of file window1d.hh. References add(), oln::coord, and dpoint_type.
00114 { 00115 return this->add(dpoint_type(col)); 00116 } |
|
Add a dpoint (move point) to the window.
Add a new member to the neighborhood. This point must be of 1 dimension. Definition at line 99 of file window1d.hh. Referenced by add(), oln::mk_win_from_neighb(), oln::mk_win_segment(), and window1d().
00100 {
00101 return this->exact().add_(dp);
00102 }
|
|
Update delta.
Definition at line 160 of file window1d.hh. References oln::abstract::window_base< window< window1d >, window1d >::delta_.
|