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
terrainDbFactory
additionalDataRecord.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2006 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: additionalDataRecord.h,v $ $Revision: 1.2 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef additionalDataRecord_h
13
#define additionalDataRecord_h
14
15
#include "
terrainDbFactory/metafileRecord.h
"
16
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
17
18
// This is a terrain metafile record that specifies some type of additional
19
// data. Subclasses of this type can hold any additional data necessary.
20
// This class contains an includeInMtd function that must be implemented by
21
// the subclasses.
22
class
DT_DLL_terrainDbFactory
DtAdditionalDataRecord
:
public
DtMetafileRecord
23
{
24
25
public
:
26
28
DtAdditionalDataRecord
();
29
31
virtual
~
DtAdditionalDataRecord
();
32
34
DtAdditionalDataRecord
(
const
DtAdditionalDataRecord
& orig);
35
37
DtAdditionalDataRecord
&
operator=
(
const
DtAdditionalDataRecord
& orig);
38
39
// The return value of this method determines whether this record will
40
// be included in the .mtd file created by the TDB Tool.
41
// Typically this will be true when this data is an output of the TDB
42
// tool and necessary to be read in with the generated terrain into the
43
// simulation applications. False when this is treated as an input
44
// to generating a terrain.
45
virtual
bool
includeInMtd()
const
= 0;
46
47
// \return DtConfigAdditionalDataType
48
virtual
DtConfigCategoryType
recordCategory
()
const
;
49
};
50
51
#endif
52
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
)