CCV 1.4 source code
Posted: 14 January 2013 07:16 AM   [ Ignore ]
Rank
Joined  2012-11-27
Total Posts:  3
New Member

Hello everybody!
I was looking for the source code of CCV 1.4. Where can I find it? I already had a look on nuicode.com, but unfortunately, it was nowhere to be found there. Anyways, my plan is to let CCV send blob sizes along the TUIO messages. Does anybody have an idea how to achieve that?
Thank you for your support.

Profile
 
 
Posted: 14 January 2013 08:32 AM   [ Ignore ]   [ # 1 ]
Rank
Joined  2011-04-13
Total Posts:  46
New Member

You can find the source sode here : CCV 1.4 source code

for sending the height and width of blobs, boolean bHeightWidth should be true in TUIO.cpp (addons/ofxNCore/src/Communication/TUIO.cpp)

if(bHeightWidth)
                        
{
                            set
.addFloatArg(blob->second.boundingRect.width);    // wd
                            
set.addFloatArg(blob->second.boundingRect.height);    // ht
                        
}

Profile
 
 
Posted: 14 January 2013 09:04 AM   [ Ignore ]   [ # 2 ]
Rank
Joined  2012-11-27
Total Posts:  3
New Member

Thanks pratik!

Profile