14#ifndef WORKINGNODEPATH_H
15#define WORKINGNODEPATH_H
56 void output(std::ostream &out)
const;
74INLINE std::ostream &operator << (std::ostream &out,
const WorkingNodePath &node_path);
This is one component of a NodePath.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
A basic node of the scene graph or data graph.
This is a class designed to support low-overhead traversals of the complete scene graph,...
PandaNode * node() const
Returns the node traversed to so far.
get_node_path
Constructs and returns an actual NodePath that represents the same path we have just traversed.
PandaNode * get_node(int index) const
Returns the nth node of the path, where 0 is the referenced (bottom) node and get_num_nodes() - 1 is ...
int get_num_nodes() const
Returns the number of nodes in the path from the root to the current node.
is_valid
Returns true if the WorkingNodePath object appears to be a valid NodePath reference,...
WorkingNodePath(const NodePath &start)
Creates a WorkingNodePath that is the same as the indicated NodePath.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.