Cloud Window¶
-
struct simul::clouds::CloudWindow¶
Public Functions
-
const CloudWindow &operator=(const CloudWindow&)¶
assignment operator only copies properties, not state.
-
void Reset()¶
Reset offsets.
-
void InitWindowCentre(double lat_degrees, double long_degrees, double x_heading_degrees)¶
Initialize the window.
-
float UpdateWindowCentre(double lat_degrees, double long_degrees)¶
Returns updated x heading in degrees.
Returns updated x heading in degrees. We pass in the viewpoint lat/long, this is what we want to keep the window centre close to. The cloud volume is offset from the origin by the windOffset.
-
void MoveCloudWindow(int x, int y)¶
Translate the cloud window by the given x and y.
-
void CheckForOriginChange(crossplatform::Quaterniond new_origin, const CloudRenderingOptions &opts)¶
Check if the cloud window origin has changed, and update values if it has.
-
void GetLatitudeLongitudeHeading(vec3 pos, double &lat, double &lon, double &head) const¶
Get the latitude/longitude referred to by the specified position value.
-
void GetOriginLatitudeLongitudeHeading(double &lat_deg, double &lon_deg, double &head_deg) const¶
Get the latitude/longitude referred to by the specified quaternion.
-
double GetOriginLatitudeDegrees() const¶
Get the latitude referred to by the origin quaternion.
-
double GetOriginLongitudeDegrees() const¶
Get the longitude referred to by the origin quaternion.
-
const CloudWindow &operator=(const CloudWindow&)¶
Warning
doxygenstruct: Cannot find class “simul::clouds::GeodeticPlanet” in doxygen xml output for project “Simul” from directory: D:/Jarvis/Documentation/build/Docs/doxygen/xml