VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgLocalWeatherQuery.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
14 
15 namespace makVrv
16 {
17  class DtDe;
18 
35  {
36  public:
37 
39  explicit DtOsgLocalWeatherQuery(DtDe& de);
40 
42  virtual ~DtOsgLocalWeatherQuery();
43 
49  virtual bool getLocalPrecipitation(
50  const DtVector& observerPos,
51  bool& raining,
52  float& normalizedIntensity) const override;
53 
57  virtual bool getLocalWind(
58  const DtVector& observerPos,
59  bool& audible,
60  float& speedMs,
61  float& directionRad) const override;
62 
68  virtual bool getLocalVisibility(
69  const DtVector& observerPos,
70  float& visibilityMeters) const override;
71 
77  static void registerInstance(DtDe& de);
78 
79  protected:
80 
82  };
83 
84 } // namespace makVrv
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains makVrv::DtLocalWeatherQuery class.
Per-De abstract interface for querying local weather area conditions at a world position.
Definition: DtLocalWeatherQuery.h:37
DtDe & myDe
De this adapter is bound to.
Definition: DtOsgLocalWeatherQuery.h:81
Contains DLL export macros.
Default vrvOsg implementation of DtLocalWeatherQuery.
Definition: DtOsgLocalWeatherQuery.h:34
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)