VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
envDRSphere.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#ifndef DtEnvironmentalDRSphereRecord_H_
10
#define DtEnvironmentalDRSphereRecord_H_
11
12
13
#include "
envGeometry.h
"
14
19
class
DT_DLL_VL
DtEnvironmentalDRSphereRecord
:
20
public
DtEnvironmentalGeometryRecord
21
{
22
public
:
23
25
DtEnvironmentalDRSphereRecord
();
26
28
DtEnvironmentalDRSphereRecord
(
const
DtEnvironmentalDRSphereRecord
& orig);
29
31
const
DtEnvironmentalDRSphereRecord
&
operator=
(
32
const
DtEnvironmentalDRSphereRecord
& orig);
33
35
virtual
~
DtEnvironmentalDRSphereRecord
();
36
38
virtual
DtEnvironmentalRecord
*
clone
()
const
;
39
40
42
virtual
void
setLocation(
const
DtVector
& location);
43
virtual
const
DtVector
& location()
const
;
44
46
virtual
void
setRadius(
DtFloat32
radius);
47
virtual
DtFloat32
radius()
const
;
48
50
virtual
void
setRadialSpeed(
DtFloat32
radialSpeed);
51
virtual
DtFloat32
radialSpeed()
const
;
52
54
virtual
void
setVelocity(
const
DtVector
& velocity);
55
virtual
const
DtVector
& velocity()
const
;
56
58
virtual
void
setAngularVelocity(
const
DtVector
& angularVelocity);
59
virtual
const
DtVector
& angularVelocity()
const
;
60
64
virtual
bool
createNetworkRepresentation
();
65
67
const
DtNetEnvironmentalDRSphereRecord
* drSphereNetRep()
const
;
68
DtNetEnvironmentalDRSphereRecord
* drSphereNetRep();
69
71
virtual
void
setFromNet
(
const
DtNetEnvironmentalRecord
& buffer);
72
74
virtual
int
netRepSize
()
const
;
75
76
protected
:
77
79
DtEnvironmentalDRSphereRecord
*
self
()
const
;
80
81
protected
:
82
83
DtVector
myCentroid
;
84
DtVector
myVelocity
;
85
DtVector
myAngularVelocity
;
86
};
87
88
89
#endif
90
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)