39 void setEnabledFlag(
bool enabled);
40 bool enabledFlag()
const;
43 void setInfiniteFlag(
bool infinite);
44 bool infiniteFlag()
const;
47 void setType(
const std::string& type );
48 const std::string& type()
const;
51 void setPosition(
double x,
double y,
double z);
52 void setPosition(
double position[3]);
55 const double* position()
const;
58 void setWidth(
double w);
59 void setLength(
double l);
60 void setThickness(
double t);
64 double thickness()
const;
67 void setDensity(
float density);
68 float density()
const;
70 void setSkyCoverage(
float skyCoverage);
71 float skyCoverage()
const;
75 friend class boost::serialization::access;
80 template<
class Archive>
81 void serialize(Archive & ar,
const unsigned int version)
85 ar & BOOST_SERIALIZATION_NVP(myEnabledFlag);
87 ar & BOOST_SERIALIZATION_NVP(myType);
91 ar & boost::serialization::make_nvp(
"myOriginX", myPosition[0]);
92 ar & boost::serialization::make_nvp(
"myOriginY", myPosition[1]);
93 ar & boost::serialization::make_nvp(
"myAltitude", myPosition[2]);
97 ar & BOOST_SERIALIZATION_NVP(myPosition);
99 ar & BOOST_SERIALIZATION_NVP(myWidth);
100 ar & BOOST_SERIALIZATION_NVP(myLength);
104 ar & BOOST_SERIALIZATION_NVP(myThickness);
107 ar & BOOST_SERIALIZATION_NVP(myDensity);
110 ar & BOOST_SERIALIZATION_NVP(mySkyCoverage);
114 ar & BOOST_SERIALIZATION_NVP(myInfiniteFlag);
123 myEnabledFlag =
true;
124 myInfiniteFlag =
true;
143 double myPosition[3];
double myLength
Definition: DtCloudLayerRecord.h:140
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 3)
double myThickness
Definition: DtCloudLayerRecord.h:146
float myDensity
Definition: DtCloudLayerRecord.h:133
double myWidth
Definition: DtCloudLayerRecord.h:139
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
Contains DLL export macros.
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:17
std::string myType
Definition: DtCloudLayerRecord.h:130
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
float mySkyCoverage
Definition: DtCloudLayerRecord.h:136
bool myInfiniteFlag
Definition: DtCloudLayerRecord.h:145
bool myEnabledFlag
Definition: DtCloudLayerRecord.h:144
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31