VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
aggregateSpatialData.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2006 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: aggregateSpatialData.h,v $ $Revision: 1.3 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtAggregateSpatialData_H_
16
#define DtAggregateSpatialData_H_
17
18
#include "
vrfobjcore/vrfobjcoreDefines.h
"
19
#include "
vrfobjcore/aggregateData.h
"
20
#include "
vrfutil/boundingGeom.h
"
21
#include <matrix/vlTaitBryan.h>
22
#include <matrix/vlVector.h>
23
#include <vlutil/vlSmartPointers.h>
24
25
class
DtAggregateSpatialData
;
26
27
typedef
DtBoost::shared_ptr<DtAggregateSpatialData>
DtAggregateSpatialDataPtr
;
28
typedef
DtBoost::shared_ptr<const DtAggregateSpatialData>
DtAggregateSpatialDataConstPtr
;
29
33
class
DT_DLL_vrfobjcore
DtAggregateSpatialData
:
public
DtAggregateData
34
{
35
public
:
36
38
DtAggregateSpatialData
();
39
41
virtual
~
DtAggregateSpatialData
();
42
44
DtAggregateSpatialData
(
const
DtAggregateSpatialData
& orig);
45
47
DtAggregateSpatialData
&
operator=
(
const
DtAggregateSpatialData
& orig);
48
51
virtual
void
setLocation(
const
DtVector
& location);
52
virtual
const
DtVector
& location()
const
;
54
57
virtual
void
setBoundingGeometry(
const
DtSimBoundingGeometry
& geometry);
58
virtual
const
DtSimBoundingGeometry
& boundingGeometry()
const
;
60
63
virtual
void
setOrientation(
const
DtDcm& orientation);
64
virtual
const
DtDcm& orientation()
const
;
66
69
virtual
void
setVelocity(
const
DtVector
& location);
70
virtual
const
DtVector
& velocity()
const
;
72
75
virtual
void
setHeading(
double
heading);
76
virtual
double
heading()
const
;
78
80
virtual
void
print
()
const
;
81
82
public
:
83
85
static
DtAggregateData
*
create
();
86
87
protected
:
88
89
DtVector
myLocation
;
90
DtSimBoundingGeometry
myBoundingGeometry
;
91
DtDcm
myOrientation
;
92
DtVector
myVelocity
;
93
double
myHeading
;
94
};
95
96
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)