![]() |
VR-Forces 4.8 Class Documentation
|
Representation of a single cloud layer. More...
Public Member Functions | |
| DtCloudLayer () | |
| CTOR. More... | |
| DtCloudLayer (const DtCloudLayer &orig) | |
| Copy CTOR. More... | |
| DtCloudLayer & | operator= (const DtCloudLayer &orig) |
| Assignment OP. More... | |
| virtual | ~DtCloudLayer () |
| DTOR. More... | |
| bool | operator== (const DtCloudLayer &other) const |
| Test for equality. More... | |
| bool | operator!= (const DtCloudLayer &other) const |
| Test for inequality. More... | |
| virtual void | getRecord (makArchives::DtCloudLayerRecord &record) const |
| Get a cloud layer record / set from a cloud layer record N.B. More... | |
| virtual void | setFromRecord (const makArchives::DtCloudLayerRecord &record) |
| virtual void | setEnabledFlag (bool enabled) |
| Is the cloud layer visible. More... | |
| virtual bool | enabledFlag () const |
| virtual void | setInfiniteFlag (bool infinite) |
| Does the cloud layer extend forever. More... | |
| virtual bool | infiniteFlag () const |
| virtual void | setType (const std::string &type) |
| The type of cloud layer. More... | |
| virtual const std::string & | type () const |
| virtual void | setPosition (const DtVector &position) |
| Set / Get the cloud layer position in local coordinates. More... | |
| virtual const DtVector & | position () const |
| virtual void | setOrientation (float ori) |
| Set / Get the layer's orientation. More... | |
| virtual float | orientation () const |
| virtual void | setCornerRadius (float radius) |
| Set / Get the cloud layer's corner radius A corner radius of 0 will result in a rectangle without rounded corners This value should never be bigger that 1/2 the smaller of length and width. More... | |
| virtual float | cornerRadius () const |
| virtual void | setWidth (double w) |
| Set / Get Width. More... | |
| virtual double | width () const |
| virtual void | setLength (double l) |
| Set / Get Length. More... | |
| virtual double | length () const |
| virtual void | setThickness (double t) |
| virtual double | thickness () const |
| virtual void | setDensity (float density) |
| Set / Get Density. More... | |
| virtual float | density () const |
| virtual void | setRelative (bool r) |
| Set / Get position is relative to observer. More... | |
| virtual bool | relative () const |
| virtual void | setFadeAtAltitude (bool fade) |
| Set/Get whether clouds fade at high altitude above them. More... | |
| virtual bool | fadeAtAltitude () const |
| bool | myEnabledFlag |
| std::string | myType |
| DtVector | myPosition |
| float | myOrientation |
| double | myWidth |
| double | myLength |
| double | myThickness |
| float | myDensity |
| float | myCornerRadius |
| bool | myInfiniteFlag |
| bool | myRelativeToObserverFlag |
| bool | myFadeAtAltitudeFlag |
| bool | myAltitudeIsHATFlag |
| virtual void | setAltitudeIsHAT (bool isHAT) |
| Set/Get whether altitude is actually treated as height above terrain. More... | |
| virtual bool | altitudeIsHAT () const |
Representation of a single cloud layer.
| makVrv::DtCloudLayer::DtCloudLayer | ( | ) |
CTOR.
| makVrv::DtCloudLayer::DtCloudLayer | ( | const DtCloudLayer & | orig | ) |
Copy CTOR.
|
virtual |
DTOR.
| DtCloudLayer& makVrv::DtCloudLayer::operator= | ( | const DtCloudLayer & | orig | ) |
Assignment OP.
| bool makVrv::DtCloudLayer::operator== | ( | const DtCloudLayer & | other | ) | const |
Test for equality.
| bool makVrv::DtCloudLayer::operator!= | ( | const DtCloudLayer & | other | ) | const |
Test for inequality.
|
virtual |
Get a cloud layer record / set from a cloud layer record N.B.
Not all cloud layer properties are supported by the cloud layer record. relative position; fade at altitude; and altitude is height above terrain default to true for all.
|
virtual |
|
virtual |
Is the cloud layer visible.
|
virtual |
|
virtual |
Does the cloud layer extend forever.
|
virtual |
|
virtual |
The type of cloud layer.
|
virtual |
|
virtual |
Set / Get the cloud layer position in local coordinates.
|
virtual |
|
virtual |
Set / Get the layer's orientation.
|
virtual |
|
virtual |
Set / Get the cloud layer's corner radius A corner radius of 0 will result in a rectangle without rounded corners This value should never be bigger that 1/2 the smaller of length and width.
N.B. 1/30/2019 Silverlining currently only supports rounded edges on cumulus layers, and then it's binary (it chooses the radius). For now, we will enable 'rounded edges' if corner radius is > 0.
|
virtual |
|
virtual |
Set / Get Width.
|
virtual |
|
virtual |
Set / Get Length.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set / Get Density.
|
virtual |
|
virtual |
Set / Get position is relative to observer.
|
virtual |
|
virtual |
Set/Get whether clouds fade at high altitude above them.
|
virtual |
|
virtual |
Set/Get whether altitude is actually treated as height above terrain.
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |