Hi,

that is exactly the point. My RemoveXVisitor  SHOULD remove nodes but since it 
is not possible to do that in apply and there is no "finalize" method that gets 
automatically called after accept has finished, it is only possible to remove 
nodes by providing a custom member which the user must call manually.

That is what I am talking about, it is not possible for a Visitor to do certain 
things without having the user explicitly call members of it after the accept 
call.

I did not demand a finalize method and I understand Robert's statement that 
flexibility is achieved by relying on the user. Never the less would a finalize 
method decrease any flexibility and power of it.

(Btw: I have never experienced that handing over responsibility to the user 
(which is the developer at this point) produced any good results, but this is 
only my experience) 

Thanks,
Sam

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=35965#35965





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to