30 parentRegistry = NULL);
32 parentRegistry = NULL);
55 virtual double detonationPower(
double rangeFromShooter,
double rangeFromImpact)
const override;
76 virtual double minRange()
const;
79 virtual double maxRange()
const;
84 virtual void setEquivalentTntMass(
double);
85 virtual double equivalentTntMass()
const;
91 virtual double rangeFromPower(
double power)
const;
98 virtual double calculateIncidentPressure(
double range)
const;
100 virtual double calculateRange(
double incidentPressure)
const;
104 virtual void determineMinAndMaxRanges();
virtual void postGetSelf() override
Called after reading in settings. Calls validateRangeFrom to ensure the configured rangeFrom value is...
virtual double maximumRangeFromShooter() const =0
Gets the maximum effective range from shooter of this detonation.
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
virtual void validateRangeFrom()=0
Validates the configured range-from setting and restores to a valid default if configuration is unsup...
virtual double maximumRangeFromImpact() const =0
Gets the maximum effective range from impact of this detonation.
DtRwReal myEquivalentTntMass
Parameter Name: equivalent-tnt-mass Parameter Description: The power of an explosive based on the exp...
Definition: powerRangeEquivalentTntDeterminant.h:114
Definition: readerWriterRegistry.h:39
static DtPowerRangeDeterminant * creator()
Creator function.
Definition: powerRangeEquivalentTntDeterminant.h:73
A readable/writable object that indicates the power of a detonation of a given type, potentially at different ranges from the point of impact.
Definition: powerRangeDeterminant.h:17
virtual double rangeFromShooterForPower(double power) const =0
Gets the maximum range from the shooter where the impact point would experience the specified power...
virtual bool operator==(const DtPowerRangeDeterminant &rhs) const
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
double myMaxRange
Definition: powerRangeEquivalentTntDeterminant.h:119
virtual DtPowerRangeDeterminant * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) const =0
const DtPowerRangeDeterminant & operator=(const DtPowerRangeDeterminant &orig)
virtual double detonationPower(double rangeFromShooter, double rangeFromImpact) const =0
Gets the detonation's power the given range from the shooter and range from the point of impact...
virtual double rangeFromImpactForPower(double power) const =0
Gets the maximum range from the impact point where one would experience the specified power...
A readable/writable object that indicates the power of a detonation of a given type as a function of ...
Definition: powerRangeEquivalentTntDeterminant.h:20
double myMinRange
Definition: powerRangeEquivalentTntDeterminant.h:118