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
vrfobjcore
aggregateSpatialData.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
#include "
vrfobjcore/vrfobjcoreDefines.h
"
15
#include "
vrfobjcore/aggregateData.h
"
16
#include "
vrfutil/simBoundingGeometry.h
"
17
#include <matrix/vlTaitBryan.h>
18
#include <matrix/vlVector.h>
19
#include <vlutil/vlSmartPointers.h>
20
21
class
DtAggregateSpatialData
;
22
23
typedef
DtBoost::shared_ptr<DtAggregateSpatialData>
DtAggregateSpatialDataPtr
;
24
typedef
DtBoost::shared_ptr<const DtAggregateSpatialData>
DtAggregateSpatialDataConstPtr
;
25
29
class
DT_DLL_vrfobjcore
DtAggregateSpatialData
:
public
DtAggregateData
30
{
31
public
:
32
34
DtAggregateSpatialData
();
35
37
virtual
~
DtAggregateSpatialData
();
38
40
DtAggregateSpatialData
(
const
DtAggregateSpatialData
& orig);
41
43
DtAggregateSpatialData
&
operator=
(
const
DtAggregateSpatialData
& orig);
44
47
virtual
void
setLocation(
const
DtVector
& location);
48
virtual
const
DtVector
& location()
const
;
50
53
virtual
void
setBoundingGeometry(
const
DtSimBoundingGeometry
& geometry);
54
virtual
const
DtSimBoundingGeometry
& boundingGeometry()
const
;
56
59
virtual
void
setOrientation(
const
DtDcm& orientation);
60
virtual
const
DtDcm& orientation()
const
;
62
65
virtual
void
setVelocity(
const
DtVector
& location);
66
virtual
const
DtVector
& velocity()
const
;
68
71
virtual
void
setHeading(
double
heading);
72
virtual
double
heading()
const
;
74
76
virtual
void
print
()
const
;
77
78
public
:
79
81
static
DtAggregateData
*
create
();
82
83
bool
operator==
(
const
DtAggregateSpatialData
&)
const
;
84
bool
operator!=
(
const
DtAggregateSpatialData
& rhs)
const
{
return
!(*
this
== rhs); };
85
86
protected
:
87
88
DtVector
myLocation;
89
DtSimBoundingGeometry
myBoundingGeometry
;
90
DtDcm
myOrientation
;
91
DtVector
myVelocity
;
92
double
myHeading
;
93
};
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
)