oln::image< Dim, T, Impl, Exact > Class Template Reference

#include <image.hh>

Inheritance diagram for oln::image< Dim, T, Impl, Exact >:

Inheritance graph
[legend]
Collaboration diagram for oln::image< Dim, T, Impl, Exact >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef mlc::exact_vt< image<
Dim, T, Impl, Exact >, Exact
>::ret 
exact_type
typedef image_traits< exact_type
>::point_type 
point_type
typedef image_traits< exact_type
>::dpoint_type 
dpoint_type
typedef image_traits< exact_type
>::iter_type 
iter_type
typedef image_traits< exact_type
>::fwd_iter_type 
fwd_iter_type
typedef image_traits< exact_type
>::bkd_iter_type 
bkd_iter_type
typedef image_traits< exact_type
>::value_type 
value_type
typedef image_traits< exact_type
>::size_type 
size_type
typedef image_traits< exact_type
>::impl_type 
impl_type
typedef image< Dim, T, Impl,
Exact > 
self_type
typedef abstract::image_with_impl<
Impl, exact_type > 
super_type

Public Member Functions

 image (self_type &rhs)
 The new image is a shallow copy of rhs. The rhs points are not duplicated, they are shared by the new image.

 image (impl_type *i)
 The image data pointer is set to i.

 image (const size_type &size)
 Allocate memory according to the size value.


Static Public Member Functions

std::string name ()

Detailed Description

template<unsigned Dim, class T, class Impl, class Exact>
class oln::image< Dim, T, Impl, Exact >

Generic image class, all the classic image class (image with dim = N) will derive from it.

Definition at line 83 of file core/image.hh.


Member Typedef Documentation

template<unsigned Dim, class T, class Impl, class Exact>
typedef image_traits<exact_type>::bkd_iter_type oln::image< Dim, T, Impl, Exact >::bkd_iter_type
 

Backward iterator type.

Reimplemented from oln::abstract::image_with_impl< Impl, Exact >.

Definition at line 113 of file core/image.hh.

template<unsigned Dim, class T, class Impl, class Exact>
typedef image_traits<exact_type>::dpoint_type oln::image< Dim, T, Impl, Exact >::dpoint_type
 

Prefer the macro oln_dpoint_type(I) to retrieve the dpoint_type of an image.

See also:
abstract::dpoint

Definition at line 99 of file core/image.hh.

template<unsigned Dim, class T, class Impl, class Exact>
typedef image_traits<exact_type>::fwd_iter_type oln::image< Dim, T, Impl, Exact >::fwd_iter_type
 

Forward iterator type.

Reimplemented from oln::abstract::image_with_impl< Impl, Exact >.

Definition at line 111 of file core/image.hh.

template<unsigned Dim, class T, class Impl, class Exact>
typedef image_traits<exact_type>::impl_type oln::image< Dim, T, Impl, Exact >::impl_type
 

Underlying implementation.

Reimplemented from oln::abstract::image_with_impl< Impl, Exact >.

Reimplemented in oln::image1d< T, Exact >, oln::image2d< T, Exact >, oln::image3d< T, Exact >, oln::image2d< T >, oln::image2d< unsigned >, and oln::image2d< std::vector< oln::point2d > >.

Definition at line 121 of file core/image.hh.

template<unsigned Dim, class T, class Impl, class Exact>
typedef image_traits<exact_type>::iter_type oln::image< Dim, T, Impl, Exact >::iter_type
 

Prefer the macro oln_iter_type(I) to retrieve the iter_type of an image.

See also:
abstract::iter

Reimplemented from oln::abstract::image_with_impl< Impl, Exact >.

Definition at line 105 of file core/image.hh.

template<unsigned Dim, class T, class Impl, class Exact>
typedef image_traits<exact_type>::point_type oln::image< Dim, T, Impl, Exact >::point_type
 

Prefer the macro oln_point_type(I) to retrieve the point_type of an image.

See also:
abstract::point

Reimplemented from oln::abstract::image_with_impl< Impl, Exact >.

Definition at line 93 of file core/image.hh.

template<unsigned Dim, class T, class Impl, class Exact>
typedef image_traits<exact_type>::size_type oln::image< Dim, T, Impl, Exact >::size_type
 

Indicate how the image size is handled.

Reimplemented from oln::abstract::image_with_impl< Impl, Exact >.

Definition at line 119 of file core/image.hh.

template<unsigned Dim, class T, class Impl, class Exact>
typedef image_traits<exact_type>::value_type oln::image< Dim, T, Impl, Exact >::value_type
 

Prefer the macro oln_value_type(I) to retrieve the value_type of an image.

Reimplemented from oln::abstract::image_with_impl< Impl, Exact >.

Reimplemented in oln::image1d< T, Exact >, oln::image2d< T, Exact >, oln::image3d< T, Exact >, oln::image2d< T >, oln::image2d< unsigned >, and oln::image2d< std::vector< oln::point2d > >.

Definition at line 115 of file core/image.hh.


Constructor & Destructor Documentation

template<unsigned Dim, class T, class Impl, class Exact>
oln::image< Dim, T, Impl, Exact >::image self_type &  rhs  )  [inline]
 

The new image is a shallow copy of rhs. The rhs points are not duplicated, they are shared by the new image.

See also:
oln::abstract::image::clone()

Definition at line 139 of file core/image.hh.

00139                          : super_type(rhs)
00140     {
00141       mlc_init_static_hierarchy(Exact);
00142     }


The documentation for this class was generated from the following file:
Generated on Thu Apr 15 20:14:13 2004 for Olena by doxygen 1.3.6-20040222