On 2/20/07, Paul Martz <[EMAIL PROTECTED]> wrote:
> osgUtil isn't
> a dumping ground for all the operation users might conceivably want.

I apologize; if you think that's what I was suggesting, I must not have made
myself clear.

No need to a appologise, I have to set the bar reasonable high for
what gets included in the core OSG to avoid it becoming a bloated.  I
already consider it too bloated so any additions need to be well
considered, especially the nearer the core OSG one gets.

There is a need to find nodes, but there are also many ways to search
for nodes, and its also pretty simple to write a visitor to do this
job.  For a find visitor to make it into the core then it needs to
general purpose enough to be used by a wide range of users for a wide
range of  uses.

A specific find a getName()=="something" visitor doesn't fit this
bill, if it did I would have been included long long ago.   The issues
haven't changed, FindNamedNodeVisitor hasn't suddenly become more
useful, or more generic, or more difficult to write.

A templated FindNodeVisitor could fit the bill though, and a simple
off the shelf functor could make it be a FindNamedNodeVisitor very
easily, and crucially it would be far more resusable.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to