42 void setEnabledFlag(
bool enabled);
43 bool enabledFlag()
const;
46 void setInfiniteFlag(
bool infinite);
47 bool infiniteFlag()
const;
50 void setType(
const std::string& type );
51 const std::string& type()
const;
54 void setPosition(
double x,
double y,
double z);
55 void setPosition(
double position[3]);
58 const double* position()
const;
61 void setWidth(
double w);
62 void setLength(
double l);
63 void setThickness(
double t);
66 double length()
const;
67 double thickness()
const;
70 void setDensity(
float density);
71 float density()
const;
75 friend class boost::serialization::access;
80 template<
class Archive>
81 void serialize(Archive & ar,
const unsigned int version)
83 ar & BOOST_SERIALIZATION_NVP(myEnabledFlag);
84 ar & BOOST_SERIALIZATION_NVP(myType);
88 ar & boost::serialization::make_nvp(
"myOriginX", myPosition[0]);
89 ar & boost::serialization::make_nvp(
"myOriginY", myPosition[1]);
90 ar & boost::serialization::make_nvp(
"myAltitude", myPosition[2]);
94 ar & BOOST_SERIALIZATION_NVP(myPosition);
97 ar & BOOST_SERIALIZATION_NVP(myWidth);
98 ar & BOOST_SERIALIZATION_NVP(myLength);
99 ar & BOOST_SERIALIZATION_NVP(myThickness);
101 ar & BOOST_SERIALIZATION_NVP(myDensity);
104 ar & BOOST_SERIALIZATION_NVP(myInfiniteFlag);
115 double myPosition[3];
double myLength
Definition: DtCloudLayerRecord.h:119
double myThickness
Definition: DtCloudLayerRecord.h:120
float myDensity
Definition: DtCloudLayerRecord.h:123
double myWidth
Definition: DtCloudLayerRecord.h:118
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
Contains DLL export macros.
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 2)
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the & operator is defined similar to <<...
Definition: DtCloudLayerRecord.h:81
Record of a single cloud layer's settings.
Definition: DtCloudLayerRecord.h:20
std::string myType
Definition: DtCloudLayerRecord.h:112
bool myInfiniteFlag
Definition: DtCloudLayerRecord.h:124
bool myEnabledFlag
Definition: DtCloudLayerRecord.h:109
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31