#include <ref_image.H>
Inheritance diagram for CoordSystem2d:
Public Member Functions | |
CoordSystem2d () | |
virtual | ~CoordSystem2d () |
uint | width () const |
uint | height () const |
uint | max () const |
virtual bool | resize (uint new_w, uint new_h) |
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 Attributes | |
uint | _width |
uint | _height |
uint | _max |
double | _half_width |
double | _half_height |
double | _half_min_dim |
NDCvec | _ndc_offset |
Definition at line 26 of file ref_image.H.
|
Definition at line 38 of file ref_image.H. |
|
Definition at line 43 of file ref_image.H. |
|
Definition at line 47 of file ref_image.H. References _height. |
|
Definition at line 48 of file ref_image.H. References _max. Referenced by RefImage::find_val_in_box(), RefImage::read_file(), and IDRefImage::search(). |
|
Definition at line 60 of file ref_image.H. References _ndc_offset. |
|
Definition at line 86 of file ref_image.H. References _half_height, _half_min_dim, and _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 _half_height, _half_min_dim, _half_width, _height, _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 _height, and _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 _half_height, _half_min_dim, and _half_width. |
|
Definition at line 73 of file ref_image.H. References _height, and _width. Referenced by IDRefImage::edge(), IDRefImage::face(), IDRefImage::simplex(), Array2d< GLuint >::val(), and IDRefImage::vert(). |
|
Reimplemented in BufferRefImage, Array2d< T >, VisRefImage, and Array2d< GLuint >. Definition at line 50 of file ref_image.H. References _half_height, _half_min_dim, _half_width, _height, _max, _width, and min(). Referenced by Array2d< GLuint >::resize(). |
|
Definition at line 61 of file ref_image.H. References _ndc_offset. |
|
Definition at line 64 of file ref_image.H. References _max. |
|
Definition at line 92 of file ref_image.H. References _half_height, _half_min_dim, _half_width, _ndc_offset, and _width. |
|
Definition at line 77 of file ref_image.H. References _width. |
|
Definition at line 46 of file ref_image.H. References _width. |
|
Definition at line 32 of file ref_image.H. Referenced by ndc_to_pix(), ndc_to_uint(), pix_to_ndc(), resize(), and uint_to_ndc(). |
|
Definition at line 33 of file ref_image.H. Referenced by ndc_to_pix(), ndc_to_uint(), pix_to_ndc(), resize(), IDRefImage::search(), and uint_to_ndc(). |
|
Definition at line 31 of file ref_image.H. Referenced by ndc_to_pix(), ndc_to_uint(), pix_to_ndc(), resize(), and 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(), max(), resize(), and uint_in_range(). |
|
Definition at line 35 of file ref_image.H. Referenced by ndc_offset(), set_ndc_offset(), and uint_to_ndc(). |
|