Basic Image AlgorithmS Library
2.8.0
|
OpenGL canvases with additinal event handling (JW) More...
#include <Gui/OpenGLCanvas.hh>
Public Member Functions | |
virtual void | Display () |
display call to be overridden by child classes More... | |
virtual void | DisplayCalls () |
virtual void | DisplayCameraView () |
virtual void | DisplayCameraViewExternalParams () |
virtual void | DisplayCameraViewInternalParams () |
virtual void | DisplayClear (const GLbitfield &mask=CLEAR_DEFAULT_MASK) |
clears buffers and resets virtual camera to identity More... | |
void | DisplayCoordCross (const float &size=1.0f, const float &linewidth=1.0f) |
virtual void | DisplayRenderMode () |
display default shade model, polygon mode, More... | |
void | DisplaySelectBuffer () |
useful for quadbuffered stereo, e.g. shutetr glasses More... | |
float | GetAspectRatio () const |
GetAspectRatio is X/Y. More... | |
unsigned long | GetFrameCount () const |
unsigned int | GetHeight () const |
virtual void | GetInfoGL (std::ostream &os=std::cout) |
return GL state info More... | |
wxFrame * | GetOwnerframe () |
float | GetPixelValueDepth (const wxPoint &pos2d) const |
BIAS::Vector3< float > | GetPixelValueRGB (const wxPoint &pos2d) |
BIAS::Vector4< float > | GetPixelValueRGBA (const wxPoint &pos2d) |
CameraViewController | GetViewController () const |
CameraViewController & | GetViewController () |
unsigned int | GetWidth () const |
virtual void | InitMembers () |
any constructor should call this function to initialize all data members (e.g. More... | |
virtual void | InitWithContext () |
init all things that need a context. More... | |
bool | IsContextAvailable () |
activates the current rendereing context if there is one and More... | |
virtual void | OnChar (wxKeyEvent &event) |
void | OnEraseBackground (wxEraseEvent &event) |
void | OnIdle (wxIdleEvent &event) |
void | OnMotion (wxMouseEvent &event) |
void | OnMouseDown (wxMouseEvent &event) |
void | OnMouseWheel (wxMouseEvent &event) |
void | OnPaint (wxPaintEvent &event) |
EVT handlers: ---------------------------------------—. More... | |
void | OnSize (wxSizeEvent &event) |
OpenGLCanvas (wxFrame *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=AsciiToWx("OpenGLCanvas"), int *attribList=NULL, const wxPalette &palette=wxNullPalette) | |
constructors: More... | |
OpenGLCanvas (wxFrame *parent, wxGLContext *sharedContext=NULL, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=AsciiToWx("OpenGLCanvas"), int *attribList=0, const wxPalette &palette=wxNullPalette) | |
constructor using a shared context More... | |
virtual std::ostream & | PrintHelp (std::ostream &os) |
pop up keyboard layout help. More... | |
virtual void | Reshape () |
change of size and aspect ratio. More... | |
void | ScreenShot (BIAS::ImageBase &dest, const bool &flipY=true, const GLenum &format=GL_RGB, const bool &force8Bit=false) |
void | ScreenShot (const std::string &filename, const bool &flipY=true, const GLenum &format=GL_RGB, const bool &force8Bit=false) |
void | ScreenShot () |
JW automatic screenshot to file with filename based on frame, instance etc. More... | |
void | SetFrameCount (const unsigned long &newVal) |
void | SetOwnerframe (wxFrame *ptr) |
void | SetStatusText (const wxString &text, const int c_field=0) |
let an OpenGL canvas use the status bar of the containing frame and cout as fallback (JW) More... | |
void | ShowFPS (const int &framecounter, const float &minUpdateIntervalSec, const unsigned int &minNewFrames, const unsigned int nField) |
shows FPS to status bar base don frame counter and last call to this function Measures and updates only, if two conditions ar eboth met: More... | |
void | ShowFPS () |
simple interface for the above More... | |
void | ShowValue (const wxPoint &pos) |
void | SwapBuffers () |
expands parents SwapBUffers by automatic framecount increase More... | |
void | ToggleFullScreen () |
BIAS::Vector3< float > | Unproject (const wxPoint &pos2d, double &d) |
computes 3D coordinate from 2D+Z by "unprojection" JW More... | |
virtual void | UpdateTime () |
sets the internal time param, by default based on realtime wall clock More... | |
virtual | ~OpenGLCanvas () |
destructor More... | |
Static Public Member Functions | |
static void | DisplaySampleScene () |
display soem very simple Gl calls to draw something at all More... | |
static bool | GetVSync () |
static void | SetVSync (const bool &trueForOn) |
vertical sync control on or off (VSYNC) JW More... | |
static void | StereoI_CaptureStereoImage (const int &format, const int &quality) |
static float | StereoI_GetConvergence () |
static void | StereoI_GetInfo (std::ostream &os=std::cout) |
query status information on current NVStereo rendering state JW More... | |
static float | StereoI_GetSeparation () |
static int | StereoI_GetStereoState () |
wrappers for StereoI interface More... | |
static int | StereoI_Init () |
interace to NVidias consumer Stereo NVStereo driver API. More... | |
static float | StereoI_SetConvergence (const float &val) |
static float | StereoI_SetSeparation (const float &val) |
static int | StereoI_SetStereoState (const int &val) |
static bool | ToggleIP (bool &value) |
helper toggling a bool value in place More... | |
static bool | ToggleVSync () |
try to toggle VSync setting. More... | |
Static Public Attributes | |
static bool | animationUpdateEnabled = OPENGLCANVASBASE_DEFAULT_animationUpdateEnabled |
static bool | idleRepaintEnabled = OPENGLCANVAS_DEFAULT_idleRepaintEnabled |
static bool | realtimeAnimation = OPENGLCANVAS_DEFAULT_realtimeAnimation |
static double | time = 0.0 |
Protected Attributes | |
GLenum | _polygonmodeGL |
unsigned long | framecount_ |
bool | InitWithContextDone_ |
unsigned int | instance_ |
BIAS::DrawTextGL * | p_font |
wxFrame * | p_ownerframe |
CameraViewController * | p_viewCtrl_ |
BIAS::RenderModeGL | rendermode |
Static Protected Attributes | |
static unsigned int | instancesTotalNo_ = 0 |
OpenGL canvases with additinal event handling (JW)
In addition to OpenGLCanvasbase "automatioc" event handling is integrated, e.g. -Display value under mouse in status bar, -internal storage of camera view, -navigation through mouse and keys And it is optionally adding -automatic repaint by Onidle function (like in glut) -automatic update of time for animations.
Definition at line 68 of file OpenGLCanvas.hh.
|
virtual |
destructor
Definition at line 46 of file OpenGLCanvas.cpp.
OpenGLCanvas::OpenGLCanvas | ( | wxFrame * | parent, |
wxWindowID | id = -1 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = 0 , |
||
const wxString & | name = AsciiToWx("OpenGLCanvas") , |
||
int * | attribList = NULL , |
||
const wxPalette & | palette = wxNullPalette |
||
) |
OpenGLCanvas::OpenGLCanvas | ( | wxFrame * | parent, |
wxGLContext * | sharedContext = NULL , |
||
wxWindowID | id = -1 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = 0 , |
||
const wxString & | name = AsciiToWx("OpenGLCanvas") , |
||
int * | attribList = 0 , |
||
const wxPalette & | palette = wxNullPalette |
||
) |
constructor using a shared context
Definition at line 70 of file OpenGLCanvas.cpp.
References InitMembers().
|
virtual |
display call to be overridden by child classes
Reimplemented from BIAS::OpenGLCanvasBase.
Definition at line 102 of file OpenGLCanvas.cpp.
References BIAS::OpenGLCanvasBase::Display(), and idleRepaintEnabled.
Referenced by OnIdle(), OnMotion(), OnMouseWheel(), Reshape(), and BIAS::ImageCanvasGLBase::Set().
|
virtualinherited |
begin your fancy GL calls
<<< end of your GL calls
Reimplemented in BIAS::ImageCanvasGLBase, and BIAS::SimpleGLCanvas.
Definition at line 340 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::DisplayClear(), and BIAS::OpenGLCanvasBase::DisplaySampleScene().
Referenced by BIAS::OpenGLCanvasBase::Display().
|
virtual |
Definition at line 112 of file OpenGLCanvas.cpp.
References DisplayCameraViewExternalParams(), and DisplayCameraViewInternalParams().
|
virtual |
Definition at line 124 of file OpenGLCanvas.cpp.
References BIAS::CameraViewController::DisplayGLExternal(), and GetViewController().
Referenced by DisplayCameraView().
|
virtual |
Definition at line 119 of file OpenGLCanvas.cpp.
References BIAS::CameraViewController::DisplayGLInternal(), and GetViewController().
Referenced by DisplayCameraView().
|
virtualinherited |
clears buffers and resets virtual camera to identity
Definition at line 407 of file OpenGLCanvasBase.cpp.
References BIAS::GeometryGL::DisplayClear().
Referenced by BIAS::OpenGLCanvasBase::DisplayCalls().
|
inherited |
Definition at line 427 of file OpenGLCanvasBase.cpp.
References BIAS::GeometryGL::DisplayCoordCross(), BIAS::GeometryGL::DisplayCoordCrossAxesLabel(), and BIAS::OpenGLCanvasBase::p_font.
|
virtualinherited |
display default shade model, polygon mode,
Definition at line 414 of file OpenGLCanvasBase.cpp.
References BIAS::GeometryGL::DisplayRenderMode(), and BIAS::OpenGLCanvasBase::rendermode.
Referenced by BIAS::OpenGLCanvasBase::Display().
|
staticinherited |
display soem very simple Gl calls to draw something at all
Definition at line 421 of file OpenGLCanvasBase.cpp.
References BIAS::GeometryGL::DisplaySceneExampleSimple().
Referenced by BIAS::OpenGLCanvasBase::DisplayCalls().
|
inherited |
useful for quadbuffered stereo, e.g. shutetr glasses
Definition at line 353 of file OpenGLCanvasBase.cpp.
References BIAS::RenderModeGL::drawbuffermode, BIAS::MONO, BIAS::OpenGLCanvasBase::rendermode, BIAS::STEREO_CONSUMER_NV, BIAS::STEREO_LEFT_RIGHT, BIAS::STEREO_QUADBUFFERED, and BIAS::STEREO_UNTOUCHED.
Referenced by BIAS::OpenGLCanvasBase::Display().
|
inherited |
GetAspectRatio is X/Y.
Definition at line 474 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::GetHeight(), and BIAS::OpenGLCanvasBase::GetWidth().
Referenced by Reshape().
|
inlineinherited |
Definition at line 301 of file OpenGLCanvasBase.hh.
|
inherited |
Definition at line 464 of file OpenGLCanvasBase.cpp.
Referenced by BIAS::OpenGLCanvasBase::GetAspectRatio(), BIAS::OpenGLCanvasBase::GetPixelValueDepth(), BIAS::OpenGLCanvasBase::GetPixelValueRGB(), BIAS::OpenGLCanvasBase::GetPixelValueRGBA(), OnMouseDown(), Reshape(), BIAS::OpenGLCanvasBase::Reshape(), and BIAS::OpenGLCanvasBase::ScreenShot().
|
virtual |
return GL state info
Reimplemented from BIAS::OpenGLCanvasBase.
Definition at line 224 of file OpenGLCanvas.cpp.
References BIAS::OpenGLCanvasBase::GetInfoGL(), GetViewController(), and BIAS::CameraViewController::Print().
|
inherited |
Definition at line 258 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::p_ownerframe.
|
inherited |
Definition at line 520 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::GetHeight().
Referenced by BIAS::OpenGLCanvasBase::ShowValue().
|
inherited |
Definition at line 481 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::GetHeight(), BIAS::OpenGLCanvasBase::IsContextAvailable(), and BIAS::Vector3< T >::Set().
|
inherited |
Definition at line 501 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::GetHeight(), BIAS::OpenGLCanvasBase::IsContextAvailable(), and BIAS::Vector4< T >::Set().
Referenced by BIAS::OpenGLCanvasBase::ShowValue().
CameraViewController OpenGLCanvas::GetViewController | ( | ) | const |
Definition at line 253 of file OpenGLCanvas.cpp.
References p_viewCtrl_.
Referenced by BIAS::ImageCanvasGLBase::DisplayCalls(), DisplayCameraViewExternalParams(), DisplayCameraViewInternalParams(), GetInfoGL(), OnMotion(), OnMouseDown(), OnMouseWheel(), and Reshape().
CameraViewController & OpenGLCanvas::GetViewController | ( | ) |
Definition at line 248 of file OpenGLCanvas.cpp.
References p_viewCtrl_.
|
staticinherited |
@return true if vertical sync is enable,
false for free running mode JW
Definition at line 1153 of file OpenGLCanvasBase.cpp.
References BIAS::SettingsGL::GetVSyncInterval().
Referenced by BIAS::OpenGLCanvasBase::InitWithContext(), BIAS::OpenGLCanvasBase::OnChar(), and BIAS::OpenGLCanvasBase::ToggleVSync().
|
inherited |
Definition at line 455 of file OpenGLCanvasBase.cpp.
Referenced by BIAS::OpenGLCanvasBase::GetAspectRatio(), OnMouseDown(), Reshape(), BIAS::OpenGLCanvasBase::Reshape(), and BIAS::OpenGLCanvasBase::ScreenShot().
|
virtual |
any constructor should call this function to initialize all data members (e.g.
pointers to NULL)
Reimplemented from BIAS::OpenGLCanvasBase.
Reimplemented in BIAS::ImageCanvasGLBase.
Definition at line 89 of file OpenGLCanvas.cpp.
References _polygonmodeGL, BIAS::OpenGLCanvasBase::InitMembers(), and p_viewCtrl_.
Referenced by BIAS::ImageCanvasGLBase::InitMembers(), and OpenGLCanvas().
|
virtualinherited |
init all things that need a context.
sets _InitWithContextDone
OK, we have a (valid) Gl Context run init with context once
Definition at line 143 of file OpenGLCanvasBase.cpp.
References BIAS::Singleton< GlutInitWrapper >::GetInstance(), BIAS::OpenGLCanvasBase::GetVSync(), BIAS::GlutInitWrapper::Init(), BIAS::DrawTextGL::InitFont(), BIAS::OpenGLCanvasBase::InitWithContextDone_, BIAS::OpenGLCanvasBase::IsContextAvailable(), BIAS::OpenGLCanvasBase::p_font, BIAS::OpenGLCanvasBase::rendermode, BIAS::OpenGLCanvasBase::SetVSync(), and BIAS::RenderModeGL::vsync.
Referenced by BIAS::OpenGLCanvasBase::Display().
|
inherited |
activates the current rendereing context if there is one and
Definition at line 224 of file OpenGLCanvasBase.cpp.
Referenced by BIAS::OpenGLCanvasBase::Display(), BIAS::OpenGLCanvasBase::GetPixelValueRGB(), BIAS::OpenGLCanvasBase::GetPixelValueRGBA(), and BIAS::OpenGLCanvasBase::InitWithContext().
|
virtualinherited |
Definition at line 963 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::animationUpdateEnabled, BIAS::AsciiToWx(), BIAS::RenderModeGL::cullface, BIAS::OpenGLCanvasBase::Display(), BIAS::RenderModeGL::enable_cullface, BIAS::OpenGLCanvasBase::GetInfoGL(), BIAS::OpenGLCanvasBase::GetVSync(), BIAS::RenderModeGL::pointsize, BIAS::RenderModeGL::polygonmodeBACK, BIAS::RenderModeGL::polygonmodeFRONT, BIAS::OpenGLCanvasBase::PrintHelp(), BIAS::OpenGLCanvasBase::rendermode, BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::OpenGLCanvasBase::SetStatusText(), BIAS::RenderModeGL::shademodel, BIAS::OpenGLCanvasBase::StereoI_GetInfo(), BIAS::OpenGLCanvasBase::ToggleFullScreen(), and BIAS::OpenGLCanvasBase::ToggleVSync().
|
inherited |
Definition at line 1138 of file OpenGLCanvasBase.cpp.
void OpenGLCanvas::OnIdle | ( | wxIdleEvent & | event | ) |
Definition at line 186 of file OpenGLCanvas.cpp.
References Display(), idleRepaintEnabled, BIAS::OpenGLCanvasBase::ShowFPS(), and UpdateTime().
void OpenGLCanvas::OnMotion | ( | wxMouseEvent & | event | ) |
Definition at line 131 of file OpenGLCanvas.cpp.
References Display(), GetViewController(), idleRepaintEnabled, BIAS::CameraViewController::MotionTranslation(), BIAS::CameraViewController::MotionTranslationCoplanar(), BIAS::CameraViewController::MotionTranslationForward(), and BIAS::OpenGLCanvasBase::ShowValue().
void OpenGLCanvas::OnMouseDown | ( | wxMouseEvent & | event | ) |
Definition at line 155 of file OpenGLCanvas.cpp.
References BIAS::OpenGLCanvasBase::GetHeight(), GetViewController(), BIAS::OpenGLCanvasBase::GetWidth(), BIAS::CameraViewController::SetSize(), and BIAS::CameraViewController::SetStartPos().
void OpenGLCanvas::OnMouseWheel | ( | wxMouseEvent & | event | ) |
Definition at line 164 of file OpenGLCanvas.cpp.
References Display(), GetViewController(), idleRepaintEnabled, and BIAS::CameraViewController::MoveToCenter().
|
inherited |
EVT handlers: ---------------------------------------—.
Definition at line 920 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::Display().
|
inherited |
Definition at line 929 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::Reshape().
|
virtualinherited |
pop up keyboard layout help.
Must be virtual to let child class add their bindings
Definition at line 935 of file OpenGLCanvasBase.cpp.
Referenced by BIAS::OpenGLCanvasBase::OnChar().
|
virtual |
change of size and aspect ratio.
Reimplemented from BIAS::OpenGLCanvasBase.
Definition at line 232 of file OpenGLCanvas.cpp.
References BIAS::CameraViewFrustum::AdaptWidth(), Display(), BIAS::CameraViewInternals::frustum, BIAS::OpenGLCanvasBase::GetAspectRatio(), BIAS::OpenGLCanvasBase::GetHeight(), BIAS::CameraViewController::GetInternals(), GetViewController(), BIAS::OpenGLCanvasBase::GetWidth(), BIAS::CameraViewport::height, BIAS::CameraViewInternals::viewport, and BIAS::CameraViewport::width.
|
inherited |
Definition at line 599 of file OpenGLCanvasBase.cpp.
References BIAS::ImageBase::Flip(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetDepth(), BIAS::OpenGLCanvasBase::GetHeight(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageData(), BIAS::OpenGLCanvasBase::GetWidth(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::Release(), BIAS::ImageBase::ST_float, and BIAS::ImageBase::ST_unsignedchar.
|
inherited |
Definition at line 573 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::GetHeight(), BIAS::OpenGLCanvasBase::GetWidth(), BIAS::ImageIO::Save(), and BIAS::OpenGLCanvasBase::ScreenShot().
|
inherited |
JW automatic screenshot to file with filename based on frame, instance etc.
JW
Definition at line 687 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::framecount_, BIAS::OpenGLCanvasBase::instance_, and BIAS::FileHandling::LeadingZeroString().
Referenced by BIAS::OpenGLCanvasBase::OnChar(), and BIAS::OpenGLCanvasBase::ScreenShot().
|
inlineinherited |
Definition at line 302 of file OpenGLCanvasBase.hh.
|
inherited |
Definition at line 264 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::p_ownerframe.
|
inherited |
let an OpenGL canvas use the status bar of the containing frame and cout as fallback (JW)
Definition at line 747 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::p_ownerframe.
Referenced by BIAS::OpenGLCanvasBase::OnChar(), BIAS::OpenGLCanvasBase::ShowFPS(), and BIAS::OpenGLCanvasBase::ShowValue().
|
staticinherited |
vertical sync control on or off (VSYNC) JW
Definition at line 1144 of file OpenGLCanvasBase.cpp.
References BIAS::SettingsGL::SetVSyncInterval().
Referenced by BIAS::OpenGLCanvasBase::InitWithContext(), and BIAS::OpenGLCanvasBase::ToggleVSync().
|
inherited |
shows FPS to status bar base don frame counter and last call to this function
Measures and updates only, if two conditions ar eboth met:
Definition at line 826 of file OpenGLCanvasBase.cpp.
References BIAS::AsciiToWx(), and BIAS::OpenGLCanvasBase::SetStatusText().
|
inherited |
simple interface for the above
Definition at line 906 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::framecount_.
Referenced by OnIdle().
|
inherited |
Definition at line 786 of file OpenGLCanvasBase.cpp.
References BIAS::AsciiToWx(), BIAS::OpenGLCanvasBase::GetPixelValueDepth(), BIAS::OpenGLCanvasBase::GetPixelValueRGBA(), BIAS::OpenGLCanvasBase::SetStatusText(), and BIAS::OpenGLCanvasBase::Unproject().
Referenced by OnMotion().
|
staticinherited |
Definition at line 1303 of file OpenGLCanvasBase.cpp.
|
staticinherited |
Definition at line 1287 of file OpenGLCanvasBase.cpp.
|
staticinherited |
query status information on current NVStereo rendering state JW
Definition at line 1222 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::StereoI_Init().
Referenced by BIAS::OpenGLCanvasBase::GetInfoGL(), BIAS::OpenGLCanvasBase::OnChar(), and BIAS::OpenGLCanvasBase::StereoI_Init().
|
staticinherited |
Definition at line 1271 of file OpenGLCanvasBase.cpp.
|
staticinherited |
wrappers for StereoI interface
Definition at line 1255 of file OpenGLCanvasBase.cpp.
|
staticinherited |
interace to NVidias consumer Stereo NVStereo driver API.
to enable/disbale stereo and control convergence and separation for stereo rendering
Definition at line 1181 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::StereoI_GetInfo().
Referenced by BIAS::OpenGLCanvasBase::StereoI_GetInfo().
|
staticinherited |
Definition at line 1295 of file OpenGLCanvasBase.cpp.
|
staticinherited |
Definition at line 1279 of file OpenGLCanvasBase.cpp.
|
staticinherited |
Definition at line 1263 of file OpenGLCanvasBase.cpp.
|
inherited |
expands parents SwapBUffers by automatic framecount increase
Definition at line 288 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::framecount_.
Referenced by BIAS::OpenGLCanvasBase::Display().
|
inherited |
Definition at line 882 of file OpenGLCanvasBase.cpp.
References BIAS::RenderModeGL::drawbuffermode, BIAS::OpenGLCanvasBase::p_ownerframe, BIAS::OpenGLCanvasBase::rendermode, and BIAS::STEREO_CONSUMER_NV.
Referenced by BIAS::OpenGLCanvasBase::OnChar().
|
staticinherited |
helper toggling a bool value in place
Definition at line 1173 of file OpenGLCanvasBase.cpp.
|
staticinherited |
try to toggle VSync setting.
Definition at line 1159 of file OpenGLCanvasBase.cpp.
References BIAS::OpenGLCanvasBase::GetVSync(), and BIAS::OpenGLCanvasBase::SetVSync().
Referenced by BIAS::OpenGLCanvasBase::OnChar().
|
inherited |
computes 3D coordinate from 2D+Z by "unprojection" JW
Definition at line 536 of file OpenGLCanvasBase.cpp.
Referenced by BIAS::OpenGLCanvasBase::ShowValue().
|
virtual |
sets the internal time param, by default based on realtime wall clock
Reimplemented from BIAS::OpenGLCanvasBase.
Definition at line 207 of file OpenGLCanvas.cpp.
References BIAS::OpenGLCanvasBase::animationUpdateEnabled, realtimeAnimation, BIAS::OpenGLCanvasBase::time, and BIAS::OpenGLCanvasBase::UpdateTime().
Referenced by OnIdle().
|
protected |
Definition at line 143 of file OpenGLCanvas.hh.
Referenced by InitMembers().
|
staticinherited |
Definition at line 354 of file OpenGLCanvasBase.hh.
Referenced by BIAS::OpenGLCanvasBase::InitMembers(), BIAS::OpenGLCanvasBase::OnChar(), and UpdateTime().
|
protectedinherited |
Definition at line 359 of file OpenGLCanvasBase.hh.
Referenced by BIAS::OpenGLCanvasBase::InitMembers(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::OpenGLCanvasBase::ShowFPS(), and BIAS::OpenGLCanvasBase::SwapBuffers().
|
static |
Definition at line 128 of file OpenGLCanvas.hh.
Referenced by Display(), OnIdle(), OnMotion(), and OnMouseWheel().
|
protectedinherited |
Definition at line 365 of file OpenGLCanvasBase.hh.
Referenced by BIAS::OpenGLCanvasBase::Display(), BIAS::OpenGLCanvasBase::InitMembers(), and BIAS::OpenGLCanvasBase::InitWithContext().
|
protectedinherited |
Definition at line 367 of file OpenGLCanvasBase.hh.
Referenced by BIAS::OpenGLCanvasBase::GetInfoGL(), BIAS::OpenGLCanvasBase::InitMembers(), and BIAS::OpenGLCanvasBase::ScreenShot().
|
staticprotectedinherited |
Definition at line 368 of file OpenGLCanvasBase.hh.
Referenced by BIAS::OpenGLCanvasBase::InitMembers().
|
protectedinherited |
Definition at line 376 of file OpenGLCanvasBase.hh.
Referenced by BIAS::OpenGLCanvasBase::DisplayCoordCross(), and BIAS::OpenGLCanvasBase::InitWithContext().
|
protectedinherited |
Definition at line 362 of file OpenGLCanvasBase.hh.
Referenced by BIAS::OpenGLCanvasBase::GetOwnerframe(), BIAS::OpenGLCanvasBase::OpenGLCanvasBase(), BIAS::OpenGLCanvasBase::SetOwnerframe(), BIAS::OpenGLCanvasBase::SetStatusText(), and BIAS::OpenGLCanvasBase::ToggleFullScreen().
|
protected |
Definition at line 139 of file OpenGLCanvas.hh.
Referenced by GetViewController(), and InitMembers().
|
static |
Definition at line 130 of file OpenGLCanvas.hh.
Referenced by UpdateTime().
|
protectedinherited |
Definition at line 371 of file OpenGLCanvasBase.hh.
Referenced by BIAS::OpenGLCanvasBase::DisplayRenderMode(), BIAS::OpenGLCanvasBase::DisplaySelectBuffer(), BIAS::OpenGLCanvasBase::InitWithContext(), BIAS::OpenGLCanvasBase::OnChar(), and BIAS::OpenGLCanvasBase::ToggleFullScreen().
|
staticinherited |
Definition at line 352 of file OpenGLCanvasBase.hh.
Referenced by UpdateTime().