VISH  0.2
Public Types | Public Member Functions | Public Attributes | Protected Attributes | Friends
Wizt::VEnvironmentRenderObject Class Reference

Base class for VObjects that may do some rendering. More...

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

List of all members.

Public Types

Public Member Functions

Public Attributes

Protected Attributes

Friends


Detailed Description

Base class for VObjects that may do some rendering.

Any VEnvironmentRenderObject will set itself as an input to all existing VScene objects.


Member Function Documentation

void Wizt::VEnvironmentRenderObject::announce ( const string name,
const VCamera ViewpointProperties,
const RefPtr< ValuePool > &  Context 
) const

Announce a specific viewpoint as a possible suggestion on how to view this object.

The string must be unique. There may be an arbitrary number of viewpoints suggested, but it is recommended to keep this number as low as possible, ideally less than five.

void Wizt::VEnvironmentRenderObject::getRenderPrecision ( VRenderContext Context,
double &  OverallPrecision,
double &  ThisContribution 
) const

Retrieve render precision parameters:

Parameters:
OverallPrecisionAn overall factor telling how far too slow the rendering is. With 1.0, it's all fine, with 0.5, rendering rather should be twice as fast.
ThisContributionA factor of how much this current object contributes to rendering. If this is a large number, then this object is the bottleneck.

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