VR-Forces 4.7 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
worldLocationStructArray.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 <vl/globalObjectDesignator.h>
14
#include <vlpi/entityType.h>
15
#include <vlpi/entityIdentifier.h>
16
#include <vlutil/vlMachineTypes.h>
17
#include <vlutil/vlString.h>
18
#include <matrix/vlVector.h>
19
#include <vector>
20
23
class
DT_DLL_vrfExtObjects
DtWorldLocationStructArray
24
{
25
public
:
26
27
DtWorldLocationStructArray
();
28
DtWorldLocationStructArray
(
const
DtWorldLocationStructArray
& orig);
29
~
DtWorldLocationStructArray
();
30
31
DtWorldLocationStructArray
& operator=(
const
DtWorldLocationStructArray
& orig);
32
33
virtual
void
setWorldLocations(
const
std::vector<DtVector64>& val);
34
virtual
void
addWorldLocation(
const
DtVector64& val);
35
virtual
const
std::vector<DtVector64>& worldLocations()
const
;
36
37
bool
operator==
(
const
DtWorldLocationStructArray
& other)
const
;
38
bool
operator!=
(
const
DtWorldLocationStructArray
& other)
const
;
39
42
virtual
bool
approximatelyEqual(
const
DtWorldLocationStructArray
& other,
double
tolerance = -1.0)
const
;
43
44
int
netSize()
const
;
45
static
int
octetBoundary();
46
unsigned
int
getPaddingSize(DtU64 byteOffset,
unsigned
int
boundary,
unsigned
int
hint = 1)
const
;
47
48
void
writeToBuffer(
char
* buffer )
const
;
49
void
fillFromBuffer(
const
char
* buffer,
int
bufferSize,
int
offset
);
50
51
virtual
void
printData()
const
;
52
53
virtual
void
printDataToStream(std::ostream &)
const
;
54
56
static
double
defaultTolerance();
57
59
static
void
setDefaultTolerance(
double
tolerance);
60
61
protected
:
62
63
std::vector<DtVector64>
myWorldLocations
;
64
65
static
double
theDefaultTolerance
;
// = 0.001
66
};
67
68
DT_DLL_vrfExtObjects
std::ostream&
operator<<
(std::ostream&
stream
,
const
DtWorldLocationStructArray
&);
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)