VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
powerRangeListDeterminant.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 
14 
18 {
23 
24 public:
25 
28 
32  parentRegistry = NULL);
34  parentRegistry = NULL);
36 
40  DtReaderWriterRegistry* parentRegistry = NULL);
42  DtReaderWriterRegistry* parentRegistry = NULL);
44 
46 
48  virtual ~DtPowerRangeListDeterminant();
49 
50  virtual DtPowerRangeListDeterminant* clone(const DtString& name,
51  DtReaderWriterRegistry* parentRegistry = NULL) const;
53  DtReaderWriterRegistry* parentRegistry = NULL) const;
54 
56  virtual double detonationPower(double rangeFromShooter, double rangeFromImpact) const;
57 
59  virtual double rangeFromShooterForPower(double power) const;
60 
62  virtual double rangeFromImpactForPower(double power) const;
63 
65  virtual double maximumRangeFromShooter() const;
66 
68  virtual double maximumRangeFromImpact() const;
69 
72 
73 protected:
74 
76  virtual double powerFromRange(double range) const;
77 
79  virtual double rangeFromPower(double power) const;
80 
84  virtual void validateRangeFrom();
85 
88 
96 
98 };
99 
100 

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)