VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
munitionDispersalAngleDeterminant.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
13 #include <readerWriter/rwReal.h>
14 #include <matrix/vlDcm.h>
15 #include <matrix/vlVector.h>
16 
18 
23 {
24 public:
27 
28  virtual ~DtMunitionDispersalAngleDeterminant() override;
29 
30  virtual DtMunitionDispersalDeterminant* clone() const override;
31 
32  virtual DtMunitionDispersalAngleParams* dispersalAngleParams();
33 
36 
39  virtual void initializeDispersal(
40  const DtPhysicalWorld* physicalWorld, const DtVector& detonationLocation, DtSimObjectReference shooter) override;
41 
45  virtual void nextDetonationResult(DtVector& hitLocation, DtSimObjectReference& hitEntity) const override;
46 
47 protected:
48 
52 
54  double myRange;
55 
58 
61 
63  std::vector<DtUUID> myPossibleHitEntities;
64 };
65 
DtDcm myLocalToTopoDcm
Definition: munitionDispersalAngleDeterminant.h:50
static DtBaseMunitionDispersalDeterminant * creator()
Creator function.
Definition: munitionDispersalAngleDeterminant.h:35
double myProbibilityEntityHit
The chance of a round hitting an entity directly.
Definition: munitionDispersalAngleDeterminant.h:60
std::vector< DtUUID > myPossibleHitEntities
The entities that may be hit.
Definition: munitionDispersalAngleDeterminant.h:63
DtMunitionDispersalDeterminant calculates where individual detonations in a burst of fire or cluster ...
Definition: munitionDispersalDeterminant.h:20
DtDcm myTopoToLocalDcm
Definition: munitionDispersalAngleDeterminant.h:51
virtual DtMunitionDispersalDeterminant * clone() const override=0
The DtPhysicalWorld is the primary interface to and manager of all of the &quot;physical&quot; aspects of the s...
Definition: physicalWorld.h:112
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
double myRange
Range from shooter to detonation.
Definition: munitionDispersalAngleDeterminant.h:54
double myDispersalRange
Dispersal range of rounds around the primary detonation location.
Definition: munitionDispersalAngleDeterminant.h:57
DtMunitionDispersalAngleDeterminant specifies how a burst of fire is dispersed around the target base...
Definition: munitionDispersalAngleDeterminant.h:22
DtVector myTopoDetLocation
Definition: munitionDispersalAngleDeterminant.h:49
virtual void nextDetonationResult(DtVector &hitLocation, DtSimObjectReference &hitEntity) const =0
Determines where the next round hits, and if it directly hits an entity. hitEntity will be invalid if...
virtual void initializeDispersal(const DtPhysicalWorld *physicalWorld, const DtVector &detonationLocation, DtSimObjectReference shooter)
Initializes the determinant for dispersal of a new set of detonations when the location of the shoote...
DtMunitionDispersalAngleParams specifies the parameters used by a determinant to determine how a burs...
Definition: munitionDispersalAngleParams.h:21
DtBaseMunitionDispersalDeterminant is a base class for classes that calculate where individual detona...
Definition: baseMunitionDispersalDeterminant.h:21

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)