#include <TeGenerator.h>
Inheritance diagram for TeGenerator:
This abstract class defines interface for derived classes.
Generators can be used in two different ways with same results. One way is to use generate() method to gain result in single function call. The other way is to call genStep() several times and obtain the result in the near future. The fact that result is ready to use is identified by the TRUE value returned by this method. In case that task is not done yet this function returns FALSE.
Typical usage of some generator should look like this:
Public Member Functions | |
void | reset () |
void | setHMap (TeHeightMap *m) |
virtual void | setDefaults ()=0 |
virtual void | generate ()=0 |
virtual SbBool | genStep ()=0 |
Protected Member Functions | |
virtual void | updateParams ()=0 |
Protected Attributes | |
TeHeightMap * | hmap |
int | stepNum |
int | step |
|
Pure virtual function, see derived classes for more information.
Implemented in TeFaultFormation, and TeLinearFilter. |
|
Pure virtual function, see derived classes for more information.
Implemented in TeFaultFormation, and TeLinearFilter. |
|
Resets current step counter to zero.
|
|
Pure virtual function, see derived classes for more information.
Implemented in TeFaultFormation, and TeLinearFilter. |
|
Sets hmap pointer.
|
|
Pure virtual function, see derived classes for more information.
Implemented in TeFaultFormation, and TeLinearFilter. |
|
Pointer to the heightmap.
|
|
Current step counter.
|
|
Number of steps required to complete task.
|