VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtParticleSystemModel.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
11 
12 #include <vrvCore/vrvCore.h>
13 #include <vrvCore/DtModel.h>
14 
15 #include <matrix/vlVector.h>
17 
18 namespace makVrv
19 {
20  class DtParticleSystemModelInstance;
21 
25  {
26  public:
29 
31  virtual ~DtParticleSystemModel();
32 
33  private:
37  DtParticleSystemModel &operator=(const DtParticleSystemModel &other);
38 
39  public:
41  virtual void setModelDefinition( const std::string& str ) = 0;
42 
45  virtual const std::string& className() const = 0;
46 
48  virtual void setIntensity(float intensity) = 0;
49 
51  virtual void setScale(float scale) = 0;
52 
54  virtual void setDuration(double seconds) = 0;
55 
57  virtual void setWindDirection(const DtVector& direction) = 0;
58 
60  virtual void setMaxParticlesToEmit(int max) = 0;
61 
63  virtual void stop() = 0;
64 
66  virtual void start() = 0;
67 
69  virtual void pause() = 0;
70 
72  virtual void resume() = 0;
73 
75  virtual bool supportsMultithreadedLoad();
76 
78  virtual void setOffset(const DtVector& offset) = 0;
79 
81  virtual void setArtPart(int artPart) = 0;
82  };
83 }
84 
85 
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv::DtModel class.
A model of a particle system.
Definition: DtParticleSystemModel.h:24
A model which owns a single model instance. A DtModel is a managing container for a single DtModelIns...
Definition: DtModel.h:56
Contains makVrv::DtBackgroundLoader class.
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:72
voidpf uLong offset
Definition: ioapi.h:42
Contains DLL export macros.

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)