From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/particle__system__process_8h-source.html | 201 +++++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 docs/doxygen/nel/particle__system__process_8h-source.html (limited to 'docs/doxygen/nel/particle__system__process_8h-source.html') diff --git a/docs/doxygen/nel/particle__system__process_8h-source.html b/docs/doxygen/nel/particle__system__process_8h-source.html new file mode 100644 index 00000000..95873b57 --- /dev/null +++ b/docs/doxygen/nel/particle__system__process_8h-source.html @@ -0,0 +1,201 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

particle_system_process.h

Go to the documentation of this file.
00001 
+00007 /* Copyright, 2001 Nevrax Ltd.
+00008  *
+00009  * This file is part of NEVRAX NEL.
+00010  * NEVRAX NEL is free software; you can redistribute it and/or modify
+00011  * it under the terms of the GNU General Public License as published by
+00012  * the Free Software Foundation; either version 2, or (at your option)
+00013  * any later version.
+00014 
+00015  * NEVRAX NEL is distributed in the hope that it will be useful, but
+00016  * WITHOUT ANY WARRANTY; without even the implied warranty of
+00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+00018  * General Public License for more details.
+00019 
+00020  * You should have received a copy of the GNU General Public License
+00021  * along with NEVRAX NEL; see the file COPYING. If not, write to the
+00022  * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+00023  * MA 02111-1307, USA.
+00024  */
+00025 
+00026 #ifndef NL_PARTICLE_SYSTEM_PROCESS_H
+00027 #define NL_PARTICLE_SYSTEM_PROCESS_H
+00028 
+00029 #include "nel/misc/types_nl.h"
+00030 #include "nel/misc/stream.h"
+00031 #include "nel/3d/animation_time.h"
+00032 
+00033 namespace NLMISC
+00034 {
+00035         class CAABBox ;
+00036 }
+00037 
+00038 namespace NL3D {
+00039 
+00040 
+00041 class CParticleSystem ;
+00042 class CFontGenerator ;
+00043 class CFontManager ;
+00044 
+00045 
+00053 enum TPSProcessPass 
+00054 { PSEmit, PSCollision, PSMotion, PSSolidRender, PSBlendRender, PSToolRender } ;
+00055 
+00056 
+00057 
+00062 class CParticleSystemProcess : public NLMISC::IStreamable
+00063 {
+00064         public:
+00065         
+00069                         CParticleSystemProcess() : _Owner(NULL), _SystemBasisEnabled(false) {}
+00070                         
+00072                         virtual ~CParticleSystemProcess()  {}
+00073 
+00078                         virtual void                    serial(NLMISC::IStream &f) throw(NLMISC::EStream) ;                                     
+00080 
+00081                 
+00086                 virtual void                    step(TPSProcessPass pass, TAnimationTime ellapsedTime, TAnimationTime realEt) = 0 ;
+00087 
+00088 
+00093                 virtual bool                    computeBBox(NLMISC::CAABBox &aabbox) const = 0 ;
+00094 
+00096                 void                                    setOwner(CParticleSystem *ps) 
+00097                 { 
+00098                         if (ps == NULL)
+00099                         {
+00100                                 releaseAllRef();
+00101                         }
+00102                         _Owner = ps ; 
+00103                 }
+00104 
+00106                 CParticleSystem                 *getOwner(void) { return _Owner ; }
+00107 
+00109                 const CParticleSystem   *getOwner(void) const { return _Owner ; }
+00110 
+00115                 virtual void                     releaseRefTo(const CParticleSystemProcess *other) = 0;
+00116 
+00120                 virtual void                     releaseAllRef() = 0;
+00121 
+00123 
+00124 
+00125                         CFontGenerator                  *getFontGenerator(void) ;
+00126 
+00128                         const CFontGenerator    *getFontGenerator(void) const ;
+00129 
+00131                         CFontManager                    *getFontManager(void) ;
+00132 
+00134                         const CFontManager              *getFontManager(void) const ;
+00136 
+00140                 bool                                    isInSystemBasis(void) const 
+00141                 { 
+00142                         return _SystemBasisEnabled ; 
+00143                 }
+00144 
+00149                 virtual void                    setSystemBasis(bool sysBasis = true) { _SystemBasisEnabled = sysBasis ; }
+00150         
+00152                 virtual bool                    hasParticles(void) const { return false ; }
+00153 
+00155                 virtual bool                    hasEmitters(void) const { return false ; }
+00156 
+00157 
+00159                 virtual uint                    querryMaxWantedNumFaces(void) = 0 ;
+00160 
+00161 
+00162                 
+00164                 virtual bool             isParametricMotionEnabled(void) const { return false;}
+00165 
+00167                 virtual void performParametricMotion(TAnimationTime date,
+00168                                                                                          TAnimationTime ellapsedTime,
+00169                                                                                          TAnimationTime realEllapsedTime) { nlassert(0);}
+00170 
+00172                 virtual void updateLife(TAnimationTime ellapsedTime) = 0;
+00173                         
+00174         protected:
+00175                 CParticleSystem *_Owner ;
+00176 
+00177                 // true if the system basis is used for display and motion
+00178                 bool _SystemBasisEnabled ;
+00179         
+00180 } ;
+00181 
+00182 
+00183 } // NL3D
+00184 
+00185 
+00186 #endif // NL_PARTICLE_SYSTEM_PROCESS_H
+00187 
+00188 /* End of particle_system_process.h */
+
+ + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1