#include <OpenGLPbufferDisplayDevice.h>
Inheritance diagram for OpenGLPbufferDisplayDevice:
Public Methods | |
OpenGLPbufferDisplayDevice () | |
int | init (int argc, char **argv, VMDApp *app, int *size, int *loc=NULL) |
do actual window construction here. Return true if the window was successfully created; false if not. More... | |
virtual | ~OpenGLPbufferDisplayDevice (void) |
virtual int | supports_gui () |
Does this display device support GUI's? The default stub display does not. More... | |
virtual int | x (void) |
virtual int | y (void) |
absolute position of cursor from lower-left corner. More... | |
virtual int | shift_state (void) |
virtual int | spaceball (int *, int *, int *, int *, int *, int *, int *) |
return the shift state (ORed enums). More... | |
virtual void | set_cursor (int) |
virtual void | queue_events (void) |
virtual int | read_event (long &retdev, long &retval) |
virtual void | update (int do_update=TRUE) |
finish up after drawing. More... | |
virtual void | reshape (void) |
refresh device after change. More... | |
virtual unsigned char * | readpixels_rgb3u (int &x, int &y) |
virtual routine for capturing the screen to a packed RGB array. More... | |
virtual unsigned char * | readpixels_rgba4u (int &x, int &y) |
virtual routine for capturing the screen to a packed RGBA array. More... | |
Protected Methods | |
virtual void | do_resize_window (int, int) |
virtual void | do_reposition_window (int, int) |
Protected Attributes | |
int | have_window |
Definition at line 86 of file OpenGLPbufferDisplayDevice.h.
|
|
Definition at line 604 of file OpenGLPbufferDisplayDevice.C. References OpenGLRenderer::free_opengl_ctx. |
|
Reimplemented from DisplayDevice. Definition at line 112 of file OpenGLPbufferDisplayDevice.h. |
|
Do device-specific resizing or positioning of window Reimplemented from DisplayDevice. Definition at line 994 of file OpenGLPbufferDisplayDevice.C. References DisplayDevice::_needRedraw, reshape, DisplayDevice::xSize, and DisplayDevice::ySize. |
|
do actual window construction here. Return true if the window was successfully created; false if not.
Reimplemented from DisplayDevice. Definition at line 541 of file OpenGLPbufferDisplayDevice.C. References OpenGLRenderer::aa_on, DisplayDevice::aaAvailable, OpenGLRenderer::clear, OpenGLRenderer::cueing_on, DisplayDevice::cueingAvailable, OpenGLRenderer::culling_off, DisplayDevice::cullingAvailable, OpenGLRenderer::ext, OpenGLExtensions::hasmultisample, have_window, DisplayDevice::lineStyle, DisplayDevice::lineWidth, DisplayDevice::name, OpenGLRenderer::normal, reshape, OpenGLRenderer::set_line_style, OpenGLRenderer::set_line_width, OpenGLRenderer::set_sphere_mode, OpenGLRenderer::set_sphere_res, size, DisplayDevice::sphereMode, DisplayDevice::sphereRes, update, and DisplayDevice::vmdapp. |
|
queue the standard events (need only be called once ... but this is not done automatically by the window because it may not be necessary or even wanted) Reimplemented from DisplayDevice. Definition at line 155 of file OpenGLPbufferDisplayDevice.h. |
|
read the next event ... returns an event type (one of the above ones), and a value. Returns success, and sets arguments. NOTE: THIS SHOULD NOT BLOCK ... IT SHOUULD RETURN FALSE IF NO EVENT TO READ. Reimplemented from DisplayDevice. Definition at line 159 of file OpenGLPbufferDisplayDevice.h. References DisplayDevice::WIN_NOEVENT. |
|
virtual routine for capturing the screen to a packed RGB array.
Reimplemented from DisplayDevice. Definition at line 1041 of file OpenGLPbufferDisplayDevice.C. References NULL, DisplayDevice::xSize, and DisplayDevice::ySize. |
|
virtual routine for capturing the screen to a packed RGBA array.
Reimplemented from DisplayDevice. Definition at line 1059 of file OpenGLPbufferDisplayDevice.C. References NULL, DisplayDevice::xSize, and DisplayDevice::ySize. Referenced by update. |
|
refresh device after change.
Reimplemented from DisplayDevice. Definition at line 1017 of file OpenGLPbufferDisplayDevice.C. References OpenGLRenderer::enable_stencil_stereo, DisplayDevice::inStereo, OPENGL_STEREO_ABOVEBELOW, OPENGL_STEREO_SIDE, OPENGL_STEREO_STENCIL_CHECKERBOARD, OPENGL_STEREO_STENCIL_COLUMNS, OPENGL_STEREO_STENCIL_ROWS, DisplayDevice::set_screen_pos, DisplayDevice::xSize, and DisplayDevice::ySize. Referenced by do_resize_window, and init. |
|
set the Nth cursor shape as the current one. If no arg given, the default shape (n=0) is used. Reimplemented from DisplayDevice. Definition at line 146 of file OpenGLPbufferDisplayDevice.h. |
|
Reimplemented from DisplayDevice. Definition at line 137 of file OpenGLPbufferDisplayDevice.h. |
|
return the shift state (ORed enums). get the current state of the Spaceball if one is available returns rx ry rz, tx ty tz, buttons Reimplemented from DisplayDevice. Definition at line 141 of file OpenGLPbufferDisplayDevice.h. |
|
Does this display device support GUI's? The default stub display does not.
Reimplemented from OpenGLRenderer. Definition at line 127 of file OpenGLPbufferDisplayDevice.h. |
|
finish up after drawing.
Reimplemented from DisplayDevice. Definition at line 1079 of file OpenGLPbufferDisplayDevice.C. References VideoStream::check_event, NULL, readpixels_rgba4u, VideoStream::srv_connected, VMDApp::uivs, VideoStream::video_frame_pending, and DisplayDevice::vmdapp. Referenced by init. |
|
Reimplemented from DisplayDevice. Definition at line 133 of file OpenGLPbufferDisplayDevice.h. |
|
absolute position of cursor from lower-left corner.
Reimplemented from DisplayDevice. Definition at line 134 of file OpenGLPbufferDisplayDevice.h. |
|
Definition at line 101 of file OpenGLPbufferDisplayDevice.h. Referenced by init, and OpenGLPbufferDisplayDevice. |