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

generators/TeFaultFormation.h

Go to the documentation of this file.
00001 #ifndef TE_FAULT_FORMATION_H
00002 #define TE_FAULT_FORMATION_H
00003 
00004 /*****************************************************************************\
00005  *
00006  * TeFaultFormation.h
00007  *
00008  * TeFaultFormation generator class
00009  *
00010  * Author: Martin Havlíček (xhavli15 AT stud.fit.vutbr.cz)
00011  * Contributors:
00012  *
00013  * ----------------------------------------------------------------------------
00014  *
00015  * THIS SOFTWARE IS NOT COPYRIGHTED
00016  *
00017  * This source code is offered for use in the public domain.
00018  * You may use, modify or distribute it freely.
00019  *
00020  * This source code is distributed in the hope that it will be useful but
00021  * WITHOUT ANY WARRANTY.  ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
00022  * DISCLAIMED.  This includes but is not limited to warranties of
00023  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00024  *
00025  * If you find the source code useful, authors will kindly welcome
00026  * if you give them credit and keep their names with their source code.
00027  *
00028 \*****************************************************************************/
00029 
00037 #include "generators/TeGenerator.h"
00038 
00056 class TeFaultFormation : public TeGenerator {
00057 
00058 private:
00059 
00061   unsigned int _seed;
00063   int _numFaults;
00065   float _minDelta;
00067   float _maxDelta;
00068 
00069 public:
00070 
00078   unsigned int seed;
00086   int numFaults;
00097   float minDelta;
00108   float maxDelta;
00109 
00110   TeFaultFormation();
00111 
00112   virtual void setDefaults();
00113   virtual void updateParams();
00114   virtual void generate();
00115   virtual SbBool genStep();
00116 
00117 };
00118 
00119 
00120 #endif /* TE_FAULT_FORMATION_H */

Generated on Sun May 8 16:45:06 2005 for TerrainEngine by Doxygen 1.4.1