Results 1 to 3 of 3

Thread: Access Memory Address of a QT made viewer?

  1. #1
    Join Date
    Feb 2016
    Location
    Venice, California
    Posts
    87
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Access Memory Address of a QT made viewer?

    Hi friends,

    I'm trying to create a little snapshot tool for Nuke 9. Nuke is a visual fx compositing software built using Qt.
    So if you'd kindly refer to the attached image, Nuke has a Viewer, which has a few switches and button, and more importantly a timeline to scrub the image sequence that's currently being viewed. This viewer stores the current frame into memory as the user changes frame.

    What I would like to do is get the memory location of the image at the current frame. Is there a way to do that? I've been reading up on Qt's Qtimeline, and the Caching options, but I can't seem to find anything on how to access the cached location in memory. Nuke does have an API which I'm currently lost in, but I'm hoping someone knows a quick way.


    Cheers!
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Access Memory Address of a QT made viewer?

    QTimeLine is just a helper class for mapping times in a time range into frame numbers.

    It doesn't have any visual component nor access to anything that the application might associated with a given frame number.

    Since you need access to the currently displayed frame it is not really of interest to you what the next frame will be, so QTimeLine is not something you need to bother with.

    What you need to find is the API of the program that lets you access or export the current frame.

    If the program doesn't allow that you'll have to resort to taking a screenshot of the view or the whole window and then getting the image from that.

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    Nfrancisj (25th July 2016)

  4. #3
    Join Date
    Feb 2016
    Location
    Venice, California
    Posts
    87
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Access Memory Address of a QT made viewer?

    Bummer, I suspected as much. I actually meant to say Pixmap, not Qtimeline. Sorry.
    I asked in the Nuke forums, but that's has a very low response rate.
    Anyway, thankyou very much

    Cheers!
    Last edited by Nfrancisj; 25th July 2016 at 02:57.

Similar Threads

  1. display pointer memory address
    By milosav in forum Qt Programming
    Replies: 8
    Last Post: 2nd February 2016, 08:54
  2. Access Mac OSX address book
    By Jakkie in forum Newbie
    Replies: 0
    Last Post: 21st February 2013, 07:43
  3. Replies: 1
    Last Post: 22nd July 2012, 10:29
  4. Cannot access memory at address 0x0
    By defumar in forum Newbie
    Replies: 29
    Last Post: 28th January 2008, 15:55
  5. Compiler's calculation on memory/address
    By vermarajeev in forum General Discussion
    Replies: 3
    Last Post: 10th October 2007, 11:25

Tags for this Thread

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.