Logo Search packages:      
Sourcecode: earth3d version File versions  Download package

Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

GLTestWidget Class Reference

Collaboration diagram for GLTestWidget:
Collaboration graph

List of all members.

Public Slots

virtual void agentPopupSlot (int agent)
virtual void gpsCoordinatesSlot ()
virtual void navtimer ()
virtual void screenshotSlot (QString filename="screenshot.png")
virtual void showMarkerSlot ()
virtual void viewTextureSlot ()


virtual void frameFinished ()

Public Member Functions

virtual void addAgentPopupEntry (QString text, ListViewServiceItem *item)
virtual void agentPopupClicked (ListViewServiceItem *item, Point2D worldcoord)
virtual void contextMenuEvent (QContextMenuEvent *e)
NavigatorgetNavigator ()
 GLTestWidget (const QGLFormat &format, QWidget *parent=0, const char *name=0, const GLTestWidget *shareWidget=0, WFlags f=0)
 GLTestWidget (QWidget *parent=0, const char *name=0, const GLTestWidget *shareWidget=0, WFlags f=0)
 GLTestWidget (QGLContext *context, QWidget *parent, const char *name=0, const QGLWidget *shareWidget=0, WFlags f=0)
virtual void keyPressEvent (QKeyEvent *e)
virtual void keyReleaseEvent (QKeyEvent *e)
virtual void mouseDoubleClickEvent (QMouseEvent *e)
virtual void mouseMoveEvent (QMouseEvent *e)
virtual void mousePressEvent (QMouseEvent *e)
virtual void mouseReleaseEvent (QMouseEvent *e)
virtual void moveToPosition (Point3D mark, Point3D dir, Point3D up, bool lowerquality=true)
virtual void paintGL ()
virtual void resizeGL (int width, int height)
virtual void run ()
virtual void setFormView (FormView *formview)
void setFullscreen (bool fullscreen)
virtual void setGraphicsObjectsContainer (GraphicsObjectsContainer *goc)
virtual void setNavigation (bool rotate)
virtual void setViewCulling (bool state)
virtual void setViewer (Point3D p)
void updateScreen ()
virtual void wheelEvent (QWheelEvent *e)

Protected Member Functions

Point2D getCurrentCoordinates ()
Point2D getWorldCoordinates (int mx, int my)
void init ()
virtual void initializeGL ()
void render ()

Protected Attributes

QPoint contextPos
FormView * formview
QTime navtime_ctime
QTime navtime_nowtime
Geometry2D3DSphere sphere

Private Member Functions

virtual void generateFonts ()

Private Attributes

< ListViewServiceItem * > 
float aspect
float clippingPlanes [2]
float * depthbuffer
int depthHeight
int depthWidth
bool drawFinished
bool fullscreen
bool grabDepthBuffer
bool matrix_valid
double modl [16]
int mx
int my
Navigator nav
QMutex navMutex
bool navRotate
double old_sdx
double old_sdy
double old_sdz
bool old_valid
WFlags oldflags
QWidget * oldparent
QPoint oldpos
float pitch
double proj [16]
QWaitCondition rendered
QMutex rendering
QMutex rendering2
float roll
float rtri
float rtry
bool threadStarted
bool viewCulling
GLint viewport [4]

Detailed Description

Definition at line 35 of file gltest.h.

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

Generated by  Doxygen 1.6.0   Back to index