Inheritance diagram for LineDrawingGLSLMode:
Public Member Functions | |
LineDrawingGLSLMode () | |
~LineDrawingGLSLMode () | |
virtual void | setup_for_drawing_outside_dl (const Patch *patch) |
Setup the OpenGL state for rendering in this mode. This method will be called each time the style is drawn. | |
virtual void | setup_for_drawing_inside_dl (const Patch *patch) |
Setup the OpenGL state for rendering in this mode. This method will be called once inside a display list. | |
virtual void | after_drawing_outside_dl (const Patch *patch) |
Perform any operations that should happen after drawing is complete. This method will be called each time the style is drawn. | |
virtual GLStripCB * | get_new_strip_cb () const |
Get a newly allocated object of the GLStripCB class used by this mode. | |
virtual void | after_drawing_inside_dl (const Patch *patch) |
Perform any operations that should happen after drawing is complete. This method will be called once inside a display list. | |
Private Member Functions | |
LineDrawingGLSLMode (const LineDrawingGLSLMode &other) | |
LineDrawingGLSLMode & | operator= (const LineDrawingGLSLMode &rhs) |
Private Attributes | |
GLint | contours_on_uniform_loc |
GLint | sugcontours_on_uniform_loc |
GLint | scthresh_uniform_loc |
GLint | feature_size_uniform_loc |
GLint | eye_pos_uniform_loc |
GLint | width_uniform_loc |
GLint | pdir1_attrib_loc |
GLint | pdir2_attrib_loc |
GLint | k1_attrib_loc |
GLint | k2_attrib_loc |
GLint | dcurv_tensor_attrib_loc |
GLhandleARB | vshader_handle |
GLhandleARB | fshader_handle |
GLhandleARB | prog_handle |
Classes | |
class | StripCB |
Handles callbacks for drawing triangle strips for the "Line Drawing" rendering style. More... |
Definition at line 677 of file line_drawing.C.
|
|
Definition at line 833 of file line_drawing.C. References fshader_handle, glDeleteObjectARB, prog_handle, and vshader_handle. |
|
|
|
Perform any operations that should happen after drawing is complete. This method will be called once inside a display list.
Definition at line 67 of file rendering_mode.H. Referenced by RenderingModeSingleton< RenderingModeSelectionPolicy >::after_drawing_inside_dl(). |
|
Perform any operations that should happen after drawing is complete. This method will be called each time the style is drawn.
Reimplemented from RenderingMode. Definition at line 893 of file line_drawing.C. References glUseProgramObjectARB. |
|
Get a newly allocated object of the GLStripCB class used by this mode.
Implements RenderingMode. Definition at line 711 of file line_drawing.C. |
|
|
|
Setup the OpenGL state for rendering in this mode. This method will be called once inside a display list.
Reimplemented from RenderingMode. Definition at line 876 of file line_drawing.C. References BMESH::avg_len(), feature_size_uniform_loc, glUniform1fARB, glUseProgramObjectARB, Patch::mesh(), prog_handle, and width_uniform_loc. |
|
Setup the OpenGL state for rendering in this mode. This method will be called each time the style is drawn.
Reimplemented from RenderingMode. Definition at line 847 of file line_drawing.C. References contours_on_uniform_loc, VIEW::eye(), eye_pos_uniform_loc, LineDrawingTexture::get_draw_contours(), LineDrawingTexture::get_draw_sugcontours(), LineDrawingTexture::get_sugcontour_thresh(), glUniform1fARB, glUniform1iARB, glUniform3fARB, glUseProgramObjectARB, prog_handle, scthresh_uniform_loc, and sugcontours_on_uniform_loc. |
|
Definition at line 719 of file line_drawing.C. Referenced by LineDrawingGLSLMode(), and setup_for_drawing_outside_dl(). |
|
Definition at line 728 of file line_drawing.C. Referenced by LineDrawingGLSLMode::StripCB::faceCB(), and LineDrawingGLSLMode(). |
|
Definition at line 723 of file line_drawing.C. Referenced by LineDrawingGLSLMode(), and setup_for_drawing_outside_dl(). |
|
Definition at line 722 of file line_drawing.C. Referenced by LineDrawingGLSLMode(), and setup_for_drawing_inside_dl(). |
|
Definition at line 732 of file line_drawing.C. Referenced by LineDrawingGLSLMode(), and ~LineDrawingGLSLMode(). |
|
Definition at line 727 of file line_drawing.C. Referenced by LineDrawingGLSLMode::StripCB::faceCB(), and LineDrawingGLSLMode(). |
|
Definition at line 727 of file line_drawing.C. Referenced by LineDrawingGLSLMode::StripCB::faceCB(), and LineDrawingGLSLMode(). |
|
Definition at line 726 of file line_drawing.C. Referenced by LineDrawingGLSLMode::StripCB::faceCB(), and LineDrawingGLSLMode(). |
|
Definition at line 726 of file line_drawing.C. Referenced by LineDrawingGLSLMode::StripCB::faceCB(), and LineDrawingGLSLMode(). |
|
Definition at line 732 of file line_drawing.C. Referenced by LineDrawingGLSLMode(), setup_for_drawing_inside_dl(), setup_for_drawing_outside_dl(), and ~LineDrawingGLSLMode(). |
|
Definition at line 721 of file line_drawing.C. Referenced by LineDrawingGLSLMode(), and setup_for_drawing_outside_dl(). |
|
Definition at line 720 of file line_drawing.C. Referenced by LineDrawingGLSLMode(), and setup_for_drawing_outside_dl(). |
|
Definition at line 732 of file line_drawing.C. Referenced by LineDrawingGLSLMode(), and ~LineDrawingGLSLMode(). |
|
Definition at line 724 of file line_drawing.C. Referenced by LineDrawingGLSLMode(), and setup_for_drawing_inside_dl(). |