#include <ref_image.H>
Collaboration diagram for TexMemRefImage:
Public Member Functions | |
TexMemRefImage (CVIEWptr &v, RefImageClient::ref_img_t img_type=RefImageClient::REF_IMG_TEX_MEM) | |
virtual | ~TexMemRefImage () |
CVIEWptr & | view () const |
bool | resize (const Point2i &dims) |
void | update () |
void | read_FB () |
void | draw_FB () |
TEXTUREglptr | get_texture () const |
Static Public Member Functions | |
static TexMemRefImage * | lookup (CVIEWptr &v=VIEW::peek()) |
static TEXTUREglptr | lookup_texture (CVIEWptr &v=VIEW::peek()) |
static GLenum | lookup_tex_unit (CVIEWptr &v=VIEW::peek()) |
static void | activate_tex_unit (CVIEWptr &v=VIEW::peek()) |
Protected Member Functions | |
virtual void | draw_objects (CGELlist &) const |
Protected Attributes | |
VIEWptr | _view |
RefImageClient::ref_img_t | _ref_img_type |
TEXTUREglptr | _texture |
Static Protected Attributes | |
static HASH | _hash |
Definition at line 771 of file ref_image.H.
|
Definition at line 1064 of file ref_image.C. References _texture, GL_REPLACE, GL_TEXTURE0, and TexUnit::REF_IMG. Referenced by lookup(). |
|
Definition at line 786 of file ref_image.H. |
|
Definition at line 823 of file ref_image.H. References lookup_texture(). Referenced by GLSLPaperShader::activate_textures(). |
|
Definition at line 1243 of file ref_image.C. References _texture, GL_BLEND, GL_DEPTH_TEST, GL_ENABLE_BIT, GL_LIGHTING, GL_MODELVIEW, GL_PROJECTION, GL_QUADS, glBegin(), glColor4f(), glDisable(), glEnd(), glLoadIdentity(), glLoadMatrixd(), glMatrixMode(), glMultiTexCoord2f, glPopAttrib(), glPopMatrix(), glPushAttrib(), glPushMatrix(), glVertex2f(), and VIEW::peek(). |
|
Definition at line 1157 of file ref_image.C. References _ref_img_type, _view, ARRAY< T >::clear(), GL_VIEW::depth_compare(), GEOM::do_halo_ref(), RIC_list< T >::draw_ref_img(), GL_BLEND, GL_MODELVIEW, GL_ONE_MINUS_SRC_ALPHA, GL_PROJECTION, GL_SRC_ALPHA, glBlendFunc(), glEnable(), glLoadMatrixd(), glMatrixMode(), glPopMatrix(), glPushMatrix(), mlib::Mat4< M, P, V, L, Q >::matrix(), ARRAY< T >::num(), and ARRAY< T >::sort(). Referenced by update(). |
|
Definition at line 806 of file ref_image.H. References _texture. Referenced by HalftoneShaderEx::init_textures(), HalftoneShader::init_textures(), and lookup_texture(). |
|
Definition at line 1101 of file ref_image.C. References _hash, HASH::add(), err_msg(), HASH::find(), and TexMemRefImage(). Referenced by HalftoneShaderEx::init_textures(), HalftoneShader::init_textures(), and lookup_texture(). |
|
Definition at line 817 of file ref_image.H. References GL_TEXTURE0, lookup_texture(), and TexUnit::REF_IMG. Referenced by MSLDShader::set_uniform_variables(), GLSLHatching::set_uniform_variables(), DotsShader_EX::set_uniform_variables(), and DotsShader::set_uniform_variables(). |
|
Definition at line 811 of file ref_image.H. References get_texture(), and lookup(). Referenced by activate_tex_unit(), and lookup_tex_unit(). |
|
Definition at line 1214 of file ref_image.C. References _texture, _view, GL_BACK, GL_ENABLE_BIT, GL_RGBA, GL_TEXTURE_2D, glCopyTexImage2D(), glPopAttrib(), glPushAttrib(), glReadBuffer(), Image::height(), resize(), and Image::width(). Referenced by update(). |
|
Definition at line 1083 of file ref_image.C. References _texture, debug_tmri, Image::height(), and Image::width(). Referenced by read_FB(). |
|
Definition at line 1121 of file ref_image.C. References draw_objects(), GL_BACK, GL_COLOR_BUFFER_BIT, GL_COLOR_MATERIAL, GL_DEPTH_BUFFER_BIT, GL_DIFFUSE, GL_ENABLE_BIT, GL_FRONT_AND_BACK, GL_SMOOTH, glClear(), glClearColor(), glColorMaterial(), glDrawBuffer(), glEnable(), glPopAttrib(), glPushAttrib(), glReadBuffer(), glShadeModel(), VIEW::peek(), read_FB(), set_default_gl_state(), and view(). |
|
Definition at line 789 of file ref_image.H. References _view. Referenced by update(). |
|
Definition at line 834 of file ref_image.H. Referenced by lookup(). |
|
Definition at line 831 of file ref_image.H. Referenced by draw_objects(). |
|
Definition at line 832 of file ref_image.H. Referenced by draw_FB(), get_texture(), read_FB(), resize(), and TexMemRefImage(). |
|
Definition at line 830 of file ref_image.H. Referenced by draw_objects(), read_FB(), and view(). |