27PGTop(
const std::string &name) :
42 set_attrib(CullBinAttrib::make(
"unsorted", 0));
60 return new PGTop(*
this);
86 if (_watcher_group !=
nullptr) {
87 _watcher_group->clear_top(
this);
88 old_watcher_group = _watcher_group;
97 pg_trav._sort_index = _start_sort;
105 if (_watcher_group !=
nullptr) {
106 nassertr(_watcher !=
nullptr,
false);
107 _watcher->replace_group(old_watcher_group, _watcher_group);
133 if (_watcher_group !=
nullptr) {
134 _watcher_group->clear_top(
this);
136 if (_watcher !=
nullptr) {
137 _watcher->remove_group(_watcher_group);
141 _watcher_group =
nullptr;
143 if (_watcher !=
nullptr) {
145 _watcher->add_group(_watcher_group);
This collects together the pieces of data that are accumulated for each node while walking the scene ...
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling,...
virtual void end_traverse()
Should be called when the traverser has finished traversing its scene, this gives it a chance to do a...
virtual void traverse_below(CullTraverserData &data)
Traverses all the children of the indicated node, with the given data, which has been converted into ...
This TFormer maintains a list of rectangular regions on the screen that are considered special mouse ...
This is a special kind of GeometricBoundingVolume that fills all of space.
This is a specialization of CullTraverser for use within the pgui system.
This is a specialization on MouseWatcherGroup, to associate it with a PGTop.
The "top" node of the new Panda GUI system.
virtual bool is_renderable() const
Returns true if there is some value to visiting this particular node during the cull traversal for an...
virtual PandaNode * make_copy() const
Returns a newly-allocated Node that is a shallow copy of this one.
virtual bool cull_callback(CullTraverser *trav, CullTraverserData &data)
This function will be called during the cull traversal to perform any additional operations that shou...
void set_mouse_watcher(MouseWatcher *watcher)
Sets the MouseWatcher pointer that the PGTop object registers its PG items with.
A basic node of the scene graph or data graph.
void local_object()
This function should be called, once, immediately after creating a new instance of some ReferenceCoun...
TypeHandle is the identifier used to differentiate C++ class types.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.