Log in or register to post comments

Set UIView to size or target

April 29, 2013 - 2:01pm #1

Hi, I am very new to openGL so sorry if this question has been asked before, but after searching several hours I havn't been able to solve it.

I am using the CloudReco sample app.

I want to set my UIView to the size of the targetImage.

Any help in putting me in the right direction would be greatly appreciated

Set UIView to size or target

April 30, 2013 - 2:59am #2

I want to set my UIView to the size of the targetImage.

 

For the size have a look in <QCAR/ImageTarget.h>

 

    /// Returns the size (width and height) of the target (in 3D scene units).

    virtual Vec2F getSize() const = 0;

 

Not quite sure what you are trying to achieve re UIView, because that is an iOS class pertaining to the 2D view?

 

N

Log in or register to post comments