QVISH 0.1
Public Slots | Signals | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
Wizt::qVGLWindow Class Reference

Provides an OpenGL Widget through QT. More...

#include <qVGLWindow.hpp>

Inheritance diagram for Wizt::qVGLWindow:

Public Slots

void announceReady (const QString &GL_Vendor, const QString &GL_Renderer, int M, int m)
 
void busyRender ()
 
void cancelOffScreenRender ()
 
void cancelRender () const
 
void doneRender (bool stillBusy)
 
void endRender (const QString &ContextName, double secs)
 
void finishOffScreenRender ()
 
void processSensorInfo ()
 
void setAfterFlashCursor ()
 
void setViewerInfo (const QString &)
 
void toggleCursorVisibility ()
 

Signals

void announceCursorInfo (int X, int Y, const QString &)
 
void announceSensorInfo (const QString &)
 
void announceViewerInfo (const QString &)
 
void enablePixelZoom (bool yes)
 
void pixelZoomPanning (double dX, double dY)
 
void ready (const QString &ViewerName, const QString &GL_Vendor, const QString &GL_Renderer, int M, int m)
 
void SensorMotion (int X, int Y)
 
void zoomChanged (double ZoomFactor, double X, double Y)
 

Public Member Functions

void adjustCursor (const RefPtr< VInteractionEvent::InteractionGrabber > &myInteractionGrabber)
 
void cleanup () const
 
void incrementInterruptor () const
 
bool isInPixelZoomMode () const
 
RefPtr< VInteractionEvent::InteractionGrabber > myInteractionGrabber () const
 
 qVGLWindow (qVGLScrollArea *Parent, const QPointer< qVMainWindow > &theVMainWindow, const WeakPtr< QGLViewer, VManagedObjectBase > &V, PixelZoom &thePixelZoom)
 
void redraw () const
 
void resetInterruptor () const
 
void setupViewport ()
 
string ViewerName () const
 

Public Attributes

RenderAble::SensorView currentSensorInfo
 
bool DefaultCursorIsVisible = true
 
bool EnableDelayedRender = false
 
RefPtr< VRenderPrecision > Hints
 
VInteractionEvent::InteractionID_t InteractionID = 12
 
QPoint LastMousePosition
 
MemCore::Timer MouseMotionTimer
 
QPointer< GLThreadControllermyGLThreadController
 
PixelZoom & myPixelZoom
 
RefPtr< Seagrass > mySeagrass
 
VPointer< QGLViewermyViewer
 
std::mutex SensorInfoMutex
 

Protected Types

enum  InteractionType {
  Mouse , MouseMove , Wheel , Touch ,
  Keyboard , KeyboardRelease
}
 

Protected Member Functions

bool event (QEvent *ev) override
 
void exposeEvent (QExposeEvent *) override
 
void focusInEvent (QFocusEvent *) override
 
void keyPressEvent (QKeyEvent *e) override
 
void keyReleaseEvent (QKeyEvent *e) override
 
void mouseDoubleClickEvent (QMouseEvent *e) override
 
void mouseMoveEvent (QMouseEvent *) override
 
void mousePressEvent (QMouseEvent *e) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
void notifyUserInteraction (InteractionType) const
 
void showEvent (QShowEvent *) override
 
void touchEvent (QTouchEvent *ev) override
 
void wheelEvent (QWheelEvent *e) override
 

Protected Attributes

QCursor lastUsedCursor
 

Detailed Description

Provides an OpenGL Widget through QT.

Member Function Documentation

◆ wheelEvent()

void Wizt::qVGLWindow::wheelEvent ( QWheelEvent *  e)
overrideprotected

calls qVGLScrollArea:adjustZoom()


The documentation for this class was generated from the following files: