#include <_src_world_conf.hh>
Public Member Functions | |
| Conf (void) | |
| void | Init (int argc, char **argv, const string &confTxtFilename) |
Public Attributes | |
| bool | mValid |
| true if Conf was init/read | |
| bool | mFlatWorld |
| use World::IfFlat() if possible | |
| bool | mEnableOsgOptimizer |
| disabled by -no-osg-opt | |
| fp | mObjectScale |
| Vector3 | mObjectScale3 |
| thrice | |
| Meter | mWorldAltitudeMin |
| min alt | |
| Meter | mWorldAltitudeMax |
| max alt | |
| string | mFlatModelFile |
| terrain patch | |
| RotationList | mFlatModelRotationList |
| to set orientation | |
| fp | mFlatModelScale |
| graphical scale | |
| WorldVertex | mFlatModelOffset |
| to adjust origin/height of particular terrain model | |
| SphereVertex | mFlatModelNW |
| NW extent of terrain patch. | |
| SphereVertex | mFlatModelSE |
| SE extent of terrain patch. | |
| GeoVertex | mFlatModelMeterOffset |
| to adjust center of world | |
| fp | mFlatModelMeterSimRatio |
| multiplying this by a meter converts to graphical coordinates | |
| Meter | mFlatModelMeterLowAlt |
| approx low altitude, for World::IfLowAltitude() | |
| Meter | mFlatModelMeterAltMin |
| for computing volume | |
| Meter | mFlatModelMeterAltMax |
| for computing volume | |
Private Member Functions | |
| void | ParseCmdlineArgs (int argc, char **argv) |
| void | ParseCmdlineArgs2 (int argc, char **argv) |
| void | ReadConfTxt (const string &confTxtFilename) |
Classes | |
| class | ModuleConfTxt |
| Template Method to parse fields in .conf file. More... | |
| world::Conf::Conf | ( | void | ) |
ctor/dtor.
| void world::Conf::Init | ( | int | argc, | |
| char ** | argv, | |||
| const string & | confTxtFilename | |||
| ) |
Initialize/read configuration.
| void world::Conf::ParseCmdlineArgs | ( | int | argc, | |
| char ** | argv | |||
| ) | [private] |
Parse cmdline args.
| void world::Conf::ParseCmdlineArgs2 | ( | int | argc, | |
| char ** | argv | |||
| ) | [private] |
| void world::Conf::ReadConfTxt | ( | const string & | confTxtFilename | ) | [private] |
Read from .conf file.
| bool world::Conf::mValid |
true if Conf was init/read
use World::IfFlat() if possible
disabled by -no-osg-opt
| Vector3 world::Conf::mObjectScale3 |
thrice
min alt
max alt
| string world::Conf::mFlatModelFile |
terrain patch
to set orientation
graphical scale
| WorldVertex world::Conf::mFlatModelOffset |
to adjust origin/height of particular terrain model
| SphereVertex world::Conf::mFlatModelNW |
NW extent of terrain patch.
| SphereVertex world::Conf::mFlatModelSE |
SE extent of terrain patch.
| GeoVertex world::Conf::mFlatModelMeterOffset |
to adjust center of world
multiplying this by a meter converts to graphical coordinates
approx low altitude, for World::IfLowAltitude()
for computing volume
for computing volume
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:50 2010