Hi Jacques-Andre,
On Tue, 2005-02-15 at 10:47, Jacques-Andre Boulay wrote:
> I got an error saying me that getToWorld() is not a member of
> OSG:NodePtr. In the documentation, getToWorld seems to be
> in the class OSG:Node, so do I have to obtain the node
> that is referenced by my nodePtr? If so, how can I obtain it?
all the ...Ptr classes behave like regular pointers in most respects
(exception: pointer arithmetic), so you can just use ptr->getToWorld()
to call the method on the referenced Node.
Hope it helps
Dirk
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users