VISH  0.2
Classes | Public Types | Public Member Functions | Public Attributes
Wizt::VRenderContext Class Reference

Base class for objects that may display something. More...

#include </home/werner/origo/vish/ocean/Anemonia/VRenderContext.hpp>

List of all members.

Classes

Public Types

Public Member Functions

Public Attributes


Detailed Description

Base class for objects that may display something.

Examples:

ClippingPlane.cpp, ComputeGridStreamLines.cpp, ComputeMultiStreamLines.cpp, DemoSphere.cpp, MouseBackground.cpp, and PointSprite.cpp.


Member Function Documentation

int Wizt::VRenderContext::BeginNewRender ( int  MaxRenderObjects) [inline]
Returns:
The shift factor for the number of objects, i.e. retval = int(log2(MaxRenderObjects), such that MaxRenderObjects < 1<<retval.
virtual int Wizt::VRenderContext::render ( const ObjectSelection RenderObjects,
double &  RenderTime,
int  MinLevel = RENDER_FIRST,
int  MaxLevel = RENDER_LAST 
) [pure virtual]

Implementation-specific function to traverse all objects that ought to be rendered.

Parameters:
RenderTimeThe accumulative time (in seconds) used for rendering.
Returns:
The number of objects that had been actually rendered

Implemented in Wizt::VGLRenderContext, and Wizt::WebGLRenderContext.


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