Results 1 to 2 of 2

Thread: updateGL() Help

  1. #1

    Default updateGL() Help

    Hi to everybody
    I am trying to develop a 3D plotter using some cubes as marker for my data.

    My problem is related to the update of the plot.

    Now I've implemented inside my class ( GLWidget ) a method that update my 3D coordinates and in the end calls the updateGL...

    this calls the plot, but it does not change at all..

    instead if i use the mouse over the display area, to change the orientation of the plot for example, it updates correctly.

    Is this all related to the events structure?

    I've read about the Qtimer, but i would prefer to control the update of my plot from an external function so my 3d sensor can directly pilot the plot..

    Any suggestion?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: updateGL() Help

    Post relevant code, please.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Not able to use updateGL()
    By chintu in forum Qt Programming
    Replies: 2
    Last Post: 24th January 2011, 18:57
  2. update() & updateGL()
    By rick_st3 in forum Newbie
    Replies: 7
    Last Post: 23rd June 2008, 13:57
  3. QGLWidget::updateGL( )
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 2nd November 2006, 19:21
  4. QGLWidget updateGL()
    By Lele in forum Qt Programming
    Replies: 7
    Last Post: 30th May 2006, 15:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.