VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfExtObjects
worldLocationStructArray.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2016 MAK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
6
#pragma once
7
8
#include <
vrfExtObjects/vrfExtObjectsDefines.h
>
9
10
#include <vlutil/vlMachineTypes.h>
11
#include <matrix/vlVector.h>
12
#include <vl/globalObjectDesignator.h>
13
#include <vlpi/entityType.h>
14
#include <vlpi/entityIdentifier.h>
15
#include <vlutil/vlString.h>
16
#include <vector>
17
20
class
DT_DLL_vrfExtObjects
DtWorldLocationStructArray
21
{
22
public
:
23
DtWorldLocationStructArray
();
24
~
DtWorldLocationStructArray
();
25
DtWorldLocationStructArray
(
const
DtWorldLocationStructArray
& orig);
26
DtWorldLocationStructArray
& operator=(
const
DtWorldLocationStructArray
& orig);
27
28
29
virtual
void
setWorldLocations(
const
std::vector<DtVector64>& val);
30
virtual
void
addWorldLocation(
const
DtVector64& val);
31
virtual
const
std::vector<DtVector64>& worldLocations()
const
;
32
33
bool
operator==
(
const
DtWorldLocationStructArray
& other)
const
;
34
bool
operator!=
(
const
DtWorldLocationStructArray
& other)
const
;
35
38
virtual
bool
approximatelyEqual(
const
DtWorldLocationStructArray
& other,
double
tolerance = -1.0)
const
;
39
40
int
netSize()
const
;
41
static
int
octetBoundary();
42
unsigned
int
getPaddingSize(DtU64 byteOffset,
unsigned
int
boundary,
unsigned
int
hint = 1)
const
;
43
44
void
writeToBuffer(
char
* buffer )
const
;
45
void
fillFromBuffer(
const
char
* buffer,
int
bufferSize,
int
offset
);
46
47
virtual
void
printData()
const
;
48
49
virtual
void
printDataToStream(std::ostream &)
const
;
50
52
static
double
defaultTolerance();
53
55
static
void
setDefaultTolerance(
double
tolerance);
56
57
protected
:
58
59
std::vector<DtVector64>
myWorldLocations
;
60
61
static
double
theDefaultTolerance
;
// = 0.001
62
};
63
64
DT_DLL_vrfExtObjects
std::ostream&
operator<<
(std::ostream&
stream
,
const
DtWorldLocationStructArray
&);
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)