Results 1 to 3 of 3

Thread: 2D Coordinate point update, spot tracking, positioning, navigation

  1. #1
    Join Date
    Apr 2015
    Posts
    5
    Qt products
    Qt5
    Platforms
    Windows

    Default 2D Coordinate point update, spot tracking, positioning, navigation

    Hi,

    I want to draw a black background color screen with an origin in the center to show a position tracking green spot, with delta X/Y accumulation data retrieved from Optical-Flow Sensor.

    Now a solution I can think of is to use QImage to manipulate pixels and draw it onto the screen, creating my own coordinate.
    Is there any QClass I can use to help me draw the a coordinate, and locate a certain spot much easier?

    Are there any examples similar to a spot tracking problem that I can refer to?

    Thank you!

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: 2D Coordinate point update, spot tracking, positioning, navigation

    The QGraphicsScene and QGraphicsView in the Qt Graphics View Framework might be useful.

  3. #3
    Join Date
    Apr 2015
    Posts
    5
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: 2D Coordinate point update, spot tracking, positioning, navigation

    QWidget has its own coordinate system, no need to build.
    There is a Analog Clock Example, which can totally answer my question.

Similar Threads

  1. Coordinate space vs coordinate system
    By kangaba in forum General Programming
    Replies: 0
    Last Post: 10th December 2013, 14:38
  2. Replies: 0
    Last Post: 16th April 2012, 22:58
  3. Replies: 2
    Last Post: 2nd April 2012, 23:53
  4. Replies: 2
    Last Post: 24th November 2011, 00:51
  5. Replies: 1
    Last Post: 3rd December 2009, 14:23

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.