CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csGenerateImageValueFunc Class Reference

This class will generate a value using a given function. More...

#include <gentrtex.h>

Inheritance diagram for csGenerateImageValueFunc:

csGenerateImageValue List of all members.

Public Methods

virtual float GetValue (float x, float y)
 Get the value for location.

void SetFunction (iGenerateImageFunction *func)
 Set the function.


Detailed Description

This class will generate a value using a given function.

For heights or slopes.

Definition at line 189 of file gentrtex.h.


Member Function Documentation

virtual float csGenerateImageValueFunc::GetValue float    x,
float    y
[inline, virtual]
 

Get the value for location.

Implements csGenerateImageValue.

Definition at line 202 of file gentrtex.h.

void csGenerateImageValueFunc::SetFunction iGenerateImageFunction   func [inline]
 

Set the function.

Definition at line 207 of file gentrtex.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18