|
| CanvasGLFW (std::string title="", uvec2 dimensions=uvec2(128)) |
|
virtual void | activate () override |
|
virtual void | glSwapBuffers () override |
|
void | show () |
|
void | hide () |
|
void | setWindowSize (ivec2) |
|
void | setWindowPosition (ivec2) |
|
void | setWindowTitle (std::string) |
|
virtual void | update () override |
|
virtual std::unique_ptr< Canvas > | createHiddenCanvas () override |
|
virtual ContextID | activeContext () const override |
|
virtual ContextID | contextId () const override |
|
| CanvasGL (size2_t dimensions) |
|
virtual void | render (std::shared_ptr< const Image > image, LayerType layerType=LayerType::Color, size_t idx=0) override |
|
virtual void | resize (size2_t size) override |
|
virtual void | setProcessorWidgetOwner (ProcessorWidget *) override |
|
virtual size2_t | getImageDimensions () const override |
|
double | getDepthValueAtCoord (ivec2 canvasCoordinate) const |
| Retrieve depth value in normalized device coordinates at screen coordinate. More...
|
|
double | getDepthValueAtNormalizedCoord (dvec2 normalizedScreenCoordinate) const |
|
| Canvas (size2_t dimensions) |
|
size2_t | getCanvasDimensions () const |
|
void | setEventPropagator (EventPropagator *propagator) |
|
virtual ProcessorWidget * | getProcessorWidgetOwner () const |
|
bool | isFullScreen () const |
|
void | setFullScreen (bool fullscreen) |
|
void | propagateEvent (Event *e) |
|
|
static void | closeWindow (GLFWwindow *) |
|
static int | getVisibleWindowCount () |
|
static void | reshape (GLFWwindow *, int, int) |
|
static void | move (GLFWwindow *, int, int) |
|
static void | keyboard (GLFWwindow *, int, int, int, int) |
|
static void | character (GLFWwindow *, unsigned int) |
| UTF32 encoded text input.
|
|
static void | mouseButton (GLFWwindow *, int, int, int) |
|
static void | mouseMotion (GLFWwindow *, double, double) |
|
static void | scroll (GLFWwindow *, double, double) |
|
static MouseButton | mapMouseButton (const int mouseButtonGLFW) |
|
static MouseState | mapMouseState (const int mouseStateGLFW) |
|
static KeyModifiers | mapModifiers (const int modifiersGLFW) |
|
static void | setAlwaysOnTopByDefault (bool) |
|
static void | defaultGLState () |
|
|
virtual void | setFullScreenInternal (bool fullscreen) override |
|
dvec2 | normalPos (dvec2 pos) const |
|
virtual void | releaseContext () override |
|
void | renderLayer (size_t idx=0) |
|
void | renderNoise () |
|
void | drawSquare () |
|
void | renderTexture (int) |
|
bool | ready () |
|
|
class | CanvasProcessorWidgetGLFW |
|
◆ setFullScreenInternal()
void inviwo::CanvasGLFW::setFullScreenInternal |
( |
bool |
fullscreen | ) |
|
|
overrideprotectedvirtual |
Derived classes should override to implement actual window state.
Implements inviwo::Canvas.
The documentation for this class was generated from the following files:
- canvasglfw.h
- canvasglfw.cpp