VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
powerDirectDeterminant.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/rwReal.h>
14 
18 {
19 public:
20 
23 
27  parentRegistry = NULL);
29  parentRegistry = NULL);
31 
35  DtReaderWriterRegistry* parentRegistry = NULL);
37  DtReaderWriterRegistry* parentRegistry = NULL);
39 
41 
43  virtual ~DtPowerDirectDeterminant();
44 
45  virtual DtPowerDirectDeterminant* clone(const DtString& name,
46  DtReaderWriterRegistry* parentRegistry = NULL) const;
47  virtual DtPowerDirectDeterminant* clone(const DtSymbolString& name,
48  DtReaderWriterRegistry* parentRegistry = NULL) const;
49 
51  virtual double detonationPower(double rangeFromShooter, double rangeFromImpact) const;
52 
54  virtual double rangeFromShooterForPower(double power) const;
55 
57  virtual double rangeFromImpactForPower(double power) const;
58 
60  virtual double maximumRangeFromShooter() const;
61 
63  virtual double maximumRangeFromImpact() const;
64 
67 
68 protected:
69 
73  virtual void validateRangeFrom();
74 
77 
82 
84 
85 };
86 
87 

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)