20#include "mlTimeCounter.h"
21#include <Inventor/fields/SoSFInt32.h>
22#include <Inventor/fields/SoSFBool.h>
23#include <Inventor/fields/SoSFColor.h>
24#include <Inventor/fields/SoSFFloat.h>
41 void GLRender(SoGLRenderAction *action)
override;
62 ml::TimeCounter _timer;
63 std::vector<float> _recentTimeSpent;
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
SoShowFPS renders the current frame rate onto the scene.
static void initClass()
inventor runtime system
void GLRender(SoGLRenderAction *action) override
derived render method that renders the FPS
SoSFBool drawRepaintCount
SoSFInt32 numAverageFrames
bool affectsState() const override
this node does not affect the state, so return false!