oln::impl::image_array2d< T > Class Template Reference

#include <image_array2d.hh>

Inheritance diagram for oln::impl::image_array2d< T >:

Inheritance graph
[legend]
Collaboration diagram for oln::impl::image_array2d< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef image_array2d< T > self_type
typedef image_array2d< T > exact_type
typedef impl_traits< exact_type
>::point_type 
point_type
typedef impl_traits< exact_type
>::value_type 
value_type
typedef impl_traits< exact_type
>::size_type 
size_type
typedef image_array< T, image_array2d<
T > > 
super_type

Public Member Functions

 image_array2d (const size_type &s)
 image_array2d ()
 ~image_array2d ()

Protected Member Functions

bool hold_ (const point_type &p) const
 Return true if p belongs to the image.
bool hold_large_ (const point_type &p) const
 Return true if p belongs to the image or the image border.
value_typeat_ (const point_type &p)
 Return a reference to the value stored at p.
value_typeat_ (coord row, coord col)
 Return a reference to the value stored at row and col.
size_t len_ (const size_type &s) const
 Return the total size of the data array.
void border_reallocate_and_copy_ (coord new_border, bool copy_border)
 Reallocate the border regarding to the value of new_border.
void border_replicate_ (void)
 The border points are all set to the value of the closest image point.
void border_mirror_ (void)
 The border points are set by mirroring the image edges.
void border_assign_ (value_type val)
 The border points are set to val.

Friends

class image_impl< image_array2d< T > >
class image_array< T, image_array2d< T > >

Detailed Description

template<class T>
class oln::impl::image_array2d< T >

Data array implementation for image2d

Definition at line 99 of file image_array2d.hh.


The documentation for this class was generated from the following file:
Generated on Tue Feb 20 20:27:04 2007 for Olena by  doxygen 1.5.1