VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWaterRipplesManager.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 <vrvCore/vrvCore.h>
13 #include <vrvCore/DtDe.h>
14 
16 
17 
18 namespace makVrv
19 {
30  {
31  public:
32 
34  struct PresetInfo
35  {
36  int myTextureSize = 512;
37  float myFrequency = 8.0f;
38  int myOctaves = 4;
39  float myRidgeStrength = 1.0f;
40  int myWorleyCells = 8;
41  float myWorleyBlend = 0.8f;
42  float myAmplitude = 4.0f;
43  float myTileRateMeters = 128.0f;
44  float mySpeed = 2.0f;
45  float mySpecularPower = 0.9f;
46  float mySpecularMultiplier = 0.2f;
47  float myColorR = 0.0f;
48  float myColorG = 0.18f;
49  float myColorB = 0.28f;
50  std::string myName;
51  };
52 
54  static const std::string& theClassName();
55 
58  static DtWaterRipplesManager& instance(DtDe& de);
59 
60  public:
61 
62  virtual ~DtWaterRipplesManager();
63 
65  DtWaterRipplesManager(const DtWaterRipplesManager& other) = delete;
66 
68  DtWaterRipplesManager(const DtWaterRipplesManager&& other) = delete;
69 
71  DtWaterRipplesManager& operator=(const DtWaterRipplesManager& other) = delete;
72 
74  DtWaterRipplesManager& operator=(const DtWaterRipplesManager&& other) = delete;
75 
76  protected:
77 
81 
82  protected:
83 
85  };
86 
87 }
88 
89 
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
std::string myName
Definition: DtWaterRipplesManager.h:50
Contains makVrv::DtDe class.
The DtWaterRipplesManager class provides a manager for managing water ripple effects for water bodies...
Definition: DtWaterRipplesManager.h:29
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtDe & myDe
Definition: DtWaterRipplesManager.h:84
Information about a water ripple preset.
Definition: DtWaterRipplesManager.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
Contains DLL export macros.

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)