![]() |
VR-Forces 5.0.3 Developer's Guide
|

Public Types | |
| enum | DtMedium { Ground, AboveGround, UnderGround, WaterSurface, AboveWater, UnderWater, UnspecifiedMedium } |
| typedef unsigned int | DtCharacteristics |
Public Member Functions | |
| DtSurface () | |
| virtual | ~DtSurface () |
| DtSurface (const DtSurface &orig) | |
| DtSurface & | operator= (const DtSurface &orig) |
| bool | operator== (const DtSurface &orig) const |
| bool | operator!= (const DtSurface &orig) const |
| virtual const DtColor & | color () const |
| virtual void | setColor (const DtColor &c) |
| virtual void | setSurfaceCharacteristics (DtCharacteristics surfChar) |
| virtual DtCharacteristics | characteristics () const |
| DtString | surfaceCharacteristicsString () const |
| virtual DtMedium | whereSurface () const |
| virtual DtEnvState | envState () const |
| virtual DtSoilType | soilType () const |
| virtual DtBodyOfWaterType | bodyOfWaterType () const |
| virtual DtCulturalFeatureType | culturalFeatureType () const |
| virtual DtString | mediumString () const |
| virtual DtString | envStateString () const |
| virtual DtString | soilTypeString () const |
| virtual DtString | bodyOfWaterTypeString () const |
| virtual DtString | culturalFeatureTypeString () const |
| virtual DtRoughnessSoilType | roughnessSoilType () const |
| virtual DtString | roughnessSoilTypeString () const |
| virtual void | setIsGround (bool onOff) |
| virtual bool | isGround () const |
| virtual void | setAboveGround (bool onOff) |
| virtual bool | aboveGround () const |
| virtual void | setUnderGround (bool onOff) |
| virtual bool | underGround () const |
| virtual void | setIsWaterSurface (bool onOff) |
| virtual bool | isWaterSurface () const |
| virtual void | setAboveWater (bool onOff) |
| virtual bool | aboveWater () const |
| virtual void | setUnderWater (bool onOff) |
| virtual bool | underWater () const |
| virtual void | setIsDry (bool onOff) |
| virtual bool | isDry () const |
| virtual void | setIsWet (bool onOff) |
| virtual bool | isWet () const |
| virtual void | setIsIcy (bool onOff) |
| virtual bool | isIcy () const |
| virtual void | setIsCoveredBySnow (bool onOff) |
| virtual bool | isCoveredBySnow () const |
| virtual void | setIsImproved (bool onOff) |
| virtual bool | isImproved () const |
| virtual bool | isUnimproved () const |
| virtual void | setIsDeep (bool onOff) |
| virtual bool | isDeep () const |
| virtual bool | isShallow () const |
| virtual void | setIsCulturalFeature (bool onOff) |
| virtual bool | isCulturalFeature () const |
| virtual void | setIsSoftSoil (bool onOff) |
| virtual bool | isSoftSoil () const |
| virtual void | setIsSwamp (bool onOff) |
| virtual bool | isSwamp () const |
| virtual void | setIsMud (bool onOff) |
| virtual bool | isMud () const |
| virtual void | setIsForest (bool onOff) |
| virtual bool | isForest () const |
| virtual void | setIsGrass (bool onOff) |
| virtual bool | isGrass () const |
| virtual void | setIsCultivatedField (bool onOff) |
| virtual bool | isCultivatedField () const |
| virtual void | setIsOrchard (bool onOff) |
| virtual bool | isOrchard () const |
| virtual void | setIsRock (bool onOff) |
| virtual bool | isRock () const |
| virtual void | setIsBoulder (bool onOff) |
| virtual bool | isBoulder () const |
| virtual void | setIsSand (bool onOff) |
| virtual bool | isSand () const |
| virtual void | setIsDirtRoad (bool onOff) |
| virtual bool | isDirtRoad () const |
| virtual void | setIsGravelRoad (bool onOff) |
| virtual bool | isGravelRoad () const |
| virtual void | setIsPavedRoad (bool onOff) |
| virtual bool | isPavedRoad () const |
| virtual void | setIsMuddyRoad (bool onOff) |
| virtual bool | isMuddyRoad () const |
| virtual void | setIsHardSurface (bool onOff) |
| virtual bool | isHardSurface () const |
| virtual void | setIsUSRailRoad (bool onOff) |
| virtual bool | isUSRailRoad () const |
| virtual void | setIsEuroRailRoad (bool onOff) |
| virtual bool | isEuroRailRoad () const |
| virtual void | setIsFlimsy (bool onOff) |
| virtual bool | isFlimsy () const |
| virtual void | setIsUndefinedSoilType (bool onOff) |
| virtual bool | isUndefinedSoilType () const |
| virtual void | setUndefinedSoilType (bool onOff) |
| virtual bool | undefinedSoilType () const |
| virtual bool | characteristicsFromString (std::string characteristicsString, bool warn=true) |
| virtual bool | characteristicsFromSubString (std::string characteristicsString, bool warn=true) |
| virtual void | dump () const |
| virtual void | maxColor (DtColor &theColor) |
| DtColor | colorForSurfaceType () const |
| virtual bool | readFrom (FILE *fp) |
| virtual bool | writeTo (FILE *fp) |
| virtual void | setIsOcean (bool onOff) |
| virtual bool | isOcean () const |
| virtual void | setIsLake (bool onOff) |
| virtual bool | isLake () const |
| virtual void | setIsRiver (bool onOff) |
| virtual bool | isRiver () const |
| virtual void | setIsPond (bool onOff) |
| virtual bool | isPond () const |
| virtual void | setIsStream (bool onOff) |
| virtual bool | isStream () const |
| virtual void | setIsBrook (bool onOff) |
| virtual bool | isBrook () const |
| virtual void | setIsTree (bool onOff) |
| virtual bool | isTree () const |
| virtual void | setIsBuilding (bool onOff) |
| virtual bool | isBuilding () const |
Static Public Member Functions | |
| static DtString | soilTypeToString (DtRoughnessSoilType type) |
| static DtRoughnessSoilType | stringToSoilType (const DtString &string) |
| static DtSurface & | nullSurface () |
| static void | setSurfaceToRoughnessMapper (DtMapSurfaceToRoughness &surfaceToRoughnessMapper) |
| static DtSurfaceCharacteristicStringMapper * | surfaceCharacteristicStringMapper () |
| static DtSurfaceCharacteristicStringMapper * | setSurfaceCharacteristicStringMapper (DtSurfaceCharacteristicStringMapper *mapper) |
Protected Member Functions | |
| std::string | customToLower (const std::string &stringToConvert, const std::locale loc=std::locale::classic()) const |
| std::string | trimString (const std::string &strToTrim) |
| virtual void | setRoughnessSoilType () |
Protected Attributes | |
| DtCharacteristics | myCharacteristics |
| DtColor | myColor |
| DtRoughnessSoilType | myRoughness |
| typedef unsigned int DtSurface::DtCharacteristics |
| enum DtSurface::DtMedium |
| DtSurface::DtSurface | ( | ) |
|
virtual |
| DtSurface::DtSurface | ( | const DtSurface & | orig | ) |
|
inlinevirtual |
References myCharacteristics, and setRoughnessSoilType().
|
inlinevirtual |
References myCharacteristics.
| DtString DtSurface::surfaceCharacteristicsString | ( | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Accessor/Mutator functions for medium.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Accessor/Mutator functions for environmental state.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| DtColor DtSurface::colorForSurfaceType | ( | ) | const |
|
virtual |
|
virtual |
|
static |
|
static |
|
static |
|
static |
|
static |
Set to override the surfaceCharacteristicsString() method with the class that will implement that method to return a surface characteristic string.
|
static |
|
protected |
|
protected |
|
protectedvirtual |
Referenced by setSurfaceCharacteristics().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
Referenced by characteristics(), and setSurfaceCharacteristics().
|
protected |
Referenced by color(), and setColor().
|
protected |
|
staticprotected |