version 3.3

VRS::FrameCounter Class Reference

#include <vrs/sg/framecounter.h>

Inheritance diagram for VRS::FrameCounter:

VRS::SceneNode VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 FrameCounter (bool onlyFrames=true)
virtual void evaluate (Engine *engine)
double framerate ()
double currentFramerate (int numAvgValues=20)
 VRS_TYPEINFO (FrameCounter, SceneNode)
 VRS_SERIALIZABLE (FrameCounter)


Constructor & Destructor Documentation

VRS::FrameCounter::FrameCounter ( bool  onlyFrames = true  ) 

Counts the number of frames if 'onlyFrames' is true, otherwise all passes are counted


Member Function Documentation

virtual void VRS::FrameCounter::evaluate ( Engine engine  )  [virtual]

Geometry nodes are parameterized by rendering engines. That is, one scene graph may be traversed by several rendering engines (e.g., an engine for each canvas of a multiview application). Evaluate passes attributes, shapes, and handlers to the rendering engine, and delegates the evaluation to subgraphs.

Reimplemented from VRS::SceneNode.

double VRS::FrameCounter::framerate (  ) 

double VRS::FrameCounter::currentFramerate ( int  numAvgValues = 20  ) 

VRS::FrameCounter::VRS_TYPEINFO ( FrameCounter  ,
SceneNode   
)

VRS::FrameCounter::VRS_SERIALIZABLE ( FrameCounter   ) 


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

Generated on Mon May 21 06:00:26 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact