oln::impl::image_impl< Exact > Class Template Reference

#include <image_impl.hh>

Inheritance diagram for oln::impl::image_impl< Exact >:

Inheritance graph
[legend]
Collaboration diagram for oln::impl::image_impl< Exact >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef impl_traits< Exact
>::point_type 
point_type
typedef impl_traits< Exact
>::value_type 
value_type
typedef impl_traits< Exact
>::size_type 
size_type
typedef Exact exact_type

Public Member Functions

 image_impl (const size_type s)
void ref () const
 Notice that there is a new reference to the object.

void unref () const
 Notice that there a reference to the object has disappeared. When there is no reference left, the object is deleted.

const value_type & at (const point_type &p) const
 Return a constant reference to the value stored at p.

value_type & at (const point_type &p)
 Return a reference to the value stored at p.

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.

void precondition_hold_large (const point_type &p) const
 Use the function for debugging purpose.

void clone_to (exact_type *output_data) const
 Perform a deep copy from the data array to output_data.

const size_type & size () const
 Return the number of point in the image.

size_type & size ()
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.


Protected Attributes

size_type size_

Detailed Description

template<class Exact>
class oln::impl::image_impl< Exact >

Data array implementation for image

Definition at line 71 of file image_impl.hh.


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