MeVisLab Resolution Independence API
SoShowFPS Class Reference

SoShowFPS renders the current frame rate onto the scene. More...

#include <SoShowFPS.h>

Inheritance diagram for SoShowFPS:

Public Member Functions

 SoShowFPS ()
 
void GLRender (SoGLRenderAction *action) override
 derived render method that renders the FPS More...
 
bool affectsState () const override
 this node does not affect the state, so return false! More...
 

Static Public Member Functions

static void initClass ()
 inventor runtime system More...
 

Public Attributes

SoSFInt32 numAverageFrames
 
SoSFBool drawRepaintCount
 
SoSFBool drawFPS
 
SoSFInt32 fontSize
 
SoSFColor color
 
SoSFFloat alpha
 

Protected Member Functions

 ~SoShowFPS () override
 

Detailed Description

SoShowFPS renders the current frame rate onto the scene.

SoShowFPS renders the current frame rate onto the scene

Definition at line 29 of file SoShowFPS.h.

Constructor & Destructor Documentation

◆ SoShowFPS()

SoShowFPS::SoShowFPS ( )

◆ ~SoShowFPS()

SoShowFPS::~SoShowFPS ( )
overrideprotected

Member Function Documentation

◆ affectsState()

bool SoShowFPS::affectsState ( ) const
inlineoverride

this node does not affect the state, so return false!

Definition at line 44 of file SoShowFPS.h.

◆ GLRender()

void SoShowFPS::GLRender ( SoGLRenderAction *  action)
override

derived render method that renders the FPS

◆ initClass()

static void SoShowFPS::initClass ( )
static

inventor runtime system

Member Data Documentation

◆ alpha

SoSFFloat SoShowFPS::alpha

Definition at line 56 of file SoShowFPS.h.

◆ color

SoSFColor SoShowFPS::color

Definition at line 54 of file SoShowFPS.h.

◆ drawFPS

SoSFBool SoShowFPS::drawFPS

Definition at line 50 of file SoShowFPS.h.

◆ drawRepaintCount

SoSFBool SoShowFPS::drawRepaintCount

Definition at line 49 of file SoShowFPS.h.

◆ fontSize

SoSFInt32 SoShowFPS::fontSize

Definition at line 52 of file SoShowFPS.h.

◆ numAverageFrames

SoSFInt32 SoShowFPS::numAverageFrames

Definition at line 47 of file SoShowFPS.h.


The documentation for this class was generated from the following file: