Detailed Description
ciTerrain class declaration
Member Enumeration Documentation
- Description
- Enumerates the defined terrain projection types
- Enumerator:
-
- Description
- Enumerates the defined terrain texture types
- Enumerator:
-
Constructor & Destructor Documentation
- Copy constructor.
- Parameters
-
| virtual ciTerrain::~ciTerrain |
( |
| ) |
|
|
virtual |
Member Function Documentation
| char* ciTerrain::getName |
( |
| ) |
|
|
inline |
- gets the name associated with the terrain database.
- Returns
- The name associated with the terrain database.
References m_name.
| void ciTerrain::setName |
( |
const char * |
name | ) |
|
|
inline |
- sets the name associated with the terrain database.
- Parameters
-
| name | - The name to be associated with the terrain database. |
- Returns
- void.
References m_name.
| char* ciTerrain::getTerrainFilepath |
( |
| ) |
|
|
inline |
- gets the filename and path of the terrain database.
- Returns
- The complete path and filename of the terrain database.
| void ciTerrain::setTerrainFilepath |
( |
char * |
terrainFilepath | ) |
|
|
inline |
- sets the filename and path of the terrain database.
- Parameters
-
| terrainFilepath | - The complete path and filename of the terrain database. |
- Returns
- void.
| int ciTerrain::getProjectionType |
( |
| ) |
|
|
inline |
- gets terrain projection type.
- Returns
- The enumerated terrain projection type.
| void ciTerrain::setProjectionType |
( |
int |
projectionType | ) |
|
|
inline |
- sets terrain projection type.
- Parameters
-
| projectionType | - The enumerated terrain projection type. |
- Returns
- void.
| int ciTerrain::getTextureType |
( |
| ) |
|
|
inline |
- gets terrain Texture type.
- Returns
- The enumerated terrain Texture type.
| void ciTerrain::setTextureType |
( |
int |
textureType | ) |
|
|
inline |
- sets terrain Texture type.
- Parameters
-
| textureType | - The enumerated terrain Texture type. |
- Returns
- void.
| void ciTerrain::getSWOrigin |
( |
double & |
latitude, |
|
|
double & |
longitude |
|
) |
| |
- gets the south west origin latitude and longitude of the database.
- Parameters
-
| latitude | - The south west origin latitude. |
| longitude | - The south west origin longitude. |
- Returns
- void.
| void ciTerrain::setSWOrigin |
( |
double |
latitude, |
|
|
double |
longitude |
|
) |
| |
- gets the south west origin latitude and longitude of the database.
- Parameters
-
| latitude | - The south west origin latitude. |
| longitude | - The south west origin longitude. |
- Returns
- void.
| void ciTerrain::getPositionOffset |
( |
double & |
x, |
|
|
double & |
y |
|
) |
| |
- gets the x,y offset of the database.
- Parameters
-
| x | - The x offset in world coordinates. |
| y | - The y offset in world coordinates. |
- Returns
- void.
| void ciTerrain::setPositionOffset |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
- sets the x,y offset of the database.
- Parameters
-
| x | - The x offset in world coordinates. |
| y | - The y offset in world coordinates. |
- Returns
- void.
| char* ciTerrain::getMtlsysFilepath |
( |
| ) |
|
|
inline |
- gets the filename and path of the material system database associated with the terrain.
- Returns
- The complete path and filename of the material system database.
| void ciTerrain::setMtlsysFilepath |
( |
char * |
mtlsysFilepath | ) |
|
|
inline |
- sets the filename and path of the material system database associated with the terrain.
- Parameters
-
| mtlsysFilepath | - The complete path and filename of the material system database. |
- Returns
- void.
| double ciTerrain::getThermalSpinup |
( |
| ) |
|
|
inline |
- gets the thermal spin-up period.
- Returns
- Thermal spin-up period [hrs].
| void ciTerrain::setThermalSpinup |
( |
double |
thermalSpinup | ) |
|
|
inline |
- gets the thermal spin-up period.
- Parameters
-
| thermalSpinup | - Thermal spin-up period [hrs]. |
- Returns
- void.
| void ciTerrain::setVisbility |
( |
bool |
visibility | ) |
|
|
inline |
- Sets the visibility flag.
- Parameters
-
| visibility | - new visibility flag. |
- Returns
- void.
| bool ciTerrain::getVisbility |
( |
| ) |
|
|
inline |
- Gets the visibility flag.
- Returns
- The current setting for the visibility flag.
| bool ciTerrain::getEnableTrees |
( |
| ) |
|
|
inline |
| void ciTerrain::setEnableTrees |
( |
bool |
flag | ) |
|
|
inline |
| bool ciTerrain::getEnableTreeWind |
( |
| ) |
|
|
inline |
| void ciTerrain::setEnableTreeWind |
( |
bool |
flag | ) |
|
|
inline |
| bool ciTerrain::getForceTreeBillboards |
( |
| ) |
|
|
inline |
| void ciTerrain::setForceTreeBillboards |
( |
bool |
flag | ) |
|
|
inline |
| bool ciTerrain::getEnableTerrainObjects |
( |
| ) |
|
|
inline |
| void ciTerrain::setEnableTerrainObjects |
( |
bool |
flag | ) |
|
|
inline |
| void ciTerrain::setAltitude |
( |
double |
altitude | ) |
|
|
inline |
| double ciTerrain::getAltitude |
( |
| ) |
|
|
inline |
| void ciTerrain::setLodScale |
( |
double |
scale | ) |
|
|
inline |
| double ciTerrain::getLodScale |
( |
| ) |
|
|
inline |
| void ciTerrain::setMultiSampleBlending |
( |
bool |
enable | ) |
|
|
inline |
Set the enable flag for multi-sample blending.
The default state is disabled.
| bool ciTerrain::getMultiSampleBlending |
( |
| ) |
|
|
inline |
| bool ciTerrain::getTerrainCenterEnabled |
( |
| ) |
|
|
inline |
| void ciTerrain::setTerrainCenterEnabled |
( |
bool |
enabled | ) |
|
|
inline |
| int ciTerrain::getBrdf |
( |
| ) |
|
| void ciTerrain::setBrdf |
( |
int |
brdf | ) |
|
| double ciTerrain::getRoughness |
( |
| ) |
|
| void ciTerrain::setRoughness |
( |
double |
roughness | ) |
|
| int ciTerrain::getOptimize |
( |
| ) |
|
| void ciTerrain::setOptimize |
( |
int |
optimize | ) |
|
| bool ciTerrain::archive |
( |
std::ofstream & |
outf | ) |
|
- Description:
- Saves the ciTerrain object to file.
- Parameters
-
| filepath | - complete path and filename to the file |
| flags | - file io flags to be set. |
- Returns
- true if sucessful
| bool ciTerrain::serialize |
( |
char * |
filepath | ) |
|
- Description:
- Loads the ciTerrain object from file.
- Parameters
-
| filepath | - complete path and filename to the file |
- Returns
- true if sucessful
| bool ciTerrain::parseXML |
( |
clXML & |
xmlDocument | ) |
|
- Parameters
-
| std::string | tag |
| char | *nodeString |
- Returns
- bool
- Parameters
-
| std::string | tag |
| bool | *nodeBool |
- Returns
- bool
- Parameters
-
| std::string | tag |
| int | *nodeBool |
- Returns
- bool
- Parameters
-
| std::string | tag |
| double | *nodeBool |
- Returns
- bool
| void ciTerrain::saveXML |
( |
clXML * |
xmlDocument | ) |
|
- Assignment operator.
- Parameters
-
- Returns
- The assigned ciTerrain object.
Member Data Documentation
| char ciTerrain::m_name[128] |
|
protected |
Name applied to the terrain, i.e., "Ft. Irwin".
| char ciTerrain::m_terrainFilepath[512] |
|
protected |
Complete path and filename of the terrain database.
| int ciTerrain::m_projectionType |
|
protected |
Terrain database projection type.
| int ciTerrain::m_textureType |
|
protected |
Terrain database texture type.
| double ciTerrain::m_swOriginLatitude |
|
protected |
Southwest latitude of the database origin [deg].
| double ciTerrain::m_swOriginLongitude |
|
protected |
Southwest longitude of the database origin [deg].
| double ciTerrain::m_offsetX |
|
protected |
X position offset from the database origin [database units].
| double ciTerrain::m_offsetY |
|
protected |
Y position offset from the database origin [database units].
| char ciTerrain::m_mtlsysFilepath[512] |
|
protected |
Complete path and filename of the material system database.
| double ciTerrain::m_thermalSpinup |
|
protected |
Thermal spin-up period [hrs].
| bool ciTerrain::m_visibility |
|
protected |
| bool ciTerrain::m_treeWind |
|
protected |
| bool ciTerrain::m_terrainObjects |
|
protected |
| double ciTerrain::m_altitude |
|
protected |
| bool ciTerrain::m_forceTreeBillboards |
|
protected |
| double ciTerrain::m_lodScale |
|
protected |
| bool ciTerrain::m_multiSampleBlending |
|
protected |
| bool ciTerrain::m_terrainCenterEnabled |
|
protected |
Use terrain centering in configFileIO?
| double ciTerrain::m_roughness |
|
protected |
| int ciTerrain::m_optimize |
|
protected |
The documentation for this class was generated from the following file: