Public Member Functions | |
Children (const CData *cdata) | |
Children (const Children ©) | |
PandaNode * | get_child (int n) const |
Returns the nth child of the node. | |
int | get_child_sort (int n) const |
Returns the sort index of the nth child node of this node (that is, the number that was passed to add_child()). | |
int | get_num_children () const |
Returns the number of children of the node. | |
void | operator= (const Children ©) |
Definition at line 682 of file pandaNode.h.
PandaNode * PandaNode::Children::get_child | ( | int | n | ) | const [inline] |
Returns the nth child of the node.
Definition at line 1150 of file pandaNode.I.
Referenced by RigidBodyCombiner::collect(), FindApproxLevelEntry::consider_node(), PandaNode::copy_children(), PandaNode::count_num_descendants(), AnimBundleNode::find_anim_bundle(), SceneGraphReducer::flatten(), SceneGraphReducer::flatten_siblings(), NodePath::get_children(), SceneGraphReducer::r_collect_vertex_data(), SceneGraphReducer::r_decompose(), SceneGraphReducer::r_flatten(), SceneGraphReducer::r_make_compatible_state(), SceneGraphReducer::r_make_nonindexed(), PandaNode::r_mark_geom_bounds_stale(), SceneGraphReducer::r_premunge(), PandaNode::r_prepare_scene(), SceneGraphReducer::r_register_vertices(), SceneGraphReducer::r_remove_column(), SceneGraphReducer::r_unify(), MultitexReducer::scan(), DataGraphTraverser::traverse_below(), and CullTraverser::traverse_below().
int PandaNode::Children::get_child_sort | ( | int | n | ) | const [inline] |
Returns the sort index of the nth child node of this node (that is, the number that was passed to add_child()).
See get_num_children().
Definition at line 1164 of file pandaNode.I.
Referenced by PandaNode::copy_children().
int PandaNode::Children::get_num_children | ( | ) | const [inline] |
Returns the number of children of the node.
Definition at line 1139 of file pandaNode.I.
Referenced by RigidBodyCombiner::collect(), FindApproxLevelEntry::consider_node(), PandaNode::copy_children(), PandaNode::count_num_descendants(), AnimBundleNode::find_anim_bundle(), SceneGraphReducer::flatten(), SceneGraphReducer::flatten_siblings(), NodePath::get_children(), SceneGraphReducer::r_collect_vertex_data(), SceneGraphReducer::r_decompose(), SceneGraphReducer::r_flatten(), SceneGraphReducer::r_make_compatible_state(), SceneGraphReducer::r_make_nonindexed(), PandaNode::r_mark_geom_bounds_stale(), SceneGraphReducer::r_premunge(), PandaNode::r_prepare_scene(), SceneGraphReducer::r_register_vertices(), SceneGraphReducer::r_remove_column(), SceneGraphReducer::r_unify(), MultitexReducer::scan(), DataGraphTraverser::traverse_below(), and CullTraverser::traverse_below().