Thanks a tonne Robert! *osgManipulator::Scale2DDragger* seems to suffice my
need!

Best regards,
Mots


On Mon, Dec 9, 2013 at 4:01 PM, Robert Osfield <[email protected]>wrote:

> Hi Mots,
>
> Have a look at the osgmanipulator example.
>
> Robert.
>
>
> On 9 December 2013 04:40, Mots G <[email protected]> wrote:
>
>> Hi all,
>> I was wondering if there is a control available to scale an object by
>> dragging/stretching along its corners. I wish to allow the user to resize
>> door and window objects by stretching it across its borders.
>>
>> I wish to give a 'rubber - banding' visual cue (as in spreadsheets).
>>
>> Or would it be advisable to create a custom geode which draws a rectangle
>> and gets attached to the object which is to be resized. On stretching it it
>> would resize itself and on mouse release, pass the scaled parameter to the
>> object concerned.
>>
>> Again, apologies for the noob question, but just wanted to know if there
>> is something available already or there is a better way to apporach the
>> problem.
>>
>> Best regards,
>> Mots
>>
>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to