VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjparam
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
11
#include <
vrfobjparam/powerRangeDeterminant.h
>
12
#include <
vrfobjparam/vrfobjparamDefines.h
>
13
#include <
vrfutil/rwReal.h
>
14
17
class
DT_DLL_vrfobjparam
DtPowerDirectDeterminant
:
public
DtPowerRangeDeterminant
18
{
19
public
:
20
22
DtPowerDirectDeterminant
();
23
26
DtPowerDirectDeterminant
(
const
DtString
& surface,
DtReaderWriterRegistry
*
27
parentRegistry = NULL);
28
DtPowerDirectDeterminant
(
const
DtSymbolString
& surface,
DtReaderWriterRegistry
*
29
parentRegistry = NULL);
31
34
DtPowerDirectDeterminant
(
const
DtString
& name,
const
DtPowerDirectDeterminant
& orig,
35
DtReaderWriterRegistry
* parentRegistry = NULL);
36
DtPowerDirectDeterminant
(
const
DtSymbolString
& name,
const
DtPowerDirectDeterminant
& orig,
37
DtReaderWriterRegistry
* parentRegistry = NULL);
39
40
const
DtPowerDirectDeterminant
&
operator=
(
const
DtPowerDirectDeterminant
& orig);
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
66
static
DtPowerRangeDeterminant
*
creator
() {
return
new
DtPowerDirectDeterminant
(); }
67
68
protected
:
69
73
virtual
void
validateRangeFrom
();
74
77
81
DtRwReal
myDirectPower
;
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
)