ParallelGraphics Forums
SDK
You are here:
[Forums]
::
[General]
::
[SDK]
All forums
How to use forums
Favorites
Services
Registration
Registration
Forgot your password?
Help
Help
Support
Quick search
Subscribe to newsletters
email:
password:
 
General
-
SDK
[reply]
[back to forum]
[new message]
[all forums]
Subject:
[remove node] rootnodes/nodes issue
Sender:
Andrea B
2.08.07 07:45
Hallo everybody,
I'm trying to remove a complex shape from the scenegraph. The shape is contained into a DEF named Transform node. I can easily get the node through the get_Nodes()/get_Item(name), but when I try to remove it the call fails. I read that the get_Nodes collection is read-only, but given that my DEF node is not a root node, how can I retrieve it through a get_RootNodes?
I though something like
1) get DEF node through get_Nodes
2) get parent node
3) get again DEF node through node->get_RootNodes
4) remove it
but I don't know how to get the parent node of a node.
Anyway there must be a simpler approach.
I work on Cortona 4.1/VC++6.
Thanks a million for any hints,
Andrea
[reply]
[back to forum]
[new message]
[all forums]
[remove node] rootnodes/nodes issue
/
Andrea B
/ 2.08.07 07:45
Re: [remove node] rootnodes/nodes issue
/
dan.vera@gmail.com
/ 10.08.07 02:45
Messages in thread:
2
[reply]
[back to forum]
[new message]
[all forums]
© 1998-2007
ParallelGraphics
. All rights reserved.
Terms of use
.