Added new Node::getParentalNodePaths() method.

Added better handling in computeIntersections(..) of nodes that are internal
to the scene graph, correctly accounting for the accumulated transforms.

Changed the EventVisitor so that it only traveses active children rather than
all children.

Updated wrappers.
This commit is contained in:
Robert Osfield
2005-12-07 15:29:29 +00:00
parent 73cc97f0e1
commit 27ad107378
7 changed files with 92 additions and 39 deletions

View File

@@ -55,6 +55,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Node)
I_Method1(osg::Group *, getParent, IN, unsigned int, i);
I_Method1(const osg::Group *, getParent, IN, unsigned int, i);
I_Method0(unsigned int, getNumParents);
I_MethodWithDefaults1(osg::NodePathList, getParentalNodePaths, IN, osg::Node *, haltTraversalAtNode, 0);
I_Method1(void, setUpdateCallback, IN, osg::NodeCallback *, nc);
I_Method0(osg::NodeCallback *, getUpdateCallback);
I_Method0(const osg::NodeCallback *, getUpdateCallback);
@@ -123,7 +124,11 @@ END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osg::Node * >, osg::NodePath);
TYPE_NAME_ALIAS(std::vector< osg::NodePath >, osg::NodePathList);
STD_VECTOR_REFLECTOR(std::vector< osg::Group * >);
STD_VECTOR_REFLECTOR(std::vector< osg::NodePath >);
STD_VECTOR_REFLECTOR(std::vector< std::string >);