VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
detonationContext.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: detonationContext.h,v $ $Revision: 1.6 $ $State: Exp $
7
*********************************************************************/
8
#ifndef detonationContext_H_
9
#define detonationContext_H_
10
13
14
#include "tdbutil/symStr.h"
15
#include "
vrfutil/simMunition.h
"
16
#include "
vrfobjcore/vrfObject.h
"
17
#include <vl/detonateInter.h>
18
26
#include "
vrfobjcore/vrfobjcoreDefines.h
"
27
class
DT_DLL_vrfobjcore
DtDetonationContext
28
{
29
public
:
30
31
DtDetonationContext
(
const
DtDetonationInteraction
& detonationInteraction);
32
33
virtual
~
DtDetonationContext
();
34
36
virtual
const
DtDetonationInteraction
& detonationInter()
const
;
37
41
virtual
void
setIsDirectFire(
bool
isDirect);
42
virtual
bool
isDirectFire()
const
;
43
47
virtual
void
setRange(
double
range);
48
virtual
double
range()
const
;
49
51
virtual
void
setSurface(
const
DtSymbolString& surface);
52
virtual
DtSymbolString surface()
const
;
53
55
virtual
void
setAngleOfIncidence(
double
angleOfIncidence);
56
virtual
double
angleOfIncidence()
const
;
57
59
virtual
void
setMunition(
const
DtSimMunition
& munition);
60
virtual
const
DtSimMunition
& munition()
const
;
61
62
private
:
63
64
const
DtDetonationInteraction
&
myDetonationInteraction
;
66
DtSimMunition
myMunition
;
67
bool
myIsDirectFire
;
68
DtSymbolString
mySurface
;
69
double
myAngleOfIncidence
;
70
double
myRange
;
71
};
72
73
74
#endif
75
76
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)