![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
| virtual void | activate () override |
| virtual ContextID | activeContext () const override |
| CanvasGLFW (const std::string &title="", uvec2 dimensions=uvec2(128)) | |
| virtual ContextID | contextId () const override |
| virtual std::unique_ptr< Canvas > | createHiddenCanvas () override |
| virtual size2_t | getCanvasDimensions () const override |
| ivec2 | getFramebufferSize () const |
| ivec2 | getWindowPosition () const |
| ivec2 | getWindowSize () const |
| virtual void | glSwapBuffers () override |
| virtual void | releaseContext () override |
| void | setOnTop (bool) |
| void | setVisible (bool visible) |
| void | setWindowPosition (ivec2) |
| void | setWindowSize (ivec2) |
| void | setWindowTitle (const std::string &windowTitle) |
| virtual void | update () override |
| Public Member Functions inherited from inviwo::GLFWWindowHandler | |
| Canvas::ContextID | getContextId () const |
| GLFWWindowHandler (Canvas *canvas, const std::string &title, uvec2 dimensions) | |
| Public Member Functions inherited from inviwo::CanvasGL | |
| double | getDepthValueAtCoord (ivec2 canvasCoordinate) const |
| Retrieve depth value in normalized device coordinates at screen coordinate. | |
| double | getDepthValueAtNormalizedCoord (dvec2 normalizedScreenCoordinate) const |
| virtual size2_t | getImageDimensions () const |
| virtual void | render (std::shared_ptr< const Image > image, LayerType layerType=LayerType::Color, size_t idx=0) override |
| Public Member Functions inherited from inviwo::Canvas | |
| void | setEventPropagator (EventPropagator *propagator) |
Static Public Member Functions | |
| static int | getVisibleWindowCount () |
| static ivec2 | movePointOntoDesktop (ivec2 pos, ivec2 size) |
| Static Public Member Functions inherited from inviwo::GLFWWindowHandler | |
| static GLFWwindow * | createWindow (const std::string &title, uvec2 dimensions) |
| static void | provideExternalContext (GLFWwindow *sharedContext) |
| static GLFWwindow * | sharedContext () |
| Static Public Member Functions inherited from inviwo::CanvasGL | |
| static void | defaultGLState () |
Public Attributes | |
| std::function< void(ivec2)> | onFramebufferSizeChange |
| std::function< void(ivec2)> | onPositionChange |
| std::function< void(bool)> | onVisibilityChange |
| std::function< void(ivec2)> | onWindowSizeChange |
| Public Attributes inherited from inviwo::GLFWWindowHandler | |
| GLFWwindow * | glWindow_ |
Protected Member Functions | |
| void | setFullScreen (bool fullscreen) |
| Protected Member Functions inherited from inviwo::CanvasGL | |
| void | drawSquare () |
| bool | ready () |
| void | renderLayer () |
| void | renderNoise () |
| void | renderTexture (int) |
| void | setupDebug () |
Static Protected Member Functions | |
| static CanvasGLFW * | getCanvasGLFW (GLFWwindow *) |
Friends | |
| class | CanvasProcessorWidgetGLFW |
Additional Inherited Members | |
| Public Types inherited from inviwo::Canvas | |
| using | ContextID = const void* |
| Protected Attributes inherited from inviwo::CanvasGL | |
| std::weak_ptr< const Image > | image_ |
| size_t | layerIdx_ = 0 |
| LayerType | layerType_ = LayerType::Color |
| Shader * | noiseShader_ = nullptr |
| non-owning reference | |
| bool | ready_ = false |
| std::unique_ptr< Mesh > | square_ |
| const MeshGL * | squareGL_ = nullptr |
| Non-owning reference. | |
| Shader * | textureShader_ = nullptr |
| non-owning reference | |
| Protected Attributes inherited from inviwo::Canvas | |
| PickingController | pickingController_ |
| EventPropagator * | propagator_ |
|
overridevirtual |
Implements inviwo::Canvas.
|
overridevirtual |
Implements inviwo::Canvas.
|
overridevirtual |
Implements inviwo::Canvas.
|
overridevirtual |
Implements inviwo::Canvas.
|
overridevirtual |
Implements inviwo::CanvasGL.
|
overridevirtual |
Implements inviwo::CanvasGL.
|
overridevirtual |
Implements inviwo::Canvas.
|
overridevirtual |
Reimplemented from inviwo::CanvasGL.