#include <attributes.hh>
Inheritance diagram for oln::morpho::attr::box_type< I, Exact >:
Public Types | |
typedef box_type< I, Exact > | self_type |
Self type of the class. | |
typedef mlc::exact_vt< self_type, Exact >::ret | exact_type |
typedef oln::morpho::attr::attr_traits< exact_type >::value_type | value_type |
typedef oln::morpho::attr::attr_traits< exact_type >::env_type | env_type |
typedef oln::morpho::attr::attr_traits< exact_type >::lambda_type | lambda_type |
typedef abstract::image< typename mlc::exact< I >::ret > | im_type |
Image type. | |
typedef mlc::exact< im_type >::ret::point_type | point_type |
Point type associated to im_type. | |
typedef mlc::exact< im_type >::ret::dpoint_type | dpoint_type |
Dpoint type associated to im_type. | |
enum | { dim = point_traits<point_type>::dim } |
Public Member Functions | |
box_type (const lambda_type &lambda) | |
Ctor from a lambda_type value. | |
box_type () | |
Basic Ctor. | |
box_type (const im_type &, const point_type &p, const env_type &) | |
Ctor from a point and an image. | |
value_type | getMin (int i) const |
Accessor to minimums. | |
value_type | getMax (int i) const |
Accessor to maximums. | |
value_type | getMin_impl (int i) const |
Accessor to minimums. | |
value_type | getMax_impl (int i) const |
Accessor to maximums. | |
void | pe_impl (const box_type &rhs) |
+= operator implementation. | |
bool | less_impl (const lambda_type &lambda) const |
"<" operator implementation. | |
bool | ne_impl (const lambda_type &lambda) const |
!= operator implementation. | |
Protected Attributes | |
std::vector< value_type > | maxs_ |
List of minimums. | |
std::vector< value_type > | mins_ |
List of maximums. |
I | Exact type of images to process. |
Exact | The exact type. |
Definition at line 1603 of file attributes.hh.
|
Ctor from a lambda_type value.
Definition at line 1619 of file attributes.hh.
|
|
Basic Ctor.
Definition at line 1634 of file attributes.hh.
01635 { 01636 }; |
|
Ctor from a point and an image.
Definition at line 1643 of file attributes.hh.
|
|
Accessor to maximums. Virtual method.
Definition at line 1671 of file attributes.hh. Referenced by oln::morpho::attr::box_type< I, Exact >::pe_impl().
01672 { 01673 mlc_dispatch(getMax)(i); 01674 }; |
|
Accessor to maximums. Virtual method.
Definition at line 1699 of file attributes.hh.
01700 { 01701 precondition(i < point_traits<point_type>::dim); 01702 return maxs_[i]; 01703 }; |
|
Accessor to minimums. Virtual method.
Definition at line 1657 of file attributes.hh. Referenced by oln::morpho::attr::box_type< I, Exact >::pe_impl().
01658 { 01659 mlc_dispatch(getMin)(i); 01660 }; |
|
Accessor to minimums. Virtual method.
Definition at line 1685 of file attributes.hh.
01686 { 01687 precondition(i < point_traits<point_type>::dim); 01688 return mins_[i]; 01689 }; |
|
"<" operator implementation. This is an implementation of the += operator. Override this method to provide a new implementation of this operator.
Definition at line 1728 of file attributes.hh.
|
|
!= operator implementation. This is an implementation of the += operator. Override this method to provide a new implementation of this operator.
Definition at line 1743 of file attributes.hh.
|
|
+= operator implementation. This is an implementation of the += operator. Override this method to provide a new implementation of this operator.
Definition at line 1712 of file attributes.hh. References oln::morpho::attr::box_type< I, Exact >::getMax(), and oln::morpho::attr::box_type< I, Exact >::getMin().
|