VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions
DtDynamicTerrainRangeBasedMunitionDamageAlgorithm Class Reference

A high fidelity dynamic terrain damage algorithm that determines damage based on power of the detonation at a range. More...

Inheritance diagram for DtDynamicTerrainRangeBasedMunitionDamageAlgorithm:
Inheritance graph
[legend]

Public Member Functions

 DtDynamicTerrainRangeBasedMunitionDamageAlgorithm ()
 ~DtDynamicTerrainRangeBasedMunitionDamageAlgorithm ()
virtual void generateDamage (const DtVector &localPosition, const DtVector &localDetonationPosition, const DtPowerRangeDeterminantList &detonationPower, const DtHighFidelityTerrainDamageConfig &damageConfig, DtDynamicTerrainMunitionDamageController &controller)
 Generates damage based on the range from the detonation.
virtual double estimateDetonationPower (const DtVector &localPosition, const DtString &damageValue, const DtHighFidelityTerrainDamageConfig &damageConfig, DtDynamicTerrainMunitionDamageController &controller)
 Estimates the approximate detonation power it would take to generate the specified damage value at the given location.
- Public Member Functions inherited from DtDynamicTerrainMunitionDamageAlgorithm
 DtDynamicTerrainMunitionDamageAlgorithm ()
 ~DtDynamicTerrainMunitionDamageAlgorithm ()

Static Public Member Functions

static DtString algorithmId ()

Additional Inherited Members

- Protected Member Functions inherited from DtDynamicTerrainMunitionDamageAlgorithm
virtual DtString currentDamage (const DtVector &localPosition, const DtString &terrainDamageType, DtDynamicTerrainMunitionDamageController &controller)
 Convenience function to look up the current damage value to the terrain at this location.
virtual void damageTerrain (const DtVector &localPosition, const DtString &terrainDamageType, const DtString &damageValue, DtDynamicTerrainMunitionDamageController &controller, unsigned priority=UseDefaultPriority, double delay=0.0)
 Convenience function to perform specific damage to the terrain.
- Static Protected Attributes inherited from DtDynamicTerrainMunitionDamageAlgorithm
static const unsigned UseDefaultPriority

Detailed Description

A high fidelity dynamic terrain damage algorithm that determines damage based on power of the detonation at a range.

If configured, will also create a secondary munition detonation.

Constructor & Destructor Documentation

DtDynamicTerrainRangeBasedMunitionDamageAlgorithm::DtDynamicTerrainRangeBasedMunitionDamageAlgorithm ( )
DtDynamicTerrainRangeBasedMunitionDamageAlgorithm::~DtDynamicTerrainRangeBasedMunitionDamageAlgorithm ( )

Member Function Documentation

virtual void DtDynamicTerrainRangeBasedMunitionDamageAlgorithm::generateDamage ( const DtVector localPosition,
const DtVector localDetonationPosition,
const DtPowerRangeDeterminantList detonationPower,
const DtHighFidelityTerrainDamageConfig damageConfig,
DtDynamicTerrainMunitionDamageController controller 
)
virtual

Generates damage based on the range from the detonation.

Implements DtDynamicTerrainMunitionDamageAlgorithm.

virtual double DtDynamicTerrainRangeBasedMunitionDamageAlgorithm::estimateDetonationPower ( const DtVector localPosition,
const DtString damageValue,
const DtHighFidelityTerrainDamageConfig damageConfig,
DtDynamicTerrainMunitionDamageController controller 
)
virtual

Estimates the approximate detonation power it would take to generate the specified damage value at the given location.

Returns -1 if power could not be estimated.

Implements DtDynamicTerrainMunitionDamageAlgorithm.

static DtString DtDynamicTerrainRangeBasedMunitionDamageAlgorithm::algorithmId ( )
inlinestatic

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)