VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvCore
DtCloudLayer.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/vrvCore.h
>
13
14
#include <matrix/vlVector.h>
15
16
#include <string>
17
18
namespace
makArchives
19
{
20
class
DtCloudLayerRecord;
21
}
22
23
24
namespace
makVrv
25
{
26
class
DtDe;
27
30
class
DT_DLL_VRVCORE
DtCloudLayer
31
{
32
public
:
34
DtCloudLayer
();
35
37
DtCloudLayer
(
const
DtCloudLayer
& orig);
38
40
DtCloudLayer
& operator=(
const
DtCloudLayer
& orig);
41
43
~
DtCloudLayer
();
44
45
//Test for equality.
46
bool
operator==
(
const
DtCloudLayer
& other)
const
;
47
48
//Test for inequality.
49
bool
operator!=
(
const
DtCloudLayer
& other)
const
;
50
51
void
getRecord(
makArchives::DtCloudLayerRecord
& record )
const
;
52
void
setFromRecord(
const
makArchives::DtCloudLayerRecord
& record );
53
54
//Is the cloud layer visible.
55
void
setEnabledFlag(
bool
enabled);
56
bool
enabledFlag()
const
;
57
58
// Does the cloud layer extend forever
59
void
setInfiniteFlag(
bool
infinite);
60
bool
infiniteFlag()
const
;
61
62
//The type of cloud layer.
63
void
setType(
const
std::string& type );
64
const
std::string& type()
const
;
65
67
void
setPosition(
const
DtVector
& position);
68
const
DtVector
position()
const
;
69
71
void
setWidth(
double
w);
72
double
width()
const
;
73
75
void
setLength(
double
l);
76
double
length()
const
;
77
78
void
setThickness(
double
t);
79
double
thickness()
const
;
80
82
void
setDensity(
float
density);
83
float
density()
const
;
84
86
void
setRelative(
bool
r);
87
bool
relative()
const
;
88
89
protected
:
90
91
//Is the cloud layer visible.
92
bool
myEnabledFlag
;
93
94
//The type of cloud layer.
95
std::string
myType
;
96
97
//Location
98
DtVector
myPosition
;
99
100
//Size
101
double
myWidth
;
102
double
myLength
;
103
double
myThickness
;
104
105
//Parameters
106
float
myDensity
;
107
bool
myInfiniteFlag
;
108
bool
myRelativeToObserverFlag
;
109
};
110
}
111
112
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)