VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
powerRangeCoefficientsDeterminant.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 #include <vrfutil/rwString.h>
15 
21 {
22 public:
25 
27  DtPowerCoefficients(const DtString& name, DtReaderWriterRegistry* parentRegistry = NULL)
28  : DtPrbProbabilityCoefficients(name, parentRegistry) {}
29 
30  DtPowerCoefficients(const DtSymbolString& name, DtReaderWriterRegistry* parentRegistry = NULL)
31  : DtPrbProbabilityCoefficients(name, parentRegistry) {}
32 
35  DtReaderWriterRegistry* parentRegistry = NULL)
36  : DtPrbProbabilityCoefficients(name, orig, parentRegistry) {}
37 
39  DtReaderWriterRegistry* parentRegistry = NULL)
40  : DtPrbProbabilityCoefficients(name, orig, parentRegistry) {}
41 
43  virtual ~DtPowerCoefficients() {}
44 
46  virtual DtReal powerAtRange(DtReal range) const;
47 
48 };
49 
50 
54 {
55 public:
56 
59 
63  parentRegistry = NULL);
65  parentRegistry = NULL);
67 
71  DtReaderWriterRegistry* parentRegistry = NULL);
73  DtReaderWriterRegistry* parentRegistry = NULL);
75 
77 
80 
82  DtReaderWriterRegistry* parentRegistry = NULL) const;
84  DtReaderWriterRegistry* parentRegistry = NULL) const;
85 
87  virtual double detonationPower(double rangeFromShooter, double rangeFromImpact) const;
88 
90  virtual double rangeFromShooterForPower(double power) const;
91 
93  virtual double rangeFromImpactForPower(double power) const;
94 
96  virtual double maximumRangeFromShooter() const;
97 
99  virtual double maximumRangeFromImpact() const;
100 
103 
104 protected:
105 
107  virtual double rangeFromPower(double power) const;
108 
112  virtual void validateRangeFrom();
113 
116 
127 
129 
130 };
131 
132 

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)