world::Conf Class Reference

Module configuration. More...

#include <_src_world_conf.hh>

List of all members.

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...


Detailed Description

Module configuration.

Constructor & Destructor Documentation

world::Conf::Conf ( void   ) 

ctor/dtor.


Member Function Documentation

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.


Member Data Documentation

true if Conf was init/read

use World::IfFlat() if possible

disabled by -no-osg-opt

thrice

min alt

max alt

terrain patch

to set orientation

graphical scale

to adjust origin/height of particular terrain model

NW extent of terrain patch.

SE extent of terrain patch.

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


The documentation for this class was generated from the following files:
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:50 2010