VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfExtObjects
envFixedCylinderRecord.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2010 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: envFixedCylinderRecord.h,v $ $Revision: 1.1 $ $State: Exp $
7
*********************************************************************/
8
#ifndef envFixedCylinderRecord_H_
9
#define envFixedCylinderRecord_H_
10
11
#include <
vrfExtObjects/vrfExtObjectsDefines.h
>
12
#include <vl/envGeometry.h>
13
14
struct
DtNetEnvironmentalFixedCylinderRecord
: DtNetEnvironmentalRecord
15
{
16
DtNetVector64
myStartingLocation
;
17
DtNetVector64
myEndingLocation
;
18
DtNetFloat32
myXRadius
;
19
DtNetFloat32
myYRadius
;
20
};
21
22
class
DT_DLL_vrfExtObjects
DtEnvironmentalFixedCylinderRecord
:
23
public
DtEnvironmentalGeometryRecord
24
{
25
public
:
26
DtEnvironmentalFixedCylinderRecord
();
27
28
virtual
~
DtEnvironmentalFixedCylinderRecord
();
29
30
DtEnvironmentalFixedCylinderRecord
(
const
DtEnvironmentalFixedCylinderRecord
& orig);
31
32
DtEnvironmentalFixedCylinderRecord
& operator=(
const
DtEnvironmentalFixedCylinderRecord
& orig);
33
34
virtual
DtEnvironmentalRecord
* clone()
const
;
35
36
virtual
void
setStartingLocation(
const
DtVector
& loc);
37
virtual
const
DtVector
& startingLocation()
const
;
38
39
virtual
void
setEndingLocation(
const
DtVector
& loc);
40
virtual
const
DtVector
& endingLocation()
const
;
41
42
virtual
void
setXRadius(
double
radius);
43
virtual
double
xRadius()
const
;
44
45
virtual
void
setYRadius(
double
radius);
46
virtual
double
yRadius()
const
;
47
48
// This doesn't need to be called explicitly. If any routine that needs
49
// the repository finds that it hasn't been created yet, it calls this
50
// method.
51
virtual
bool
createNetworkRepresentation();
52
53
virtual
int
netRepSize()
const
;
54
virtual
void
setFromNet(
const
DtNetEnvironmentalRecord& buffer);
55
56
const
DtNetEnvironmentalFixedCylinderRecord
* cylinderNetRep()
const
;
57
DtNetEnvironmentalFixedCylinderRecord
* cylinderNetRep();
58
59
protected
:
60
DtVector
myStartingLocation
;
61
DtVector
myEndingLocation
;
62
double
myXRadius
;
63
double
myYRadius
;
64
};
65
66
#endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)