From: Murashov G. <Mur...@se...> - 2008-08-15 12:32:45
|
> Braden McDaniel wrote: > openvrml::scope corresponds to a lexical scope for DEF/USE names. > As such, the nodes created from create_vrml_from_stream > have their own root scope that is distinct from the scene's. > The only way to get to this scope is through a node > (i.e., openvrml::node::scope). I think that situation is strange, when creating named node by create_vrml_from_stream and not storing node reference, we don't have easy way to find that one. So, we have dependence between points in code: creating node and using node. > Can you tell me more about what you're trying to accomplish? > Perhaps there's another approach that would work better. I don't have question relate my task. I'm trying to do available openvrml API subset under Mozilla plug-in. Typical task which I solve is to create TouchSensor node for certain group node and to get TouchSensor events. I'm askink for better understanding =) > I'm in the middle of ripping out this pipe-based custom IPC solution > in favor of D-Bus interfaces. Could you tell me when this task will be finished? >> Getting back to node_type::create_node(). If we can't use this >> function outside library, it would be better to remove this one from >> public interface? > I don't know of anything that prevents this function from being usable > by clients of libopenvrml. Is there legal way to get shared_ptr<scope>&, which is necessary for using node_type::create_node()? Gleb. |