#include <ref_image.H>
Inheritance diagram for VisRefImage:
Public Member Functions | |
virtual | ~VisRefImage () |
bool | need_update () |
virtual void | update () |
void | force_dirty () |
virtual void | vis_update () |
virtual Bsimplex * | vis_simplex (CNDCpt &ndc) const |
virtual Bface * | vis_intersect (CNDCpt &ndc, Wpt &obj_pt) const |
virtual void | debug (CNDCpt &p) const |
void | observe () |
void | unobserve () |
virtual int | tick () |
Bsimplex * | simplex (uint id) const |
Bsimplex * | simplex (CNDCpt &ndc) const |
Bsimplex * | simplex (Cpoint2i &pix) const |
Bvert * | vert (uint id) const |
Bvert * | vert (CNDCpt &ndc) const |
Bvert * | vert (Cpoint2i &pix) const |
Bedge * | edge (uint id) const |
Bedge * | edge (CNDCpt &ndc) const |
Bedge * | edge (Cpoint2i &pix) const |
Bface * | face (uint id) const |
Bface * | face (CNDCpt &ndc) const |
Bface * | face (Cpoint2i &pix) const |
Patch * | patch (CNDCpt &ndc) const |
Patch * | face_patch (CNDCpt &ndc) const |
Bsimplex * | intersect_sim (CNDCpt &ndc, Wpt &obj_pt) const |
Bface * | intersect (CNDCpt &ndc, Wpt &obj_pt) const |
Bface * | intersect (CNDCpt &ndc) const |
bool | search (CNDCpt ¢er, double screen_pix_rad, CSimplexFilter &filt, Point2i &hit) |
Bsimplex * | find_near_simplex (CNDCpt ¢er, double screen_pix_rad=1.0, CSimplexFilter &filt=SimplexFilter()) |
bool | is_patch_sil_edge (Cpoint2i &pix, const Patch *patch) const |
bool | is_patch_sil_edge (CNDCpt &pix, const Patch *patch) const |
Bedge * | find_neighbor (CNDCpt &p, Bedge *current, int radius=1) const |
ARRAY< Bedge * > | find_all_neighbors (CNDCpt &p, Patch *patch, int radius=1) const |
ARRAY< Bedge * > | find_all_neighbors (Cpoint2i &p, Patch *patch, int radius=1) const |
bool | is_simplex_near (CNDCpt &p, const Bsimplex *simp, int radius=1) const |
bool | is_patch_sil_edge_near (CNDCpt &ndc, const Patch *patch, int radius=1) const |
bool | is_face_visible (CNDCpt &ndc, const Bface *bf) const |
bool | near_pix (Cpoint2i &pix, Point2i &ret, Patch *patch) |
CVIEWptr & | view () const |
int | copy_rgb (Image &img) const |
void | read_FB () |
void | draw_FB () const |
void | fill (uchar r, uchar g, uchar b, uchar a=255U) |
void | fill (uint fill_color) |
void | set (Cpoint2i &pix, uint rgba_color) |
void | set (Cpoint2i &pix, uchar r, uchar g, uchar b, uchar a=255U) |
void | set (int x, int y, uint rgba_color) |
void | set (int x, int y, uchar r, uchar g, uchar b, uchar a=255U) |
void | set (int x, int y, CCOLOR &c, double alpha=1) |
void | blend (int x, int y, CCOLOR &c, double alpha) |
COLOR | color (int x, int y) const |
COLOR | color (CNDCpt &ndc) const |
uint | red (uint id) const |
uint | red (CNDCpt &ndc) const |
uint | red (Cpoint2i &pix) const |
uint | red (int x, int y) const |
uint | green (uint id) const |
uint | green (CNDCpt &ndc) const |
uint | green (Cpoint2i &pix) const |
uint | green (int x, int y) const |
uint | blue (uint id) const |
uint | blue (CNDCpt &ndc) const |
uint | blue (Cpoint2i &pix) const |
uint | blue (int x, int y) const |
uint | alpha (uint id) const |
uint | alpha (CNDCpt &ndc) const |
uint | alpha (Cpoint2i &pix) const |
uint | alpha (int x, int y) const |
uint | grey (uint id) const |
uint | grey (CNDCpt &ndc) const |
uint | grey (Cpoint2i &pix) const |
uint | grey (int x, int y) const |
double | grey_d (uint id) const |
double | grey_d (CNDCpt &ndc) const |
double | grey_d (Cpoint2i &pix) const |
double | grey_d (int x, int y) const |
int | read_file (char *file) |
int | write_file (char *file) |
bool | find_val_in_box (uint v, Cpoint2i ¢er, uint rad=1) const |
bool | find_val_in_box (uint v, CNDCpt ¢er, uint rad=1) const |
bool | find_val_in_box (uint v, uint mask, Cpoint2i ¢er, uint rad=1, int nbr=256) const |
bool | find_val_in_box (uint v, uint mask, CNDCpt ¢er, uint rad=1, int nbr=256) const |
Array2d () | |
Array2d (const Array2d< GLuint > &arr) | |
void | clear (int clear_val=0) |
GLuint & | val (uint id) const |
GLuint & | val (CNDCpt &ndc) const |
GLuint & | val (Cpoint2i &pix) const |
GLuint & | 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 |
virtual void | setIndex (int idx) |
virtual int | getIndex () const |
void | Own () const |
void | Free () const |
int | Lock () |
void | Unlock () |
int | Unique () const |
Static Public Member Functions | |
static void | init () |
static VisRefImage * | lookup (CVIEWptr &view=VIEW::peek()) |
static NDCpt | get_cursor () |
static Bsimplex * | get_simplex (CNDCpt &cur=get_cursor(), double screen_rad=1, CSimplexFilter &filt=SimplexFilter()) |
static Bface * | get_face (CNDCpt &cur=get_cursor(), double screen_rad=1) |
static Bface_list | get_faces (const PIXEL_list &pix, double screen_rad=1) |
static Bface * | Intersect (CNDCpt &ndc, Wpt &obj_pt) |
static Bface * | Intersect (CNDCpt &ndc) |
static Bface * | get_face_bc (Wvec &bc, CNDCpt &ndc=get_cursor(), double rad=1) |
static Bface * | get_sub_face (int level, Wvec &bc, CNDCpt &ndc=get_cursor(), double rad=1) |
static Bface * | get_edit_face (Wvec &bc, CNDCpt &ndc=get_cursor(), double rad=1) |
static Bface * | get_edit_face (CNDCpt &ndc=get_cursor(), double rad=1) |
static Bface * | get_ctrl_face (CNDCpt &cur=get_cursor(), double screen_rad=1) |
static Bedge * | get_edge (CNDCpt &cur=get_cursor(), double screen_rad=1) |
static Bvert * | get_vert (CNDCpt &cur=get_cursor(), double screen_rad=1) |
static Patch * | get_patch (CNDCpt &cur=get_cursor(), double screen_rad=1) |
static Patch * | get_ctrl_patch (CNDCpt &cur=get_cursor(), double screen_rad=1) |
static BMESH * | get_mesh (CNDCpt &cur=get_cursor(), double screen_rad=1) |
static BMESH * | get_ctrl_mesh (CNDCpt &cur=get_cursor(), double screen_rad=1) |
static uint | key_to_rgba (uint key) |
static uint | rgba_to_key (uint rgba) |
static uint | key_to_rgba2 (uint key) |
static uint | rgba_to_key2 (uint rgba) |
static void | set_instance (IDRefImage *id_ref) |
static void | set_instance (CVIEWptr &v) |
static IDRefImage * | instance () |
static void | setup_bits (CVIEWptr &) |
Protected Types | |
enum | STATE { START = 0, MIDDLE, END, PRIMARY, GRAB, DRAG, DROP, NET, EVERY } |
Protected Member Functions | |
VisRefImage (CVIEWptr &v) | |
void | reset () |
virtual void | draw_objects (CGELlist &) const |
virtual bool | resize (uint new_w, uint new_h) |
virtual void | notify_change (BMESH *, BMESH::change_t) |
virtual void | notify_xform (BMESH *, CWtransf &, CMOD &) |
virtual void | notify (CCAMdataptr &) |
virtual void | notify (CGELptr &, int) |
virtual void | notify_exist (CGELptr &, int) |
virtual void | notify_xform (CGEOMptr &, STATE) |
Patch * | patch (Bsimplex *sim) const |
Patch * | face_patch (Bsimplex *sim) const |
void | allocate () |
void | subscribe_mesh_notifications (BMESH *m) |
void | unsubscribe_mesh_notifications (BMESH *m) |
void | subscribe_all_mesh_notifications () |
void | unsubscribe_all_mesh_notifications () |
virtual void | notify_merge (BMESH *, BMESH *) |
virtual void | notify_split (BMESH *, CARRAY< BMESH * > &) |
virtual void | notify_subdiv_gen (BMESH *) |
virtual void | notify_delete (BMESH *) |
virtual void | notify_sub_delete (BMESH *) |
virtual void | notify_update_request (BMESH *) |
virtual str_ptr | name () const |
virtual void | notify_manip_start (CCAMdataptr &data) |
virtual void | notify_manip_end (CCAMdataptr &data) |
void | disp_obs (CGELptr &g) |
void | disp_obs () |
void | unobs_display (CGELptr &g) |
void | unobs_display () |
void | exist_obs () |
void | unobs_exist () |
virtual void | notify_xform (CGEOMptr &, STATE state)=0 |
void | xform_obs (CGELptr &g) |
void | xform_obs () |
void | every_xform_obs () |
void | unobs_xform () |
void | unobs_xform (CGEOMptr &g) |
void | unobs_every_xform () |
Static Protected Member Functions | |
static void | broadcast_change (BMESH *, BMESH::change_t) |
static void | broadcast_xform (BMESH *, CWtransf &xf, CMOD &) |
static void | broadcast_merge (BMESH *joined, BMESH *removed) |
static void | broadcast_split (BMESH *, CARRAY< BMESH * > &) |
static void | broadcast_subdiv_gen (BMESH *) |
static void | broadcast_delete (BMESH *) |
static void | broadcast_sub_delete (BMESH *) |
static void | broadcast_update_request (BMESH *) |
static const BMESHobs_list & | observers (BMESH *m) |
static void | print_names (BMESH *m) |
static BMESHobs_list & | bmesh_obs_list (BMESH *m) |
static void | notify_disp_obs (CGELptr &g, int disp) |
static void | suspend_disp_obs () |
static void | activate_disp_obs () |
static DISPobs_list & | disp_obs_list (CGELptr &g) |
static EXISTobs_list * | existobs_list () |
static void | notify_exist_obs (CGELptr &o, int f) |
static void | notify_xform_obs (CGEOMptr &, STATE start) |
static void | notify_xform_every_obs (CGEOMptr &) |
static XFORMobs_list & | xform_obs_list (CGELptr &g) |
Protected Attributes | |
int | _dirty |
int | _countup |
VIEWptr | _view |
str_ptr | _rend_str |
GLenum | _format |
GLenum | _type |
RefImageClient::ref_img_t | _ref_img_type |
GLuint * | _values |
uint | _width |
uint | _height |
uint | _max |
double | _half_width |
double | _half_height |
double | _half_min_dim |
NDCvec | _ndc_offset |
int | _index |
Static Protected Attributes | |
static HASH | _hash |
static uint | _red_bits = 0 |
static uint | _green_bits = 0 |
static uint | _blue_bits = 0 |
static uint | _alpha_bits = 0 |
static bool | _nonstandard_bits = false |
static IDRefImage * | _instance = 0 |
static HASH | _hash |
static BMESHobs_list | _all_observers |
static GELlist | _created |
static EXISTobs_list * | _exist_obs = 0 |
static BaseVisRefImageFactory * | _factory = 0 |
static HASH | _hash |
Friends | |
class | VisRefImageFactory |
Definition at line 565 of file ref_image.H.
|
Definition at line 20 of file geom_obs.H. |
|
Definition at line 575 of file ref_image.H. References unobserve(). |
|
Definition at line 795 of file ref_image.C. |
|
Definition at line 87 of file gel_obs.H. References DISPobs::_suspend_disp. |
|
Definition at line 141 of file ref_image.H. References CoordSystem2d::_max, and Array2d< T >::_values. |
|
Definition at line 260 of file ref_image.H. References rgba_to_a(), and Array2d< GLuint >::val(). |
|
Definition at line 259 of file ref_image.H. References rgba_to_a(), and Array2d< GLuint >::val(). |
|
Definition at line 258 of file ref_image.H. References rgba_to_a(), and Array2d< GLuint >::val(). |
|
Definition at line 257 of file ref_image.H. References rgba_to_a(), and Array2d< GLuint >::val(). Referenced by debug_vis_ref_img(), and RefImage::set(). |
|
Definition at line 111 of file ref_image.H. References CoordSystem2d::_height, CoordSystem2d::_max, Array2d< T >::_values, CoordSystem2d::_width, and Array2d< T >::resize(). |
|
Definition at line 110 of file ref_image.H. |
|
Definition at line 226 of file ref_image.H. References RefImage::color(), and RefImage::set(). |
|
Definition at line 255 of file ref_image.H. References rgba_to_b(), and Array2d< GLuint >::val(). |
|
Definition at line 254 of file ref_image.H. References rgba_to_b(), and Array2d< GLuint >::val(). |
|
Definition at line 253 of file ref_image.H. References rgba_to_b(), and Array2d< GLuint >::val(). |
|
Definition at line 252 of file ref_image.H. References rgba_to_b(), and Array2d< GLuint >::val(). Referenced by debug_vis_ref_img(). |
|
|
Definition at line 4507 of file bmesh.C. References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_change(). Referenced by BMESH::changed(). |
|
Definition at line 4578 of file bmesh.C. References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_delete(). Referenced by BMESH::~BMESH(). |
|
Definition at line 4527 of file bmesh.C. References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_merge(). Referenced by BMESH::_merge(). |
|
Definition at line 4555 of file bmesh.C. References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_split(). Referenced by BMESH::split_components(). |
|
Definition at line 4591 of file bmesh.C. References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_sub_delete(). Referenced by LMESH::delete_subdiv_mesh(). |
|
Definition at line 4568 of file bmesh.C. References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_subdiv_gen(). Referenced by LMESH::allocate_subdiv_mesh(). |
|
Definition at line 4601 of file bmesh.C. References BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_update_request(). Referenced by BMESH::send_update_notification(), and LMESH::update_subdivision(). |
|
Definition at line 4517 of file bmesh.C. References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_xform(). Referenced by BMESH::transform(). |
|
Definition at line 120 of file ref_image.H. References CoordSystem2d::_max, and Array2d< T >::_values. |
|
Definition at line 237 of file ref_image.H. References Color::rgba_to_color(), and Array2d< GLuint >::val(). |
|
Definition at line 233 of file ref_image.H. References Color::rgba_to_color(), and Array2d< GLuint >::val(). Referenced by RefImage::blend(). |
|
Definition at line 158 of file ref_image.C. References CoordSystem2d::_height, CoordSystem2d::_max, CoordSystem2d::_width, Image::data(), err_msg(), Image::resize(), rgba_to_b(), rgba_to_g(), rgba_to_r(), and Array2d< GLuint >::val(). Referenced by AuxRefImage::update(). |
|
Reimplemented from BaseVisRefImage. Definition at line 836 of file ref_image.C. References Bsimplex::lookup(), CoordSystem2d::ndc_to_uint(), IDRefImage::rgba_to_key(), and Array2d< GLuint >::val(). |
|
Definition at line 84 of file gel_obs.H. References DISPobs::_all_disp. Referenced by DISTRIB::DISTRIB(), DrawWidget::DrawWidget(), observe(), BufferRefImage::observe(), and VIEW::VIEW(). |
|
Definition at line 82 of file gel_obs.H. References DISPobs::disp_obs_list(). |
|
Definition at line 89 of file gel_obs.H. References DISPobs::_hash_disp, HASH::add(), and HASH::find(). Referenced by DISPobs::disp_obs(), DISPobs::notify_disp_obs(), and DISPobs::unobs_display(). |
|
Definition at line 44 of file ref_image.C. References RefImage::_format, CoordSystem2d::_height, RefImage::_type, Array2d< GLuint >::_values, CoordSystem2d::_width, GL_BLEND, GL_ENABLE_BIT, GL_MODELVIEW, GL_PROJECTION, glDisable(), glDrawPixels(), glLoadIdentity(), glLoadMatrixd(), glMatrixMode(), glPopAttrib(), glPopMatrix(), glPushAttrib(), glPushMatrix(), glRasterPos2i(), and VIEW::peek(). |
|
Reimplemented from IDRefImage. Definition at line 851 of file ref_image.C. References RIC_list< T >::draw_vis_ref(), GL_MODELVIEW, GL_PROJECTION, glLoadMatrixd(), glMatrixMode(), mlib::Mat4< M, P, V, L, Q >::matrix(), ARRAY< T >::num(), VIEW::peek(), and RefImage::view(). |
|
Definition at line 408 of file ref_image.H. References IDRefImage::edge(), and CoordSystem2d::pix_to_uint(). |
|
Definition at line 402 of file ref_image.H. References IDRefImage::edge(), and CoordSystem2d::ndc_to_uint(). |
|
Definition at line 393 of file ref_image.H. References is_edge(), and IDRefImage::simplex(). Referenced by IDRefImage::edge(), IDRefImage::find_all_neighbors(), IDRefImage::find_neighbor(), and IDRefImage::is_patch_sil_edge(). |
|
Definition at line 38 of file geom_obs.H. References XFORMobs::_every_xf. |
|
Definition at line 58 of file gel_obs.H. References EXISTobs::existobs_list(). Referenced by DISTRIB::DISTRIB(), hashdist::hashdist(), and observe(). |
|
Definition at line 47 of file gel_obs.H. References EXISTobs::_exist_obs. Referenced by EXISTobs::exist_obs(), EXISTobs::notify_exist_obs(), and EXISTobs::unobs_exist(). |
|
Definition at line 409 of file ref_image.H. References IDRefImage::face(), and CoordSystem2d::pix_to_uint(). |
|
Definition at line 403 of file ref_image.H. References IDRefImage::face(), and CoordSystem2d::ndc_to_uint(). |
|
Definition at line 397 of file ref_image.H. References is_face(), and IDRefImage::simplex(). Referenced by IDRefImage::face(), and IDRefImage::is_face_visible(). |
|
Definition at line 540 of file ref_image.H. References is_face(), and IDRefImage::patch(). |
|
Definition at line 405 of file ref_image.H. References IDRefImage::simplex(). Referenced by IDRefImage::near_pix(). |
|
Definition at line 133 of file ref_image.C. References CoordSystem2d::_max, and Array2d< GLuint >::val(). |
|
Definition at line 204 of file ref_image.H. References build_rgba(). |
|
Definition at line 606 of file ref_image.C. References ARRAY< T >::add_uniquely(), check(), ARRAY< T >::clear(), IDRefImage::edge(), Bedge::is_sil(), j, Bedge::patch(), and CoordSystem2d::pix_in_range(). |
|
Definition at line 598 of file ref_image.C. References center(), and CoordSystem2d::ndc_to_pix(). |
|
Definition at line 525 of file ref_image.C. References IDRefImage::search(), and IDRefImage::simplex(). Referenced by get_simplex(). |
|
Definition at line 539 of file ref_image.C. References center(), check(), IDRefImage::edge(), Bedge::is_sil(), j, CoordSystem2d::ndc_to_pix(), Bedge::patch(), and CoordSystem2d::pix_in_range(). |
|
Definition at line 291 of file ref_image.H. References RefImage::find_val_in_box(), and CoordSystem2d::ndc_to_pix(). |
|
Definition at line 271 of file ref_image.C. References CoordSystem2d::_height, CoordSystem2d::_width, int(), CoordSystem2d::max(), min(), and Array2d< GLuint >::val(). |
|
Definition at line 286 of file ref_image.H. References RefImage::find_val_in_box(), and CoordSystem2d::ndc_to_pix(). |
|
Definition at line 249 of file ref_image.C. References CoordSystem2d::_height, CoordSystem2d::_width, CoordSystem2d::max(), min(), and Array2d< GLuint >::val(). Referenced by RefImage::find_val_in_box(). |
|
Definition at line 584 of file ref_image.H. References _dirty. |
|
Definition at line 76 of file ref.H. References REFcounter::_mutex, REFcounter::_u, and REF_ME. |
|
Definition at line 664 of file ref_image.H. References get_ctrl_face(), and get_face(). |
|
Definition at line 697 of file ref_image.H. References get_ctrl_mesh(), and get_mesh(). |
|
Definition at line 685 of file ref_image.H. References get_ctrl_patch(), and get_simplex(). Referenced by next_texture(). |
|
Definition at line 597 of file ref_image.H. References err_msg(), and DEVice_2d::last. Referenced by toggle_crease(), and toggle_transp(). |
|
Definition at line 669 of file ref_image.H. References get_simplex(). |
|
Definition at line 660 of file ref_image.H. References get_edit_face(). |
|
Definition at line 740 of file ref_image.C. References get_face_bc(), and Bsimplex::mesh(). Referenced by get_edit_face(). |
|
Definition at line 677 of file ref_image.C. References get_simplex(). Referenced by get_ctrl_face(), get_face_bc(), and get_faces(). |
|
Definition at line 702 of file ref_image.C. References get_face(), and Bface::near_pt(). Referenced by get_edit_face(), and get_sub_face(). |
|
Definition at line 687 of file ref_image.C. References ARRAY< T >::add_uniquely(), get_face(), and ARRAY< T >::num(). |
|
Definition at line 691 of file ref_image.H. References get_mesh(), and get_simplex(). Referenced by find_mesh(), and get_ctrl_mesh(). |
|
Definition at line 679 of file ref_image.H. References get_patch(), and get_simplex(). |
|
Definition at line 605 of file ref_image.H. References IDRefImage::find_near_simplex(), lookup(), VIEW::peek(), and update(). Referenced by get_ctrl_patch(), get_edge(), get_face(), get_mesh(), get_patch(), and get_vert(). |
|
Definition at line 722 of file ref_image.C. References get_face_bc(), and Bsimplex::mesh(). |
|
Definition at line 674 of file ref_image.H. References get_simplex(). |
|
Definition at line 45 of file gel.H. References FRAMEobs::_index. |
|
Definition at line 250 of file ref_image.H. References rgba_to_g(), and Array2d< GLuint >::val(). |
|
Definition at line 249 of file ref_image.H. References rgba_to_g(), and Array2d< GLuint >::val(). |
|
Definition at line 248 of file ref_image.H. References rgba_to_g(), and Array2d< GLuint >::val(). |
|
Definition at line 247 of file ref_image.H. References rgba_to_g(), and Array2d< GLuint >::val(). Referenced by debug_vis_ref_img(). |
|
Definition at line 267 of file ref_image.H. References rgba_to_grey(), and Array2d< GLuint >::val(). |
|
Definition at line 266 of file ref_image.H. References rgba_to_grey(), and Array2d< GLuint >::val(). |
|
Definition at line 265 of file ref_image.H. References rgba_to_grey(), and Array2d< GLuint >::val(). |
|
Definition at line 264 of file ref_image.H. References rgba_to_grey(), and Array2d< GLuint >::val(). |
|
Definition at line 274 of file ref_image.H. References rgba_to_grey_d(), and Array2d< GLuint >::val(). |
|
Definition at line 273 of file ref_image.H. References rgba_to_grey_d(), and Array2d< GLuint >::val(). |
|
Definition at line 272 of file ref_image.H. References rgba_to_grey_d(), and Array2d< GLuint >::val(). |
|
Definition at line 271 of file ref_image.H. References rgba_to_grey_d(), and Array2d< GLuint >::val(). |
|
Definition at line 47 of file ref_image.H. References CoordSystem2d::_height. |
|
Definition at line 803 of file ref_image.C. References BaseVisRefImage::_factory. Referenced by lookup(), and SetupGL::SetupGL(). |
|
Definition at line 522 of file ref_image.H. References IDRefImage::_instance. |
|
Definition at line 430 of file ref_image.H. References IDRefImage::intersect(). |
|
Definition at line 424 of file ref_image.H. References Bsimplex::get_face(), and IDRefImage::intersect_sim(). Referenced by Intersect(), IDRefImage::intersect(), toggle_crease(), and vis_intersect(). |
|
Definition at line 632 of file ref_image.H. References Intersect(). |
|
Definition at line 624 of file ref_image.H. References IDRefImage::intersect(), lookup(), VIEW::peek(), and update(). Referenced by Intersect(). |
|
Definition at line 415 of file ref_image.H. References Bface::find_intersect_sim(), Bsimplex::get_face(), and IDRefImage::simplex(). Referenced by IDRefImage::intersect(). |
|
Definition at line 475 of file ref_image.H. References IDRefImage::face(), Bface::find_intersect_sim(), and Bsimplex::on_face(). |
|
Definition at line 465 of file ref_image.H. References IDRefImage::is_patch_sil_edge(), and CoordSystem2d::ndc_to_pix(). |
|
Definition at line 458 of file ref_image.H. References IDRefImage::edge(), Bedge::is_sil(), Bedge::patch(), and CoordSystem2d::pix_in_range(). Referenced by IDRefImage::is_patch_sil_edge(), and IDRefImage::is_patch_sil_edge_near(). |
|
Definition at line 654 of file ref_image.C. References center(), check(), IDRefImage::is_patch_sil_edge(), j, and CoordSystem2d::ndc_to_pix(). |
|
Definition at line 630 of file ref_image.C. References center(), check(), j, CoordSystem2d::ndc_to_pix(), CoordSystem2d::pix_in_range(), and IDRefImage::simplex(). |
|
Definition at line 362 of file ref_image.H. References IDRefImage::key_to_rgba2(). Referenced by ColorIDStripCB::edgeCB(), ColorIDStripCB::faceCB(), and ColorIDStripCB::vertCB(). |
|
Definition at line 926 of file ref_image.C. References IDRefImage::_blue_bits, IDRefImage::_green_bits, IDRefImage::_nonstandard_bits, and IDRefImage::_red_bits. Referenced by IDRefImage::key_to_rgba(). |
|
Definition at line 105 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. Referenced by REFlock::REFlock(). |
|
Reimplemented from IDRefImage. Definition at line 588 of file ref_image.H. References BaseVisRefImage::_factory, init(), BaseVisRefImage::lookup(), and RefImage::view(). Referenced by debug_vis_ref_img(), get_simplex(), Intersect(), and toggle_crease(). |
|
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 925 of file bmesh.H. Referenced by BMESHobs_list::print_names(). |
|
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 debug(), IDRefImage::edge(), IDRefImage::face(), IDRefImage::simplex(), Array2d< GLuint >::val(), and IDRefImage::vert(). |
|
Definition at line 486 of file ref_image.H. References IDRefImage::face_patch(), CoordSystem2d::pix_in_range(), and IDRefImage::simplex(). |
|
Definition at line 810 of file ref_image.C. References _dirty, RefImage::_view, int(), min(), resize(), and round(). Referenced by debug_vis_ref_img(), and update(). |
|
Implements DISPobs. Definition at line 755 of file ref_image.H. References reset(). |
|
Implements CAMobs. Definition at line 752 of file ref_image.H. References reset(). |
|
Reimplemented from BMESHobs. Definition at line 748 of file ref_image.H. References reset(). |
|
Definition at line 903 of file bmesh.H. Referenced by BMESHobs_list::notify_delete(). |
|
Definition at line 361 of file gel.C. References DISPobs::_all_disp, DISPobs::_suspend_disp, CDISPobs_list, and DISPobs::disp_obs_list(). Referenced by DrawnList::add(), and DrawnList::rem(). |
|
Implements EXISTobs. Definition at line 758 of file ref_image.H. References reset(). |
|
Definition at line 52 of file gel_obs.H. References EXISTobs::_exist_obs, and EXISTobs::existobs_list(). |
|
|
|
|
|
Definition at line 900 of file bmesh.H. Referenced by BMESHobs_list::notify_merge(). |
|
Definition at line 901 of file bmesh.H. Referenced by BMESHobs_list::notify_split(). |
|
Definition at line 904 of file bmesh.H. Referenced by BMESHobs_list::notify_sub_delete(). |
|
Definition at line 902 of file bmesh.H. Referenced by BMESHobs_list::notify_subdiv_gen(). |
|
Definition at line 908 of file bmesh.H. Referenced by BMESHobs_list::notify_update_request(). |
|
Referenced by XFORMobs::notify_xform_obs(). |
|
Definition at line 761 of file ref_image.H. References reset(). |
|
Reimplemented from BMESHobs. Definition at line 749 of file ref_image.H. References reset(). |
|
Definition at line 499 of file geom.C. References XFORMobs::_every_xf, and XFORMobs::EVERY. |
|
Definition at line 480 of file geom.C. References XFORMobs::_all_xf, XFORMobs::notify_xform(), and XFORMobs::xform_obs_list(). Referenced by FilmTrans::down(), JOTxform::get(), FilmTrans::move(), and FilmTrans::up(). |
|
Definition at line 870 of file ref_image.C. References RefImage::_view, DISPobs::disp_obs(), EXISTobs::exist_obs(), BMESHobs::subscribe_all_mesh_notifications(), and XFORMobs::xform_obs(). Referenced by VisRefImage(). |
|
Definition at line 928 of file bmesh.H. References BMESHobs::bmesh_obs_list(). Referenced by BMESHobs::print_names(). |
|
Definition at line 59 of file ref.H. References REFcounter::_mutex, REFcounter::_u, and REF_ME. |
|
Definition at line 534 of file ref_image.H. References is_edge(), is_face(), and IDRefImage::patch(). |
|
Definition at line 404 of file ref_image.H. References IDRefImage::simplex(). Referenced by IDRefImage::face_patch(), and IDRefImage::patch(). |
|
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(). |
|
Definition at line 932 of file bmesh.H. References BMESHobs::observers(), and BMESHobs_list::print_names(). |
|
Definition at line 197 of file ref_image.H. References RefImage::_format, CoordSystem2d::_height, RefImage::_type, Array2d< GLuint >::_values, CoordSystem2d::_width, and glReadPixels(). |
|
Definition at line 71 of file ref_image.C. References Image::bpp(), build_rgba(), Image::data(), err_msg(), Image::height(), Image::load_file(), CoordSystem2d::max(), Array2d< GLuint >::resize(), Array2d< GLuint >::val(), and Image::width(). |
|
Definition at line 245 of file ref_image.H. References rgba_to_r(), and Array2d< GLuint >::val(). |
|
Definition at line 244 of file ref_image.H. References rgba_to_r(), and Array2d< GLuint >::val(). |
|
Definition at line 243 of file ref_image.H. References rgba_to_r(), and Array2d< GLuint >::val(). |
|
Definition at line 242 of file ref_image.H. References rgba_to_r(), and Array2d< GLuint >::val(). Referenced by debug_vis_ref_img(). |
|
Definition at line 734 of file ref_image.H. References _countup, and _dirty. Referenced by notify(), notify_change(), notify_exist(), notify_xform(), resize(), and VisRefImage(). |
|
Reimplemented from Array2d< GLuint >. Definition at line 739 of file ref_image.H. References reset(), and Array2d< GLuint >::resize(). Referenced by need_update(). |
|
Definition at line 370 of file ref_image.H. References IDRefImage::rgba_to_key2(). Referenced by debug(), and IDRefImage::simplex(). |
|
Definition at line 1000 of file ref_image.C. References IDRefImage::_alpha_bits, IDRefImage::_blue_bits, IDRefImage::_green_bits, IDRefImage::_nonstandard_bits, and IDRefImage::_red_bits. Referenced by IDRefImage::rgba_to_key(). |
|
Definition at line 479 of file ref_image.C. References CoordSystem2d::_half_min_dim, CoordSystem2d::_height, CoordSystem2d::_width, SimplexFilter::accept(), center(), mlib::Point2i::dist(), int(), CoordSystem2d::max(), min(), CoordSystem2d::ndc_to_pix(), VIEW::pix_to_ndc_scale(), and IDRefImage::simplex(). Referenced by IDRefImage::find_near_simplex(). |
|
Definition at line 222 of file ref_image.H. References RefImage::alpha(), Color::color_to_rgba(), and RefImage::set(). |
|
Definition at line 217 of file ref_image.H. References build_rgba(), and RefImage::set(). |
|
Definition at line 214 of file ref_image.H. References RefImage::set(). |
|
Definition at line 211 of file ref_image.H. References build_rgba(), and RefImage::set(). |
|
Definition at line 210 of file ref_image.H. References Array2d< GLuint >::val(). Referenced by RefImage::blend(), and RefImage::set(). |
|
Definition at line 521 of file ref_image.H. References IDRefImage::lookup(), and IDRefImage::set_instance(). |
|
Definition at line 520 of file ref_image.H. References IDRefImage::_instance. Referenced by IDRefImage::set_instance(). |
|
Definition at line 61 of file ref_image.H. References CoordSystem2d::_ndc_offset. |
|
Definition at line 44 of file gel.H. References FRAMEobs::_index. |
|
Definition at line 358 of file ref_image.C. References IDRefImage::_alpha_bits, IDRefImage::_blue_bits, IDRefImage::_green_bits, IDRefImage::_nonstandard_bits, IDRefImage::_red_bits, err_msg(), GL_MAX_TEXTURE_UNITS, GL_RENDERER, GL_VENDOR, GL_VERSION, glGetIntegerv(), and glGetString(). Referenced by IDRefImage::IDRefImage(), and BaseJOTapp::init(). |
|
Definition at line 387 of file ref_image.H. References CoordSystem2d::pix_to_uint(), and IDRefImage::simplex(). |
|
Definition at line 386 of file ref_image.H. References CoordSystem2d::ndc_to_uint(), and IDRefImage::simplex(). |
|
Definition at line 383 of file ref_image.H. References Bsimplex::lookup(), IDRefImage::rgba_to_key(), and Array2d< GLuint >::val(). Referenced by IDRefImage::edge(), IDRefImage::face(), IDRefImage::face_patch(), IDRefImage::find_near_simplex(), IDRefImage::intersect_sim(), IDRefImage::is_simplex_near(), IDRefImage::near_pix(), IDRefImage::patch(), IDRefImage::search(), IDRefImage::simplex(), IDRefImage::vert(), and vis_simplex(). |
|
Definition at line 887 of file bmesh.H. References BMESHobs::_all_observers, and ARRAY< T >::add_uniquely(). Referenced by observe(), and BufferRefImage::observe(). |
|
Definition at line 878 of file bmesh.H. References ARRAY< T >::add_uniquely(), and BMESHobs::bmesh_obs_list(). |
|
Definition at line 86 of file gel_obs.H. References DISPobs::_suspend_disp. |
|
Reimplemented from FRAMEobs. Definition at line 918 of file ref_image.C. |
|
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 115 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. |
|
Definition at line 111 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. Referenced by REFlock::~REFlock(). |
|
Definition at line 85 of file gel_obs.H. References DISPobs::_all_disp. Referenced by unobserve(), BufferRefImage::unobserve(), and DrawWidget::~DrawWidget(). |
|
Definition at line 83 of file gel_obs.H. References DISPobs::disp_obs_list(). |
|
Definition at line 40 of file geom_obs.H. References XFORMobs::_every_xf. |
|
Definition at line 59 of file gel_obs.H. References EXISTobs::existobs_list(). Referenced by unobserve(). |
|
Definition at line 41 of file geom_obs.H. References XFORMobs::xform_obs_list(). |
|
Definition at line 39 of file geom_obs.H. References XFORMobs::_all_xf. Referenced by unobserve(), and BufferRefImage::unobserve(). |
|
Definition at line 894 of file ref_image.C. References RefImage::_view, DISPobs::unobs_display(), EXISTobs::unobs_exist(), XFORMobs::unobs_xform(), and BMESHobs::unsubscribe_all_mesh_notifications(). Referenced by ~VisRefImage(). |
|
Definition at line 890 of file bmesh.H. References BMESHobs::_all_observers, and ARRAY< T >::rem(). Referenced by unobserve(), and BufferRefImage::unobserve(). |
|
Definition at line 881 of file bmesh.H. References BMESHobs::bmesh_obs_list(), and ARRAY< T >::rem(). |
|
Reimplemented from IDRefImage. Definition at line 579 of file ref_image.H. References _dirty, need_update(), and IDRefImage::update(). Referenced by get_simplex(), Intersect(), tick(), toggle_crease(), and vis_update(). |
|
Definition at line 136 of file ref_image.H. References Array2d< T >::val(). |
|
Definition at line 135 of file ref_image.H. References CoordSystem2d::pix_to_uint(), and Array2d< T >::val(). |
|
Definition at line 134 of file ref_image.H. References CoordSystem2d::ndc_to_uint(), and Array2d< T >::val(). |
|
Definition at line 133 of file ref_image.H. References Array2d< T >::_values. Referenced by RefImage::alpha(), RefImage::blue(), RefImage::color(), RefImage::copy_rgb(), debug(), RefImage::fill(), RefImage::find_val_in_box(), RefImage::green(), RefImage::grey(), RefImage::grey_d(), RefImage::read_file(), RefImage::red(), RefImage::set(), and IDRefImage::simplex(). |
|
Definition at line 407 of file ref_image.H. References CoordSystem2d::pix_to_uint(), and IDRefImage::vert(). |
|
Definition at line 401 of file ref_image.H. References CoordSystem2d::ndc_to_uint(), and IDRefImage::vert(). |
|
Definition at line 389 of file ref_image.H. References is_vert(), and IDRefImage::simplex(). Referenced by IDRefImage::vert(). |
|
Definition at line 190 of file ref_image.H. References RefImage::_view. Referenced by draw_objects(), IDRefImage::draw_objects(), RefImage::draw_objects(), AuxRefImage::draw_objects(), lookup(), and RefImage::update(). |
|
Implements BaseVisRefImage. Definition at line 707 of file ref_image.H. References IDRefImage::intersect(). |
|
Implements BaseVisRefImage. Definition at line 706 of file ref_image.H. References IDRefImage::simplex(). |
|
Implements BaseVisRefImage. Definition at line 705 of file ref_image.H. References update(). |
|
Definition at line 46 of file ref_image.H. References CoordSystem2d::_width. |
|
Definition at line 141 of file ref_image.C. References RefImage::_format, CoordSystem2d::_height, Array2d< GLuint >::_values, CoordSystem2d::_width, err_msg(), GL_RGB, GL_RGBA, and Image::write_png(). |
|
Definition at line 37 of file geom_obs.H. References XFORMobs::_all_xf. Referenced by DISTRIB::DISTRIB(), observe(), and BufferRefImage::observe(). |
|
Definition at line 36 of file geom_obs.H. References XFORMobs::xform_obs_list(). |
|
Definition at line 43 of file geom_obs.H. References XFORMobs::_hash_xf, HASH::add(), and HASH::find(). Referenced by XFORMobs::notify_xform_obs(), XFORMobs::unobs_xform(), and XFORMobs::xform_obs(). |
|
Definition at line 724 of file ref_image.H. |
|
|
Definition at line 550 of file ref_image.H. Referenced by IDRefImage::rgba_to_key2(), and IDRefImage::setup_bits(). |
|
Definition at line 549 of file ref_image.H. Referenced by IDRefImage::key_to_rgba2(), IDRefImage::rgba_to_key2(), and IDRefImage::setup_bits(). |
|
Definition at line 728 of file ref_image.H. |
|
|
|
Definition at line 727 of file ref_image.H. Referenced by force_dirty(), need_update(), reset(), tick(), and update(). |
|
Definition at line 46 of file gel_obs.H. Referenced by EXISTobs::existobs_list(), and EXISTobs::notify_exist_obs(). |
|
Definition at line 55 of file base_ref_image.H. Referenced by init(), lookup(), and BaseVisRefImage::lookup(). |
|
Definition at line 164 of file ref_image.H. Referenced by RefImage::draw_FB(), RefImage::read_FB(), IDRefImage::update(), RefImage::update(), BufferRefImage::update(), AuxRefImage::update(), and RefImage::write_file(). |
|
Definition at line 548 of file ref_image.H. Referenced by IDRefImage::key_to_rgba2(), IDRefImage::rgba_to_key2(), and IDRefImage::setup_bits(). |
|
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 58 of file base_ref_image.H. Referenced by BaseVisRefImage::lookup(). |
|
Reimplemented in BufferRefImage. Definition at line 936 of file bmesh.H. Referenced by BMESHobs::bmesh_obs_list(). |
|
Reimplemented from RefImage. Definition at line 545 of file ref_image.H. Referenced by IDRefImage::lookup(). |
|
|
Definition at line 37 of file gel.H. Referenced by FRAMEobs::getIndex(), and FRAMEobs::setIndex(). |
|
Definition at line 554 of file ref_image.H. Referenced by IDRefImage::instance(), and IDRefImage::set_instance(). |
|
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 551 of file ref_image.H. Referenced by IDRefImage::key_to_rgba2(), IDRefImage::rgba_to_key2(), and IDRefImage::setup_bits(). |
|
Definition at line 547 of file ref_image.H. Referenced by IDRefImage::key_to_rgba2(), IDRefImage::rgba_to_key2(), and IDRefImage::setup_bits(). |
|
Definition at line 166 of file ref_image.H. Referenced by RefImage::draw_objects(), IDRefImage::IDRefImage(), and RefImage2::RefImage2(). |
|
Definition at line 158 of file ref_image.H. |
|
Definition at line 165 of file ref_image.H. Referenced by RefImage::draw_FB(), RefImage::read_FB(), IDRefImage::update(), RefImage::update(), BufferRefImage::update(), and AuxRefImage::update(). |
|
Definition at line 139 of file ref_image.H. Referenced by RefImage::draw_FB(), RefImage::read_FB(), IDRefImage::update(), RefImage::update(), BufferRefImage::update(), AuxRefImage::update(), and RefImage::write_file(). |
|
Definition at line 157 of file ref_image.H. Referenced by need_update(), BufferRefImage::need_update(), BufferRefImage::notify_view(), observe(), BufferRefImage::observe(), unobserve(), BufferRefImage::unobserve(), BufferRefImage::update(), AuxRefImage::update(), and RefImage::view(). |
|