oln::morpher::slicing_morpher< const SrcType, Exact > Struct Template Reference

The specialized version for `const' images. More...

#include <slicing_morpher.hh>

Inheritance diagram for oln::morpher::slicing_morpher< const SrcType, Exact >:

Inheritance graph
[legend]
Collaboration diagram for oln::morpher::slicing_morpher< const SrcType, Exact >:

Collaboration graph
[legend]
List of all members.

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

static std::string name ()
 Useful to debug.

Detailed Description

template<class SrcType, class Exact>
struct oln::morpher::slicing_morpher< const SrcType, Exact >

The specialized version for `const' images.

Definition at line 322 of file slicing_morpher.hh.


Constructor & Destructor Documentation

template<class SrcType, class Exact>
oln::morpher::slicing_morpher< const SrcType, Exact >::slicing_morpher ( const SrcType &  ima,
coord  slice 
) [inline]

Construct a slicing morpher.

Definition at line 342 of file slicing_morpher.hh.

00343         : super_type(ima, slice)
00344       {}

template<class SrcType, class Exact>
oln::morpher::slicing_morpher< const SrcType, Exact >::slicing_morpher (  )  [inline]

Empty constructor.

Needed by mlc_hierarchy::any_with_diamond.

Definition at line 356 of file slicing_morpher.hh.

00357       {}


Member Function Documentation

template<class SrcType, class Exact>
const value_type oln::morpher::slicing_morpher< const SrcType, Exact >::at ( const point_type p  )  const [inline]

Return the stored value at the point.

Definition at line 365 of file slicing_morpher.hh.

References oln::morpher::abstract::generic_morpher< SrcType, Exact >::ima_.

00366       {
00367         typename SrcType::point_type tmp_p(p, this->slice_);
00368         return this->ima_[tmp_p];
00369       }


The documentation for this struct was generated from the following file:
Generated on Tue Feb 20 20:28:09 2007 for Olena by  doxygen 1.5.1