#include <ref_image.H>
Inheritance diagram for Array2d< T >:


Public Member Functions | |
| Array2d () | |
| Array2d (const Array2d< T > &arr) | |
| virtual | ~Array2d () |
| void | clear (int clear_val=0) |
| virtual bool | resize (uint new_w, uint new_h) |
| T & | val (uint id) const |
| T & | val (CNDCpt &ndc) const |
| T & | val (Cpoint2i &pix) const |
| T & | val (int x, int y) const |
| uint | width () const |
| uint | height () const |
| uint | max () const |
| CNDCvec & | ndc_offset () |
| void | set_ndc_offset (CNDCvec &v) |
| bool | uint_in_range (uint id) const |
| bool | pix_in_range (Cpoint2i &pix) const |
| uint | pix_to_uint (Cpoint2i &pix) const |
| Point2i | uint_to_pix (uint id) const |
| NDCpt | pix_to_ndc (Cpoint2i &pix) const |
| Point2i | ndc_to_pix (CNDCpt &ndc) const |
| NDCpt | uint_to_ndc (uint id) const |
| uint | ndc_to_uint (CNDCpt &ndc) const |
Protected Member Functions | |
| void | allocate () |
Protected Attributes | |
| T * | _values |
| uint | _width |
| uint | _height |
| uint | _max |
| double | _half_width |
| double | _half_height |
| double | _half_min_dim |
| NDCvec | _ndc_offset |
Definition at line 107 of file ref_image.H.
|
|||||||||
|
Definition at line 110 of file ref_image.H. |
|
||||||||||
|
Definition at line 111 of file ref_image.H. |
|
|||||||||
|
Definition at line 118 of file ref_image.H. |
|
|||||||||
|
Definition at line 141 of file ref_image.H. Referenced by Array2d< GLuint >::resize(). |
|
||||||||||
|
Definition at line 120 of file ref_image.H. |
|
|
Definition at line 47 of file ref_image.H. References CoordSystem2d::_height. |
|
|
Definition at line 48 of file ref_image.H. References CoordSystem2d::_max. Referenced by RefImage::find_val_in_box(), RefImage::read_file(), and IDRefImage::search(). |
|
|
Definition at line 60 of file ref_image.H. References CoordSystem2d::_ndc_offset. |
|
|
Definition at line 86 of file ref_image.H. References CoordSystem2d::_half_height, CoordSystem2d::_half_min_dim, and CoordSystem2d::_half_width. Referenced by IDRefImage::find_all_neighbors(), IDRefImage::find_neighbor(), RefImage::find_val_in_box(), IDRefImage::is_patch_sil_edge(), IDRefImage::is_patch_sil_edge_near(), IDRefImage::is_simplex_near(), and IDRefImage::search(). |
|
|
Definition at line 96 of file ref_image.H. References CoordSystem2d::_half_height, CoordSystem2d::_half_min_dim, CoordSystem2d::_half_width, CoordSystem2d::_height, CoordSystem2d::_width, and int(). Referenced by VisRefImage::debug(), IDRefImage::edge(), IDRefImage::face(), IDRefImage::simplex(), Array2d< GLuint >::val(), and IDRefImage::vert(). |
|
|
Definition at line 65 of file ref_image.H. References CoordSystem2d::_height, and CoordSystem2d::_width. Referenced by IDRefImage::find_all_neighbors(), IDRefImage::find_neighbor(), IDRefImage::is_patch_sil_edge(), IDRefImage::is_simplex_near(), and IDRefImage::near_pix(). |
|
|
Definition at line 82 of file ref_image.H. References CoordSystem2d::_half_height, CoordSystem2d::_half_min_dim, and CoordSystem2d::_half_width. |
|
|
Definition at line 73 of file ref_image.H. References CoordSystem2d::_height, and CoordSystem2d::_width. Referenced by IDRefImage::edge(), IDRefImage::face(), IDRefImage::simplex(), Array2d< GLuint >::val(), and IDRefImage::vert(). |
|
||||||||||||||||
|
Reimplemented from CoordSystem2d. Reimplemented in BufferRefImage, and VisRefImage. Definition at line 124 of file ref_image.H. Referenced by Array2d< GLuint >::Array2d(). |
|
|
Definition at line 61 of file ref_image.H. References CoordSystem2d::_ndc_offset. |
|
|
Definition at line 64 of file ref_image.H. References CoordSystem2d::_max. |
|
|
Definition at line 92 of file ref_image.H. References CoordSystem2d::_half_height, CoordSystem2d::_half_min_dim, CoordSystem2d::_half_width, CoordSystem2d::_ndc_offset, and CoordSystem2d::_width. |
|
|
Definition at line 77 of file ref_image.H. References CoordSystem2d::_width. |
|
||||||||||||||||
|
Definition at line 136 of file ref_image.H. |
|
||||||||||
|
Definition at line 135 of file ref_image.H. |
|
||||||||||
|
Definition at line 134 of file ref_image.H. |
|
||||||||||
|
Definition at line 133 of file ref_image.H. Referenced by debug_vis_ref_img(), and Array2d< GLuint >::val(). |
|
|
Definition at line 46 of file ref_image.H. References CoordSystem2d::_width. |
|
|
Definition at line 32 of file ref_image.H. Referenced by CoordSystem2d::ndc_to_pix(), CoordSystem2d::ndc_to_uint(), CoordSystem2d::pix_to_ndc(), CoordSystem2d::resize(), and CoordSystem2d::uint_to_ndc(). |
|
|
Definition at line 33 of file ref_image.H. Referenced by CoordSystem2d::ndc_to_pix(), CoordSystem2d::ndc_to_uint(), CoordSystem2d::pix_to_ndc(), CoordSystem2d::resize(), IDRefImage::search(), and CoordSystem2d::uint_to_ndc(). |
|
|
Definition at line 31 of file ref_image.H. Referenced by CoordSystem2d::ndc_to_pix(), CoordSystem2d::ndc_to_uint(), CoordSystem2d::pix_to_ndc(), CoordSystem2d::resize(), and CoordSystem2d::uint_to_ndc(). |
|
|
|
Definition at line 30 of file ref_image.H. Referenced by Array2d< GLuint >::allocate(), Array2d< GLuint >::Array2d(), Array2d< GLuint >::clear(), RefImage::copy_rgb(), RefImage::fill(), CoordSystem2d::max(), CoordSystem2d::resize(), and CoordSystem2d::uint_in_range(). |
|
|
Definition at line 35 of file ref_image.H. Referenced by CoordSystem2d::ndc_offset(), CoordSystem2d::set_ndc_offset(), and CoordSystem2d::uint_to_ndc(). |
|
|||||
|
Definition at line 139 of file ref_image.H. Referenced by Array2d< GLuint >::allocate(), Array2d< GLuint >::Array2d(), Array2d< GLuint >::clear(), Array2d< GLuint >::val(), and Array2d< GLuint >::~Array2d(). |
|
1.4.4