#include <neighborhoodnd.hh>
Inheritance diagram for oln::abstract::neighborhoodnd< Exact >:
Public Types | |
typedef window_base< neighborhood< Exact >, Exact > | super_type |
Super type. | |
typedef neighborhoodnd< Exact > | self_type |
Self type. | |
typedef Exact | exact_type |
Exact type. | |
typedef struct_elt_traits< Exact >::dpoint_type | dpoint_type |
The associate image's type of dpoint (move point). | |
Static Public Member Functions | |
std::string | name () |
Return the name of the type. | |
Protected Member Functions | |
exact_type & | add_ (const dpoint_type &dp) |
Add a point to the neighborhood.
| |
neighborhoodnd () | |
Construct a neighborhood N dimensions. | |
neighborhoodnd (unsigned size) | |
Construct a neighborhood of 'size' elements.
| |
Friends | |
class | neighborhood< exact_type > |
It looks like structuring elements but here, when you add an element, you add its opposite:
Points have N dimensions.
Definition at line 63 of file neighborhoodnd.hh.
|
The associate image's type of dpoint (move point).
Reimplemented from oln::abstract::window_base< neighborhood< Exact >, Exact >. Reimplemented in oln::neighborhood1d, oln::neighborhood2d, and oln::neighborhood3d. Definition at line 75 of file neighborhoodnd.hh. |
|
Add a point to the neighborhood.
Definition at line 96 of file neighborhoodnd.hh.
00097 { 00098 precondition( !dp.is_centered() ); 00099 this->centered_ = true; 00100 if (!(has_(dp))) 00101 this->dp_.push_back(dp); 00102 delta_update(dp); 00103 return this->exact(); 00104 } |