#include <slicing_morpher.hh>
Inheritance diagram for oln::morpher::slicing_morpher< const SrcType, Exact >:
Public Types | |
typedef slicing_morpher< const SrcType, Exact > | self_type |
The self type. | |
typedef image_id< self_type >::exact_type | exact_type |
The exact type of the morpher. | |
typedef super_slicing_morpher< const SrcType, exact_type > | super_type |
The upper class. | |
typedef image_id< exact_type >::point_type | point_type |
The morpher point type. | |
typedef image_id< exact_type >::value_type | value_type |
The morpher value type. | |
Public Member Functions | |
slicing_morpher (const SrcType &ima, coord slice) | |
Construct a slicing morpher.
| |
slicing_morpher (const self_type &r) | |
Construct a slicing morpher from another one. | |
slicing_morpher () | |
Empty constructor. | |
const value_type | at (const point_type &p) const |
Return the stored value at the point.
| |
Static Public Member Functions | |
std::string | name () |
Useful to debug. |
Definition at line 321 of file slicing_morpher.hh.
|
Return the stored value at the point.
Reimplemented from oln::abstract::image_with_impl< Impl, Exact >. Definition at line 364 of file slicing_morpher.hh.
00365 { 00366 typename SrcType::point_type tmp_p(p, slice_); 00367 return this->ima_[tmp_p]; 00368 } |
|
Empty constructor. Needed by mlc_hierarchy::any_with_diamond. Definition at line 355 of file slicing_morpher.hh.
00356 {} |