VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtParticleSystemManagerInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
12 
13 #include <vrvOsg/vrvOsg.h>
17 
18 #include <string>
19 
21 namespace osg
22 {
23  class Node;
24 }
25 
26 namespace makVrv
27 {
28 
29  class DtDe;
30  class DtFxParticleSystemManager;
31  class DtFxParticleSystem;
32 
33 
37  {
38  public:
40  virtual bool hasDescription(const std::string & name) = 0;
41 
43  virtual diguyParticleManager* getDiguyParticleManager() = 0;
44 
46  virtual DtFxParticleSystem* createSystem(const std::string& name) = 0;
47 
49  virtual osg::ref_ptr<DtFxOsgParticleDrawable>& osgDrawable() = 0;
50 
52  virtual osg::Node* getOrCreateSensorNode(int diguyMat) = 0;
53 
55  static DtParticleSystemManagerInterface& instance(DtDe& de);
56 
58  virtual DtFxCollisionVolumeInterface* addCollisionVolume() = 0;
59 
61  virtual void destroyCollisionVolume(DtFxCollisionVolumeInterface* volume) = 0;
62 
64  virtual DtFxForceInterface* addGlobalForce() = 0;
65 
67  virtual void destroyGlobalForce(DtFxForceInterface* force) = 0;
68 
70  virtual void addImguiStats() = 0;
71  };
72 
73 
74 
75 }
class that allows clients to add global forces (no export of virtual base class)
Definition: DtFxForceInterface.h:19
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
class that allows clients to add collision objects (no export of virtual base class) ...
Definition: DtFxCollisionVolumeInterface.h:18
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Definition: featureContext.h:37
Contains makVrv::DtFxOsgParticleDrawable class.
Contains makVrv::DtFxCollisionVolumeInterface class.
Contains makVrv::DtVirtualBaseClass class.
DtParticleSystem is implementation of the particle system, vrvOsg communicates with it via DtParticle...
Definition: DtFxParticleSystem.h:397
class that wraps the particle manager in vrvFx in a vrv friendly layer
Definition: DtParticleSystemManagerInterface.h:36
Contains DLL export macros.
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:70

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)