VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
environmentalSphereRecord.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 DtEnvironmentalSphereRecord_H_
10
#define DtEnvironmentalSphereRecord_H_
11
12
13
#include "
environmentalGeometryRecord.h
"
14
15
19
20
class
DT_DLL_VL
DtEnvironmentalSphereRecord
:
21
public
DtEnvironmentalGeometryRecord
22
{
23
public
:
24
DtEnvironmentalSphereRecord
();
25
26
DtEnvironmentalSphereRecord
(
const
DtEnvironmentalSphereRecord
& orig);
27
28
const
DtEnvironmentalSphereRecord
&
operator=
(
29
const
DtEnvironmentalSphereRecord
& orig);
30
31
virtual
~
DtEnvironmentalSphereRecord
();
32
33
virtual
DtEnvironmentalRecord
*
clone
()
const
;
34
35
virtual
void
setLocation(
const
DtVector
& location);
36
virtual
const
DtVector
& location()
const
;
37
38
virtual
void
setRadius(
DtFloat32
radius);
39
virtual
DtFloat32
radius()
const
;
40
44
virtual
bool
createNetworkRepresentation
();
45
47
const
DtNetEnvironmentalSphereRecord
* sphereNetRep()
const
;
48
DtNetEnvironmentalSphereRecord
* sphereNetRep();
49
51
virtual
void
setFromNet
(
const
DtNetEnvironmentalRecord
& buffer);
52
53
virtual
int
netRepSize
()
const
;
54
55
protected
:
56
58
DtEnvironmentalSphereRecord
*
self
()
const
;
59
60
protected
:
61
62
DtVector
myCentroid
;
63
};
64
65
66
#endif
67
Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)