|
| void | initialize () override |
| | Called to initialize the Object.
|
| |
| void | makeGLContextCurrent () override |
| | Asks the Window to make its GL context current.
|
| |
| gmCore::size2 | getSize () |
| | Returns the size of the drawable canvas of this window, in pixels.
|
| |
| void | close () override |
| | Close window.
|
| |
| void | setUseQuadBuffers (bool on) |
| | Sets if quad buffers should be requested for the GL context.
|
| |
| void | setGLMajor (int v) |
| | Sets the major version to be requested for the GL context in this Window.
|
| |
| void | setGLMinor (int v) |
| | Sets the minor version to be requested for the GL context in this Window.
|
| |
| void | setGLProfile (std::string s) |
| | Sets the profile to be requested for the GL context in this Window.
|
| |
| void | setContext (std::shared_ptr< gmCore::SdlContext > ctx) |
| | The SDL context.
|
| |
| void | processEvents () override |
| | Triggers the windows to process its incoming events.
|
| |
| bool | isOpen () override |
| | Returns true as long as the window is open.
|
| |
| void | swap () override |
| | Finalizes the rendering and swaps the render buffers to show the newly rendered material.
|
| |
| void | traverse (Visitor *visitor) override |
| | Propagates the specified visitor.
|
| |
| void | renderFullPipeline (ViewSettings settings) override |
| | Dispatches specified renders, both method argument and class members, to the views in this window.
|
| |
| void | traverse (Visitor *visitor) override |
| | Propagates the specified visitor.
|
| |
| void | addView (std::shared_ptr< View > view) |
| | Adds a view to the window.
|
| |
| virtual void | setFullscreen (bool on) |
| | Activates or deactivates fullscreen mode.
|
| |
| virtual void | setDisplay (size_t N) |
| | Set on which display the window should be shown.
|
| |
| virtual void | setSize (gmCore::size2 s) |
| | Sets the size of the drawable canvas of this window, in pixels.
|
| |
| virtual void | setPosition (gmCore::int2 p) |
| | Sets the position of the window.
|
| |
| virtual void | setTitle (std::string t) |
| | Sets the title of the windows.
|
| |
| virtual void | setBackgroundColor (gmCore::float4 c) |
| | Set the background color of the window.
|
| |
| virtual bool | handleEvent (event *) |
| | Internal events handler, called from processEvents().
|
| |
| void | addEventHandler (std::function< bool(const event *)> fun, void *tag) |
| | Registers an event handler associated with the specified tag.
|
| |
| void | removeEventHandler (void *tag) |
| | Removes the event handler associnated with the specified tag.
|
| |
| virtual void | sync () |
| | Calls glFinish on the GL context.
|
| |
| void | addNode (std::shared_ptr< Node > node) |
| | Adds a scenegraph to the view.
|
| |
| void | setViewpoint (std::shared_ptr< Viewpoint > viewpoint) |
| | Sets the viewpoint to use in the views rendered by this ViewBase.
|
| |
| void | addViewpoint (std::shared_ptr< Viewpoint > viewpoint) |
| | Adds a viewpoint to use in the views rendered by this ViewBase.
|
| |
| | Object () |
| | Initializes internal data.
|
| |
| virtual | ~Object () |
| | Cleaning up internal data.
|
| |
| virtual void | accept (Visitor *visitor) |
| | Calls the visitors apply method with this as argument.
|
| |
| virtual std::string | getDefaultKey () |
| | Returns the default key for the Object when automatically instantiated in a Configuration, i.e.
|
| |
| bool | isInitialized () |
| | Returns true if the Object is initialized.
|
| |
An SDL window implementation.