14#ifndef FINDAPPROXLEVELENTRY_H
15#define FINDAPPROXLEVELENTRY_H
44 int max_matches,
int increment)
const;
50 void output(std::ostream &out)
const;
51 void write_level(std::ostream &out,
int indent_level)
const;
68 static void init_type() {
This class is local to this package only; it doesn't get exported.
bool next_is_stashed(int increment) const
Returns true if the next node matched by this entry must be a stashed node, false otherwise.
bool is_solution(int increment) const
Returns true if this entry represents a solution to the search; i.e.
void write_level(std::ostream &out, int indent_level) const
Writes the entire level (a linked list of entries beginning at this entry).
bool consider_node(NodePathCollection &result, FindApproxLevelEntry *&next_level, int max_matches, int increment) const
Considers the node represented by the entry for matching the find path.
void consider_next_step(PandaNode *child_node, FindApproxLevelEntry *&next_level, int increment) const
Compares the indicated child node (which is assumed to be a child of _node_path) with the next compon...
void output(std::ostream &out) const
Formats the entry for meaningful output.
This class is local to this package only; it doesn't get exported.
This is a set of zero or more NodePaths.
A basic node of the scene graph or data graph.
TypeHandle is the identifier used to differentiate C++ class types.
This is a class designed to support low-overhead traversals of the complete scene graph,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.