#include <image_impl.hh>
Inheritance diagram for oln::impl::image_impl< Exact >:
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_ |
Definition at line 71 of file image_impl.hh.