Improved the constness of parameters the Node::getWorldMatrices(..) method.

Added Drawable::getWorldMatrices(const Node*) method.
This commit is contained in:
Robert Osfield
2008-09-18 10:38:18 +00:00
parent 93d4090169
commit 0969a5384b
6 changed files with 27 additions and 6 deletions

View File

@@ -128,6 +128,11 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable)
__unsigned_int__getNumParents,
"Get the number of parents of node. ",
"the number of parents of this node. ");
I_MethodWithDefaults1(osg::MatrixList, getWorldMatrices, IN, const osg::Node *, haltTraversalAtNode, 0,
Properties::NON_VIRTUAL,
__MatrixList__getWorldMatrices__C5_osg_Node_P1,
"Get the list of matrices that transform this node from local coordinates to world coordinates. ",
"The optional Node* haltTraversalAtNode allows the user to prevent traversal beyond a specifed node. ");
I_Method1(void, setStateSet, IN, osg::StateSet *, stateset,
Properties::NON_VIRTUAL,
__void__setStateSet__StateSet_P1,

View File

@@ -135,9 +135,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Node)
__NodePathList__getParentalNodePaths__osg_Node_P1,
"Get the list of node paths parent paths. ",
"The optional Node* haltTraversalAtNode allows the user to prevent traversal beyond a specifed node. ");
I_MethodWithDefaults1(osg::MatrixList, getWorldMatrices, IN, osg::Node *, haltTraversalAtNode, 0,
I_MethodWithDefaults1(osg::MatrixList, getWorldMatrices, IN, const osg::Node *, haltTraversalAtNode, 0,
Properties::NON_VIRTUAL,
__MatrixList__getWorldMatrices__osg_Node_P1,
__MatrixList__getWorldMatrices__C5_osg_Node_P1,
"Get the list of matrices that transform this node from local coordinates to world coordinates. ",
"The optional Node* haltTraversalAtNode allows the user to prevent traversal beyond a specifed node. ");
I_Method1(void, setUpdateCallback, IN, osg::NodeCallback *, nc,