XII Release 0.1.0
Loading...
Searching...
No Matches
xiiVolumeSampler Class Reference

A volume sampler is used to sample the registered values from volumes at a given position. It also takes care of interpolation over time of those values. More...

#include <VolumeSampler.h>

Public Member Functions

void RegisterValue (xiiHashedString sName, xiiVariant defaultValue, xiiTime interpolationDuration=xiiTime::MakeZero())
 
void DeregisterValue (xiiHashedString sName)
 
void DeregisterAllValues ()
 
void SampleAtPosition (const xiiWorld &world, xiiSpatialData::Category spatialCategory, const xiiVec3 &vGlobalPosition, xiiTime deltaTime)
 
xiiVariant GetValue (xiiTempHashedString sName) const
 

Static Public Member Functions

static xiiUInt32 ComputeSortingKey (float fSortOrder, float fMaxScale)
 

Detailed Description

A volume sampler is used to sample the registered values from volumes at a given position. It also takes care of interpolation over time of those values.


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