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
vrfExtObjects
terrainGeometryAndData.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2017 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrfExtObjects/dllExport.h
>
13
#include <
vrfExtObjects/terrainGeometry.h
>
14
#include <
vrfExtObjects/keyValuePairList.h
>
15
#include <vl/globalObjectDesignator.h>
16
#include <vlpi/entityType.h>
17
#include <vlpi/entityIdentifier.h>
18
#include <vlutil/vlMachineTypes.h>
19
#include <vlutil/vlString.h>
20
#include <matrix/vlVector.h>
21
#include <vector>
22
25
class
DT_DLL_vrfExtObjects
DtTerrainGeometryAndData
26
{
27
public
:
28
DtTerrainGeometryAndData
();
29
~
DtTerrainGeometryAndData
();
30
DtTerrainGeometryAndData
(
const
DtTerrainGeometryAndData
& orig);
31
DtTerrainGeometryAndData
& operator=(
const
DtTerrainGeometryAndData
& orig);
32
33
virtual
void
setGeometry(
const
DtTerrainGeometry
& val);
34
virtual
const
DtTerrainGeometry
& geometry()
const
;
35
virtual
void
setGeometryData(
const
DtKeyValuePairList
& val);
36
virtual
void
addGeometryData(
const
DtKeyValuePair
& val);
37
virtual
const
DtKeyValuePairList
& geometryData()
const
;
38
virtual
void
setEventNumber(
const
DtU32& val);
39
virtual
const
DtU32& eventNumber()
const
;
40
virtual
void
setPriority(
const
DtU32& val);
41
virtual
const
DtU32& priority()
const
;
42
43
bool
operator==
(
const
DtTerrainGeometryAndData
& other)
const
;
44
bool
operator!=
(
const
DtTerrainGeometryAndData
& other)
const
;
45
49
virtual
bool
approximatelyEqual(
const
DtTerrainGeometryAndData
& other,
double
tolerance = -1.0)
const
;
50
51
int
netSize()
const
;
52
static
int
octetBoundary();
53
unsigned
int
getPaddingSize(DtU64 byteOffset,
unsigned
int
boundary)
const
;
54
55
void
writeToBuffer(
char
* buffer )
const
;
56
void
fillFromBuffer(
const
char
* buffer,
int
bufferSize,
int
offset
);
57
58
virtual
void
printData()
const
;
59
virtual
void
printDataToStream(std::ostream &)
const
;
60
61
protected
:
62
63
mutable
DtTerrainGeometry
*
myMutableGeometry
;
64
DtKeyValuePairList
myGeometryData
;
65
DtU32
myEventNumber
;
66
DtU32
myPriority
;
67
};
68
69
DT_DLL_vrfExtObjects
std::ostream&
operator<<
(std::ostream&
stream
,
const
DtTerrainGeometryAndData
&);
70
71
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
)