VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
formationRecord.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: formationRecord.h,v $ $Revision: 1.4 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtFormationRecord_H_
13
#define DtFormationRecord_H_
14
15
#include <matrix/vlVector.h>
16
#include <vector>
17
#include <map>
18
20
21
#include "
vrfobjcore/vrfobjcoreDefines.h
"
22
class
DT_DLL_vrfobjcore
DtFormationRecord
23
{
24
public
:
25
26
DtFormationRecord
();
27
28
DtFormationRecord
(
const
DtFormationRecord
& orig);
29
30
DtFormationRecord
& operator=(
const
DtFormationRecord
& orig);
31
33
virtual
DtFormationRecord
* clone()
const
;
34
35
virtual
void
setPositionIndex(
int
index);
36
virtual
int
positionIndex()
const
;
37
38
virtual
void
setLeadingPositionIndex(
int
index);
39
virtual
int
leadingPositionIndex()
const
;
40
41
virtual
void
setPositionRelativeToLeader(
const
DtVector
& position);
42
virtual
const
DtVector
& positionRelativeToLeader()
const
;
43
44
virtual
void
setSubordinateFormation(
const
DtString
& formationName);
45
virtual
DtString
subordinateFormation()
const
;
46
47
protected
:
48
int
myPositionIndex
;
49
int
myLeadingPositionIndex
;
50
DtVector
myPositionRelativeToLeader
;
51
DtString
mySubordinateFormation
;
52
};
53
54
#endif
55
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)