Results 1 to 3 of 3

Thread: Swap the Image Buffer - QPixmap - Display 3d data

  1. #1
    Join Date
    Jun 2008
    Posts
    20
    Qt products
    Qt4
    Platforms
    Windows

    Default Swap the Image Buffer - QPixmap - Display 3d data

    Hello,

    I´m a newbee in QT (and feel like "in explaining problems in english" also;-)

    I got an csv-file representing some values to generate an image. Its a kind of self-made 3d data set in this csv file. I need to display different slices through this 3d data.

    I thought about to
    1. input an double (as kind of Z-Value in my volume data) to specified the slice
    2. go into the csv file and generate an image by interpolating the csv-values.
    3. display this image like the QPicture is displayed in the "4000 chip"-example of QT4.4 assistant.

    This will be realy time consuming i think.
    But to keep it simple, i don´t want to use any OpenGl routines - newbee too :-)

    So to accelerate this "walking through slider"-function, which i don´t need so often, i thought about some kind of "preloading the next step" while watching the actual image.

    I hope you understand the scenario. The maximum size of the images is 800x600px

    My question:
    Is there any "swap"-funktion in QT for the preloaded, buffered image in QT?
    Would be fabulous, if you know an QT-Assistant example, where a similar topic is shown.

    Please stop me on this donkey-way, if you think that i´m on it, and if there is an already made up solution deep in the thousends of QT routines.

    Thanx a lot in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Swap the Image Buffer - QPixmap - Display 3d data

    Maybe you need VTK?

  3. #3
    Join Date
    Jun 2008
    Posts
    20
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Swap the Image Buffer - QPixmap - Display 3d data

    Maybe -I already thought about it.

    But i started to try out some opengl stuff.
    More ore less only the HelloGL example.
    I can compile and run, but it crashes imediatly.

    How can i check for proper OpenGL installation?

    ATI Driver sais - all fine.
    I´m able to execute Nate Robin examples. Does this realy needs OpenGL support? Or is it just to learn OpenGl?

    So... how can i check it? Thanx in advance
    Last edited by SenSej; 29th September 2008 at 00:17.

Similar Threads

  1. can Qlabel display a series of image one by one ?
    By jirach_gag in forum Qt Tools
    Replies: 3
    Last Post: 11th August 2008, 15:36
  2. Display only PNG image on desktop
    By durbrak in forum Qt Programming
    Replies: 32
    Last Post: 15th March 2008, 21:55

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.