![]() |
VR-Forces 4.10 Class Documentation
|
DtMunitionDispersalDeterminant calculates where individual detonations in a burst of fire or cluster munition should occur. More...

Public Member Functions | |
| DtMunitionDispersalDeterminant () | |
| default constructor More... | |
| virtual | ~DtMunitionDispersalDeterminant () |
| virtual DtMunitionDispersalDeterminant * | clone () const =0 |
| virtual void | initializeDispersal (const DtPhysicalWorld *physicalWorld, const DtVector &detonationLocation, DtSharedVrfObjectReference shooter) |
| Initializes the determinant for dispersal of a new set of detonations when the location of the shooter is known. More... | |
| virtual void | nextDetonationResult (DtVector &hitLocation, DtSharedVrfObjectReference &hitEntity) const =0 |
| Determines where the next round hits, and if it directly hits an entity. More... | |
Public Member Functions inherited from DtBaseMunitionDispersalDeterminant | |
| DtBaseMunitionDispersalDeterminant () | |
| default constructor More... | |
| virtual | ~DtBaseMunitionDispersalDeterminant () |
| virtual DtString | dispersalType () const |
| The type of dispersal this determinant implements. More... | |
| virtual void | setDispersalParams (DtMunitionDispersalParams *params) |
| Sets the params for this determinant. More... | |
| virtual const DtMunitionDispersalParams * | dispersalParams () const |
| Gets the params for this determinant. More... | |
| virtual DtMunitionDispersalParams * | dispersalParams () |
Protected Attributes | |
| const DtPhysicalWorld * | myPhysicalWorld |
| DtVector | myDetonationLocation |
| DtSharedVrfObjectReference | myShooter |
Protected Attributes inherited from DtBaseMunitionDispersalDeterminant | |
| DtMunitionDispersalParams * | myParams |
DtMunitionDispersalDeterminant calculates where individual detonations in a burst of fire or cluster munition should occur.
| DtMunitionDispersalDeterminant::DtMunitionDispersalDeterminant | ( | ) |
default constructor
|
virtual |
|
pure virtual |
Implements DtBaseMunitionDispersalDeterminant.
Implemented in DtMunitionDispersalAngleDeterminant.
|
virtual |
Initializes the determinant for dispersal of a new set of detonations when the location of the shooter is known.
Reimplemented in DtMunitionDispersalAngleDeterminant.
|
pure virtual |
Determines where the next round hits, and if it directly hits an entity.
hitEntity will be invalid if no entity was hit. initializeDispersal must be called before calling this function.
Implemented in DtMunitionDispersalAngleDeterminant.
|
protected |
|
protected |
|
protected |