Qt GUI Interface with OF/CCV
Posted: 09 October 2009 11:38 PM   [ Ignore ]
Rank
Joined  2009-08-29
Total Posts:  69
New Member

Hello to all of you, as you all know the default GUI interface using by OF/CCV is glut.

The problem now is i have coded a Qt GUI but i would to let OF manipulate the Qt Gui window.

Anyone here have success incorporate Qt to Of ?

I have created a Qt GUI window and i would like to using CCV or OF to do the following.

1. Resize/Matrix Translation the GUI window
2. Scale and Rotate the GUI window

Optional:
3. Click event GUI window
4. Text Input

Please help.

Thanks.

Profile
 
 
Posted: 09 October 2009 11:40 PM   [ Ignore ]   [ # 1 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

The best place for this question would probably be on the openframeworks forum. There’s a specific thread on QT and OF and from what I understand no one’s been successful yet.

Ideally, I would like to change the interface from glut to QT if someone can figure it out. wink

As for your application, you might want to have it receive TUIO and use ofxTUIO to manipulate what you’re doing.

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
Posted: 09 October 2009 11:51 PM   [ Ignore ]   [ # 2 ]
RankRank
Joined  2008-05-07
Total Posts:  173
Member

When I do Linux development, I use Qt only. So, yeah, if someone can port OF stuff over to Qt, that would be great. Qt has OpenGL support, too.

Profile
 
 
Posted: 10 October 2009 06:53 AM   [ Ignore ]   [ # 3 ]
Rank
Joined  2009-08-29
Total Posts:  69
New Member

I got an idea but i don’t know whether it is working.

The testapp composes my QtGui application.

Then, it get the blob data from ofxTUIO, then repaint the Qt gui.

Thanks.

Profile
 
 
Posted: 14 October 2009 02:49 AM   [ Ignore ]   [ # 4 ]
Rank
Joined  2009-08-29
Total Posts:  69
New Member

How to let my Qt GUI application receive TUIO and manipulate them using ofxTUIO ?

A good reference is really needed.

I have browse through the source file but i cannot find any ofxTUIO package but there is ofxOsc. I wonder whether i need to use which one.

Please help.

Thanks.

Profile
 
 
Posted: 14 October 2009 12:57 PM   [ Ignore ]   [ # 5 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

ofxTUIO is from the openframeworks forum. That’s the best place to find your answers.

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
Posted: 14 October 2009 11:13 PM   [ Ignore ]   [ # 6 ]
Rank
Joined  2009-08-29
Total Posts:  69
New Member

I will posted a thread there.

Thanks.

Profile
 
 
Posted: 17 October 2011 02:17 PM   [ Ignore ]   [ # 7 ]
Rank
Joined  2010-08-10
Total Posts:  2
New Member

We (DIYTouch.com) embarked on a Qt version of CCV a while ago and had some good success.
We call the result “Big Blobby” and it’s open source here: http://code.google.com/p/bigblobby/

As of this writing it’s based on CCV 1.3 release 195.
Though I’ve started working with fiducials lately and will probably need to upgrade the core to a later version soon.

Hope it’s useful.
Lemme know if you use it and we might do updates faster. : )

-Len

 Signature 

DIYTouch.com

Profile
 
 
Posted: 09 May 2012 12:29 PM   [ Ignore ]   [ # 8 ]
Rank
Joined  2012-05-06
Total Posts:  2
New Member

I worked on the BigBlobby graphical user interface (GUI) and have a couple of notes to add to Len’s post above.

1. The main reason for putting a Qt GUI in front of CCV is so that the camera and processed images can be made much larger by simply expanding the window to be full screen.  If you are playing around with CCV blob detection settings while looking at a second monitor located several feet away from your touch table, the larger images might be quite helpful.  The current CCV graphical user interface, which is written in GLUT, cannot be resized, as GLUT is mainly intended for simple tutorials for the OpenGL library and does not support automatic resizing of windows (i.e., the size of the CCV GUI window and its images are hard-coded).  Besides, the Qt GUI library has much nicer slider and spin box controls than GLUT.

2. BigBlobby is free open source code (Lesser General Public License), so anybody who wants to play around with it and modify it is totally free to do so.  You can download the source code as a zip file from http://code.google.com/p/bigblobby/

3. The latest version of CCV, version 1.5, now supports fiducials and multicamera stiching.  However, as Len noted, BigBlobby was written for CCV version 1.3.  Therefore, BigBlobby does not support these latest hot features.  If there is any interest in it, I may place BigBlobby in front of CCV version 1.5.  I have some other projects I need to finish up first, so if anybody feels motivated to put the BigBlobby GUI in front of CCV version 1.5, please feel free to jump in and do so.

-Ghost

Profile
 
 
Posted: 13 August 2013 06:22 PM   [ Ignore ]   [ # 9 ]
Rank
Joined  2012-05-06
Total Posts:  2
New Member

A new version of the BigBlobby Qt Framework graphical user interface for CCV 1.3 (Windows OS) has been posted and documented at the URLs shown further below.  The main improvement in the Qt GUI is that the View menu now has options to zoom in on the images.  In particular, magnifying the Source image to full screen can be useful if you are making fine adjustments to the camera or working on lighting issues.  There are several other minor improvements to the GUI, including making the Filters panel a fancy dockable widget that can be popped in and out of the main window.  The BigBlobby Motivation and Getting Started pages include screenshots of the GUI, and the Design Overview page includes UML class diagrams.

BigBlobby Downloads:  https://code.google.com/p/bigblobby/downloads/list
BigBlobby Motivation:  https://sites.google.com/site/bigblobbygui4ccv/home
Getting Started:  https://sites.google.com/site/bigblobbygui4ccv/getting-started
Design Overview:  https://sites.google.com/site/bigblobbygui4ccv/design-overview
API:  http://bigblobby.googlecode.com/svn/trunk/BigBlobby/Windows/apps/BigBlobby/VS2008/docs/html/index.html

BigBlobby is distributed under the GNU Lesser General Public License version 2.1, as is CCV 1.3 and Qt 4.7.3, which means it is free to use, and you are also free to modify and redistribute the source code.

-Joe Weber

Profile