Alan Purvis schrieb:
Perhaps he means the object's bounding extends?
or perhaps this is a PositionAttitudeTransform - Node, then
const Vec3d <cid:[email protected]> & getScale
<cid:[email protected]> () const
will do the trick. So if you find a node by clicking on it, try to cast
it to a PositionAttitude... and then use the aforementioned function.
Andreas
On 2 May 2006, at 15:07, Robert Osfield wrote:
On 5/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
When I clicked a model using the mouse, Which function can I use to
get the
the scale of the model? Thanks.
What do you mean by scale of the model??? Units? The OSG doesn't
explicitly have units, it simply works in the units the database in
loaded with.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
--
Andreas Goebel
Visit http://www.raumgeometrie.de to take a look at
Archimedes Geo3D, a program for dynamic geometry
in three dimensions!
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/