Basic Image AlgorithmS Library
2.8.0
|
Context implementation for wxWidgets. More...
#include <GLviewer/ContextWX.hh>
Public Member Functions | |
void | AppendScene (SceneBase *scene, bool push_front=false) |
attach scenes to render here More... | |
void | AppendView (View *view) |
Append a view to the context. More... | |
void | CenterViewport (bool center=true) |
center the viewport More... | |
void | ClearScenes () |
Delete the attached scenes. More... | |
ContextWX (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxT("GLCanvas"), int *attribList=defaultAttribs, const wxPalette &palette=wxNullPalette) | |
virtual void | DeactivateTimer () |
deactivate timer More... | |
void | DeleteBackgroundImageScene () |
Delete the background image scene. More... | |
void | DeleteCamera () |
Delete the camera. More... | |
void | DeleteControler () |
void | DeleteController () |
void | DeleteSceneAt (unsigned int index) |
removes scene with the given index in the vector of scenes More... | |
void | DeleteScenes () |
Delete the attached scenes. More... | |
void | EnableStencilUsage (bool enable) |
Enable the useage of stencil buffer. More... | |
int | FindWorkingDisplayConfiguration () |
const GLProjectionParametersInterface * | GetCamera () |
get the camera More... | |
virtual int | GetDepthMap (BIAS::Image< float > &Image, const float invalid=0.0, bool lock=true) |
brief Get the currently displayed depth image Set lock to false if no context lock should be used (i.e. More... | |
const GLProjectionParametersInterface * | GetGLProjectionParametersInterface () |
get the camera parameters More... | |
virtual int | GetGreyImage (BIAS::Image< unsigned char > &Image, bool lock=true) |
brief Get the currently displayed image as unsigned char grey image Set lock to false if no context lock should be used (i.e. More... | |
virtual int | GetImage (BIAS::Image< unsigned char > &Image, bool lock=true) |
brief Get the currently displayed image as unsigned char color image. More... | |
virtual int | GetMetricZMap (BIAS::Image< float > &Image, const float invalid=0.0, bool lock=true) |
brief Get the currently displayed zbuffer image in metric (real) values Set lock to false if no context lock should be used (i.e. More... | |
SceneBase * | GetSceneAt (unsigned int index) |
returns scene with the given index in the vector of scenes More... | |
bool | GetSceneCenter (BIAS::Vector3< double > ¢er, BIAS::Vector3< double > &radius) |
Returns the center of all bounding boxes of appended scenes and the radius which include all scenes. More... | |
int | GetSceneCount () |
Get the number of attached scenes. More... | |
const std::vector< SceneBase * > & | GetScenes () const |
return a vector with pointers to all attached scenes More... | |
virtual bool | GetSelectionMode () |
Get the selectinmode. More... | |
virtual int | GetZBuffer (BIAS::Image< float > &Image, bool lock=true) |
brief Get the currently displayed zbuffer image (values 0-1) * Set lock to false if no context lock should be used (i.e. More... | |
void | GlobalBoundingBoxSwitch (bool theswitch) |
switches rendering of bounding boxes for all scenes More... | |
virtual void | InitializationComplete () |
Delay rendering until this method has been called. More... | |
void | InsertSceneAt (SceneBase *scene, unsigned int index) |
Inserts or deletes a scene at the specified position in std::vector<SceneBase*> scenes_. More... | |
int | LockContextSwitch () |
virtual void | MakeGLContextCurrent () |
try to make this OpenGl context current More... | |
void | PrintGLStatus () |
prints to current status of the OpenGL context More... | |
virtual void | Redisplay () |
Demands a rendering from the Context;. More... | |
int | ReleaseContextSwitch () |
void | RemoveScene (SceneBase *scene, bool noWarning=false) |
removes scene with the given pointer from the vector of scenes More... | |
virtual int | Render () |
Simple rendering routine. More... | |
void | SetAutoClipMinZNear (double znear) |
sets minimum znear for autoclipping if autoclpiing is enabled the z-near and z-far plane are computed using the boudingspheres of the scenes. More... | |
void | SetAutoClipping (bool on) |
Turn AutoClipping on, now the near and far clipping plane is automatically derived and set. More... | |
bool | SetBackfaceCulling (bool cull=true) |
En-/Disable backface culling. More... | |
void | SetBackgroundImageScene (SceneBGImage *backgroundImageScene) |
Deactivate background image rendering pass by passing NULL here, or deactivating scene itself. More... | |
bool | SetBlending (bool blend=true) |
En-/Disable blending. More... | |
void | SetClearColor (const BIAS::Vector4< float > &cc) |
set the opengl clear color for color buffer More... | |
void | SetGLProjectionParametersInterface (GLProjectionParametersInterface *newCamera) |
set the camera parameters More... | |
virtual void | SetSelectionMode (bool selectionmode) |
Enable or disable selection mode. More... | |
virtual void | SetTimer (unsigned int interval) |
activate timer with intervall in ms More... | |
void | AppendAdditionalListener (ControlInterface *listener) |
additional control listeners can be attached, or removed here More... | |
void | ClearAdditionalListeners () |
void | RemoveAdditionalListener (ControlInterface &listener) |
void | SetControl (BIAS::ControlInterface *newControl) |
Control is implemented the following way: cout<<"F1"<<endl; All input is passed to control_ first, if this is not handling the input, the information is passed to all scenes_. More... | |
void | DeleteControl () |
delete the current controller More... | |
bool | LeftMouseDoubleClicked (int x, int y, int m) |
bool | LeftMouseSingleClicked (int x, int y) |
bool | LeftMouseDown (int x, int y) |
bool | LeftMouseUp (int x, int y) |
bool | LeftMouseMoved (int x1, int x2, int y1, int y2) |
bool | RightMouseSingleClicked (int x, int y) |
bool | RightMouseDoubleClicked (int x, int y) |
bool | RightMouseMoved (int x1, int x2, int y1, int y2) |
bool | RightMouseDown (int x, int y) |
bool | RightMouseUp (int x, int y) |
bool | MiddleMouseMoved (int x1, int x2, int y1, int y2) |
bool | MiddleMouseDown (int x, int y) |
bool | MiddleMouseUp (int x, int y) |
bool | LeftAndRightMouseMoved (int x1, int x2, int y1, int y2) |
bool | MouseLeftWindow () |
bool | SpecialKeyPressed (int key) |
bool | SpecialKeyUp (int key) |
bool | StandardKeyPressed (unsigned char, int, int) |
bool | StandardKeyUp (unsigned char, int, int) |
bool | TimerExpired () |
Always informs both camera and scenes! More... | |
bool | WindowReshape (int width, int height) |
bool | MouseWheelUsed (double stepsize) |
bool | MouseMoved (int x, int y) |
Static Public Attributes | |
static int | defaultAttribs [] |
Protected Member Functions | |
void | Init_ () |
called once when rendering starts More... | |
virtual void | OnPaint (wxPaintEvent &event) |
Protected Attributes | |
std::vector< ControlInterface * > | additionalListeners_ |
Listening for special keys only. More... | |
bool | AutoClipping_ |
double | AutoMinZNear_ |
SceneBGImage * | backgroundImageScene_ |
bool | blendingAllowed_ |
bool | bSelectionMode_ |
GLProjectionParametersInterface * | camera_ |
bool | centerViewport_ |
BIAS::Vector4< float > | ClearColor_ |
ControlInterface * | control_ |
bool | culling_ |
bool | initialized_ |
std::vector< SceneBase * > | scenes_ |
unsigned int | TimerInterval_ |
bool | UseStencil_ |
Context implementation for wxWidgets.
Definition at line 31 of file ContextWX.hh.
ContextWX::ContextWX | ( | wxWindow * | parent, |
wxWindowID | id = -1 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = 0 , |
||
const wxString & | name = wxT("GLCanvas") , |
||
int * | attribList = defaultAttribs , |
||
const wxPalette & | palette = wxNullPalette |
||
) |
Definition at line 52 of file ContextWX.cpp.
|
inlineinherited |
additional control listeners can be attached, or removed here
Definition at line 124 of file RenderContextBase.hh.
|
inherited |
attach scenes to render here
Definition at line 332 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::camera_, BIAS::RenderContextBase::scenes_, and BIAS::SceneBase::SetGLProjectionParametersInterface().
|
inherited |
Append a view to the context.
view | [in]: the view to append |
Definition at line 949 of file RenderContextBase.cpp.
|
inherited |
center the viewport
Definition at line 893 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::centerViewport_.
|
inlineinherited |
Definition at line 126 of file RenderContextBase.hh.
|
inherited |
Delete the attached scenes.
Definition at line 420 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::scenes_.
|
virtual |
|
inherited |
Delete the background image scene.
Definition at line 379 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::backgroundImageScene_, and BIAS::RenderContextBase::SetBackgroundImageScene().
|
inlineinherited |
Delete the camera.
Definition at line 192 of file RenderContextBase.hh.
|
inlineinherited |
delete the current controller
Definition at line 148 of file RenderContextBase.hh.
|
inlineinherited |
Definition at line 110 of file RenderContextBase.hh.
|
inlineinherited |
Definition at line 111 of file RenderContextBase.hh.
|
inherited |
removes scene with the given index in the vector of scenes
Definition at line 387 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::scenes_.
|
inherited |
Delete the attached scenes.
Definition at line 406 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::scenes_.
|
inherited |
Enable the useage of stencil buffer.
Definition at line 955 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::UseStencil_.
int ContextWX::FindWorkingDisplayConfiguration | ( | ) |
Definition at line 100 of file ContextWX.cpp.
|
inlineinherited |
get the camera
Definition at line 185 of file RenderContextBase.hh.
|
virtualinherited |
brief Get the currently displayed depth image Set lock to false if no context lock should be used (i.e.
if called from within an already context locked environment*
invalid[in],: | depth value which is set as invalid (default = 0.0) |
Reimplemented in BIAS::ContextPBuffer.
Definition at line 103 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::camera_, BIAS::GLProjectionParametersInterface::GetDepthMap(), BIAS::RenderContextBase::LockContextSwitch(), and BIAS::RenderContextBase::ReleaseContextSwitch().
|
inlineinherited |
get the camera parameters
Definition at line 199 of file RenderContextBase.hh.
|
virtualinherited |
brief Get the currently displayed image as unsigned char grey image Set lock to false if no context lock should be used (i.e.
if called from within an already context locked environment
Definition at line 90 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::camera_, BIAS::GLProjectionParametersInterface::GetGreyImage(), BIAS::RenderContextBase::LockContextSwitch(), and BIAS::RenderContextBase::ReleaseContextSwitch().
|
virtualinherited |
brief Get the currently displayed image as unsigned char color image.
Set lock to false if no context lock should be used (i.e. if called from within an already context locked environment
Reimplemented in BIAS::ContextPBuffer.
Definition at line 77 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::camera_, BIAS::GLProjectionParametersInterface::GetImage(), BIAS::RenderContextBase::LockContextSwitch(), and BIAS::RenderContextBase::ReleaseContextSwitch().
|
virtualinherited |
brief Get the currently displayed zbuffer image in metric (real) values Set lock to false if no context lock should be used (i.e.
if called from within an already context locked environment.
invalid[in],: | z value which is set as invalid (default = 0.0)* |
Reimplemented in BIAS::ContextPBuffer.
Definition at line 133 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::camera_, BIAS::GLProjectionParametersInterface::GetMetricZMap(), BIAS::RenderContextBase::LockContextSwitch(), and BIAS::RenderContextBase::ReleaseContextSwitch().
|
inherited |
returns scene with the given index in the vector of scenes
Definition at line 414 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::scenes_.
|
inherited |
Returns the center of all bounding boxes of appended scenes and the radius which include all scenes.
Return true iff at least one scene with a bounding box was found, else false
Definition at line 438 of file RenderContextBase.cpp.
References BIAS::Vector3< T >::Length().
|
inherited |
Get the number of attached scenes.
Definition at line 327 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::scenes_.
|
inlineinherited |
return a vector with pointers to all attached scenes
Definition at line 115 of file RenderContextBase.hh.
|
inlinevirtualinherited |
Get the selectinmode.
Definition at line 260 of file RenderContextBase.hh.
|
virtualinherited |
brief Get the currently displayed zbuffer image (values 0-1) * Set lock to false if no context lock should be used (i.e.
if called from within an already context locked environment
Definition at line 118 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::camera_, BIAS::GLProjectionParametersInterface::GetZBuffer(), BIAS::RenderContextBase::LockContextSwitch(), and BIAS::RenderContextBase::ReleaseContextSwitch().
|
inlineinherited |
switches rendering of bounding boxes for all scenes
Definition at line 245 of file RenderContextBase.hh.
|
protectedinherited |
called once when rendering starts
Definition at line 148 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::blendingAllowed_, BIAS::RenderContextBase::culling_, BIAS::RenderContextBase::initialized_, BIAS::RenderContextBase::SetBackfaceCulling(), and BIAS::RenderContextBase::SetBlending().
Referenced by BIAS::RenderContextBase::Render().
|
inlinevirtual |
Delay rendering until this method has been called.
Definition at line 60 of file ContextWX.hh.
|
inherited |
Inserts or deletes a scene at the specified position in std::vector<SceneBase*> scenes_.
Definition at line 358 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::scenes_.
|
inherited |
Definition at line 791 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, BIAS::ControlInterface::LeftAndRightMouseMoved(), and BIAS::RenderContextBase::scenes_.
Referenced by BIAS::MouseMotionFunc_().
|
inherited |
Definition at line 582 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::bSelectionMode_, BIAS::RenderContextBase::camera_, BIAS::RenderContextBase::control_, BIAS::GLProjectionParametersInterface::GetViewportCoordinates(), BIAS::ControlInterface::LeftMouseDoubleClicked(), BIAS::RenderContextBase::scenes_, and BIAS::GLProjectionParametersInterface::UnProject().
Referenced by BIAS::MouseButtonFunc_().
|
inherited |
Definition at line 551 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::LeftMouseDown().
Referenced by BIAS::MouseButtonFunc_().
|
inherited |
Definition at line 647 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::LeftMouseMoved().
Referenced by BIAS::MouseMotionFunc_().
|
inherited |
Definition at line 614 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::LeftMouseSingleClicked().
|
inherited |
Definition at line 565 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::LeftMouseUp().
Referenced by BIAS::MouseButtonFunc_().
|
inherited |
Definition at line 38 of file RenderContextBase.cpp.
References BIAS::MutexSingleton::Lock(), and BIAS::RenderContextBase::MakeGLContextCurrent().
Referenced by BIAS::RenderContextBase::GetDepthMap(), BIAS::RenderContextBase::GetGreyImage(), BIAS::RenderContextBase::GetImage(), BIAS::RenderContextBase::GetMetricZMap(), BIAS::RenderContextBase::GetZBuffer(), BIAS::RenderContextBase::Render(), and BIAS::RenderContextBase::WindowReshape().
|
virtual |
try to make this OpenGl context current
Implements BIAS::RenderContextBase.
Definition at line 393 of file ContextWX.cpp.
|
inherited |
Definition at line 742 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::MiddleMouseDown().
|
inherited |
Definition at line 725 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, BIAS::ControlInterface::MiddleMouseMoved(), and BIAS::RenderContextBase::scenes_.
Referenced by BIAS::MouseMotionFunc_().
|
inherited |
Definition at line 756 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::MiddleMouseUp().
|
inherited |
Definition at line 711 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::MouseLeftWindow().
|
inherited |
Definition at line 773 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::MouseMoved().
Referenced by BIAS::MouseMotionFunc_(), and BIAS::MousePassiveMotionFunc_().
|
inherited |
Definition at line 504 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::MouseWheelUsed().
|
protectedvirtual |
Definition at line 113 of file ContextWX.cpp.
References BIAS::Singleton< GlewInitWrapper >::GetInstance(), BIAS::GlewInitWrapper::Init(), initialized_, and BIAS::RenderContextBase::Render().
|
inherited |
prints to current status of the OpenGL context
Definition at line 52 of file RenderContextBase.cpp.
|
inlinevirtual |
Demands a rendering from the Context;.
Implements BIAS::RenderContextBase.
Definition at line 55 of file ContextWX.hh.
|
inherited |
Definition at line 45 of file RenderContextBase.cpp.
References BIAS::MutexSingleton::Unlock().
Referenced by BIAS::RenderContextBase::GetDepthMap(), BIAS::RenderContextBase::GetGreyImage(), BIAS::RenderContextBase::GetImage(), BIAS::RenderContextBase::GetMetricZMap(), BIAS::RenderContextBase::GetZBuffer(), BIAS::RenderContextBase::Render(), and BIAS::RenderContextBase::WindowReshape().
|
inherited |
Definition at line 426 of file RenderContextBase.cpp.
|
inherited |
removes scene with the given pointer from the vector of scenes
Definition at line 343 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::scenes_.
|
virtualinherited |
Simple rendering routine.
Assumes that all viewport settings are good and renders scene.
Reimplemented in BIAS::ContextPBuffer.
Definition at line 189 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::AutoClipping_, BIAS::RenderContextBase::AutoMinZNear_, BIAS::RenderContextBase::backgroundImageScene_, BIAS::RenderContextBase::camera_, BIAS::RenderContextBase::ClearColor_, BIAS::GLProjectionParametersInterface::Draw(), BIAS::ProjectionParametersBase::GetC(), BIAS::GLProjectionParametersInterface::GetMyselfAsProjectionParametersBase(), BIAS::RenderContextBase::Init_(), BIAS::RenderContextBase::initialized_, BIAS::Vector3< T >::Length(), BIAS::RenderContextBase::LockContextSwitch(), BIAS::RenderContextBase::ReleaseContextSwitch(), BIAS::RenderContextBase::scenes_, BIAS::GLProjectionParametersInterface::SetFarClippingPlane(), BIAS::GLProjectionParametersInterface::SetNearClippingPlane(), and BIAS::RenderContextBase::UseStencil_.
Referenced by OnPaint(), and BIAS::Render_().
|
inherited |
Definition at line 536 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::RightMouseDoubleClicked().
Referenced by BIAS::MouseButtonFunc_().
|
inherited |
Definition at line 681 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::RightMouseDown().
|
inherited |
Definition at line 663 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, BIAS::ControlInterface::RightMouseMoved(), and BIAS::RenderContextBase::scenes_.
Referenced by BIAS::MouseMotionFunc_().
|
inherited |
Definition at line 630 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::RightMouseSingleClicked().
|
inherited |
Definition at line 695 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::RightMouseUp().
|
inlineinherited |
sets minimum znear for autoclipping if autoclpiing is enabled the z-near and z-far plane are computed using the boudingspheres of the scenes.
SetAutoClipMinZNear defines the minimal used znear value.
Definition at line 214 of file RenderContextBase.hh.
|
inlineinherited |
Turn AutoClipping on, now the near and far clipping plane is automatically derived and set.
Definition at line 208 of file RenderContextBase.hh.
|
inherited |
En-/Disable backface culling.
Definition at line 179 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::culling_.
Referenced by BIAS::RenderContextBase::Init_().
|
inherited |
Deactivate background image rendering pass by passing NULL here, or deactivating scene itself.
First choice will speed up rendering more (if noticeable anyway).
Definition at line 518 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::backgroundImageScene_, and BIAS::RenderContextBase::SetClearColor().
Referenced by BIAS::RenderContextBase::DeleteBackgroundImageScene().
|
inherited |
En-/Disable blending.
Definition at line 165 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::blendingAllowed_.
Referenced by BIAS::RenderContextBase::Init_().
|
inlineinherited |
set the opengl clear color for color buffer
cc[in],: | clear color, clamped to range [0..1] |
Definition at line 227 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::SetBackgroundImageScene().
|
inherited |
Control is implemented the following way: cout<<"F1"<<endl; All input is passed to control_ first, if this is not handling the input, the information is passed to all scenes_.
One can think of extending this to different behaviour models, like not passing anything to scenes or always passing input to scenes. Distingushing between the scenes (exluding scene of information) must be handled on scene side.Set the controller.
newControl[in],: | Pointer to a ControlInterface such as TrackballControl, FlyControl, etc. |
Definition at line 526 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::camera_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::SetGLProjectionParametersInterface().
|
inherited |
set the camera parameters
newCamera[in],: | the new camera projection parameters, can be of type GLProjection of any from GLProjectionParametersBase derived class. |
Definition at line 488 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::camera_, BIAS::RenderContextBase::ClearColor_, BIAS::RenderContextBase::control_, BIAS::RenderContextBase::scenes_, BIAS::GLProjectionParametersInterface::SetClearColor(), and BIAS::ControlInterface::SetGLProjectionParametersInterface().
|
inlinevirtualinherited |
Enable or disable selection mode.
In selection mode the interception point with a scene is calculated and SelectObjectAt() is called on the scene when double clicked.
Definition at line 257 of file RenderContextBase.hh.
|
virtual |
activate timer with intervall in ms
Implements BIAS::RenderContextBase.
Definition at line 375 of file ContextWX.cpp.
References BIAS::RenderContextBase::TimerInterval_.
|
inherited |
Definition at line 809 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::SpecialKeyPressed().
Referenced by BIAS::SpecialKeyFunc_().
|
inherited |
Definition at line 826 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::SpecialKeyUp().
Referenced by BIAS::SpecialKeyUpFunc_().
|
inherited |
Definition at line 845 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::StandardKeyPressed().
Referenced by BIAS::StandardKeyFunc_().
|
inherited |
Definition at line 861 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::StandardKeyUp().
Referenced by BIAS::StandardKeyUpFunc_().
|
inherited |
Always informs both camera and scenes!
Definition at line 878 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::additionalListeners_, BIAS::RenderContextBase::control_, and BIAS::ControlInterface::TimerExpired().
Referenced by BIAS::WhenIdle_().
|
inherited |
Definition at line 898 of file RenderContextBase.cpp.
References BIAS::RenderContextBase::centerViewport_, BIAS::RenderContextBase::control_, BIAS::RenderContextBase::LockContextSwitch(), BIAS::RenderContextBase::ReleaseContextSwitch(), and BIAS::ControlInterface::WindowReshape().
Referenced by BIAS::Reshape_().
|
protectedinherited |
Listening for special keys only.
Definition at line 274 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::LeftAndRightMouseMoved(), BIAS::RenderContextBase::LeftMouseDoubleClicked(), BIAS::RenderContextBase::LeftMouseDown(), BIAS::RenderContextBase::LeftMouseMoved(), BIAS::RenderContextBase::LeftMouseSingleClicked(), BIAS::RenderContextBase::LeftMouseUp(), BIAS::RenderContextBase::MiddleMouseDown(), BIAS::RenderContextBase::MiddleMouseMoved(), BIAS::RenderContextBase::MiddleMouseUp(), BIAS::RenderContextBase::MouseLeftWindow(), BIAS::RenderContextBase::MouseMoved(), BIAS::RenderContextBase::MouseWheelUsed(), BIAS::RenderContextBase::Render(), BIAS::RenderContextBase::RightMouseDoubleClicked(), BIAS::RenderContextBase::RightMouseDown(), BIAS::RenderContextBase::RightMouseMoved(), BIAS::RenderContextBase::RightMouseSingleClicked(), BIAS::RenderContextBase::RightMouseUp(), BIAS::RenderContextBase::SpecialKeyPressed(), BIAS::RenderContextBase::SpecialKeyUp(), BIAS::RenderContextBase::StandardKeyPressed(), BIAS::RenderContextBase::StandardKeyUp(), and BIAS::RenderContextBase::TimerExpired().
|
protectedinherited |
Definition at line 282 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::Render(), and BIAS::RenderContextBase::RenderContextBase().
|
protectedinherited |
Definition at line 284 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::Render(), and BIAS::RenderContextBase::RenderContextBase().
|
protectedinherited |
Definition at line 268 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::DeleteBackgroundImageScene(), BIAS::RenderContextBase::Render(), BIAS::RenderContextBase::RenderContextBase(), and BIAS::RenderContextBase::SetBackgroundImageScene().
|
protectedinherited |
Definition at line 278 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::Init_(), BIAS::RenderContextBase::RenderContextBase(), and BIAS::RenderContextBase::SetBlending().
|
protectedinherited |
Definition at line 283 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::LeftMouseDoubleClicked(), and BIAS::RenderContextBase::RenderContextBase().
|
protectedinherited |
Definition at line 270 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::AppendScene(), BIAS::RenderContextBase::GetDepthMap(), BIAS::RenderContextBase::GetGreyImage(), BIAS::RenderContextBase::GetImage(), BIAS::RenderContextBase::GetMetricZMap(), BIAS::RenderContextBase::GetZBuffer(), BIAS::RenderContextBase::LeftMouseDoubleClicked(), BIAS::RenderContextBase::Render(), BIAS::RenderContextBase::RenderContextBase(), BIAS::RenderContextBase::SetControl(), and BIAS::RenderContextBase::SetGLProjectionParametersInterface().
|
protectedinherited |
Definition at line 280 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::CenterViewport(), and BIAS::RenderContextBase::WindowReshape().
|
protectedinherited |
Definition at line 271 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::Render(), and BIAS::RenderContextBase::SetGLProjectionParametersInterface().
|
protectedinherited |
Definition at line 269 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::LeftAndRightMouseMoved(), BIAS::RenderContextBase::LeftMouseDoubleClicked(), BIAS::RenderContextBase::LeftMouseDown(), BIAS::RenderContextBase::LeftMouseMoved(), BIAS::RenderContextBase::LeftMouseSingleClicked(), BIAS::RenderContextBase::LeftMouseUp(), BIAS::RenderContextBase::MiddleMouseDown(), BIAS::RenderContextBase::MiddleMouseMoved(), BIAS::RenderContextBase::MiddleMouseUp(), BIAS::RenderContextBase::MouseLeftWindow(), BIAS::MouseMotionFunc_(), BIAS::RenderContextBase::MouseMoved(), BIAS::MousePassiveMotionFunc_(), BIAS::RenderContextBase::MouseWheelUsed(), BIAS::RenderContextBase::RenderContextBase(), BIAS::RenderContextBase::RightMouseDoubleClicked(), BIAS::RenderContextBase::RightMouseDown(), BIAS::RenderContextBase::RightMouseMoved(), BIAS::RenderContextBase::RightMouseSingleClicked(), BIAS::RenderContextBase::RightMouseUp(), BIAS::RenderContextBase::SetControl(), BIAS::RenderContextBase::SetGLProjectionParametersInterface(), BIAS::RenderContextBase::SpecialKeyPressed(), BIAS::RenderContextBase::SpecialKeyUp(), BIAS::RenderContextBase::StandardKeyPressed(), BIAS::RenderContextBase::StandardKeyUp(), BIAS::RenderContextBase::TimerExpired(), and BIAS::RenderContextBase::WindowReshape().
|
protectedinherited |
Definition at line 279 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::Init_(), BIAS::RenderContextBase::RenderContextBase(), and BIAS::RenderContextBase::SetBackfaceCulling().
|
static |
Definition at line 35 of file ContextWX.hh.
|
protected |
Definition at line 68 of file ContextWX.hh.
Referenced by OnPaint().
|
protectedinherited |
Definition at line 267 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::AppendScene(), BIAS::RenderContextBase::ClearScenes(), BIAS::RenderContextBase::DeleteSceneAt(), BIAS::RenderContextBase::DeleteScenes(), BIAS::RenderContextBase::GetSceneAt(), BIAS::RenderContextBase::GetSceneCount(), BIAS::RenderContextBase::InsertSceneAt(), BIAS::RenderContextBase::LeftAndRightMouseMoved(), BIAS::RenderContextBase::LeftMouseDoubleClicked(), BIAS::RenderContextBase::MiddleMouseMoved(), BIAS::RenderContextBase::RemoveScene(), BIAS::RenderContextBase::Render(), BIAS::RenderContextBase::RightMouseMoved(), and BIAS::RenderContextBase::SetGLProjectionParametersInterface().
|
protectedinherited |
Definition at line 276 of file RenderContextBase.hh.
Referenced by SetTimer().
|
protectedinherited |
Definition at line 281 of file RenderContextBase.hh.
Referenced by BIAS::RenderContextBase::EnableStencilUsage(), BIAS::RenderContextBase::Render(), and BIAS::RenderContextBase::RenderContextBase().