CrystalSpace

Public API Reference

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

csGenerateImageValueFunc Class Reference

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

#include <cstool/gentrtex.h>

Inheritance diagram for csGenerateImageValueFunc:

csGenerateImageValue List of all members.

Public Member Functions

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 194 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 207 of file gentrtex.h.

void csGenerateImageValueFunc::SetFunction iGenerateImageFunction func  )  [inline]
 

Set the function.

Definition at line 212 of file gentrtex.h.


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