14 #ifndef SCENEGRAPHANALYZERMETER_H 15 #define SCENEGRAPHANALYZERMETER_H 27 class GraphicsChannel;
50 INLINE
void set_update_interval(
double update_interval);
51 INLINE
double get_update_interval()
const;
62 void do_update(
Thread *current_thread);
70 double _update_interval;
75 PN_stdfloat _last_aspect_ratio;
84 static void init_type() {
85 TextNode::init_type();
87 TextNode::get_class_type());
90 return get_class_type();
92 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
A basic node of the scene graph or data graph.
This is a special TextNode that automatically updates itself with output from a SceneGraphAnalyzer in...
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.
This collects together the pieces of data that are accumulated for each node while walking the scene ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A lightweight class that represents a single element that may be timed and/or counted via stats.
A handy class that can scrub over a scene graph and collect interesting statistics on it.
A ClockObject keeps track of elapsed real time and discrete time.
void update()
Can be called after the TextNode has been fully configured, to force the node to recompute its text i...
This is a base class for the various different classes that represent the result of a frame of render...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A thread; that is, a lightweight process.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The primary interface to this module.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A rectangular subregion within a window for rendering into.
TypeHandle is the identifier used to differentiate C++ class types.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling,...