From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/class_NL3D__CPSParticle.html | 458 ++++++++++++++++++++++++++ 1 file changed, 458 insertions(+) create mode 100644 docs/doxygen/nel/class_NL3D__CPSParticle.html (limited to 'docs/doxygen/nel/class_NL3D__CPSParticle.html') diff --git a/docs/doxygen/nel/class_NL3D__CPSParticle.html b/docs/doxygen/nel/class_NL3D__CPSParticle.html new file mode 100644 index 00000000..76b01e90 --- /dev/null +++ b/docs/doxygen/nel/class_NL3D__CPSParticle.html @@ -0,0 +1,458 @@ + + + + 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  
+

NL3D::CPSParticle Class Reference

This is the base class for all particle A deriver must provide a drawing method for his particle Not sharable. +More... +

+#include <ps_particle.h> +

+Inheritance diagram for NL3D::CPSParticle

Inheritance graph
+ + + + + + + + + +
[legend]
Collaboration diagram for NL3D::CPSParticle:

Collaboration graph
+ + + + + + + + + + + +
[legend]
List of all members. + + + + + + + + + + + + + + + + + + + +

Public Methods

 CPSParticle ()
 Constructor. More...

uint32 getType (void) const
 return this bindable type. More...

virtual uint32 getPriority (void) const
 return priority. More...

virtual void step (TPSProcessPass pass, CAnimationTime ellapsedTime)
 process one pass for the particles. More...

virtual void draw (void) = 0
 draw the particles.

virtual void newElement (void) = 0
 Generate a new element for this bindable. More...

virtual void deleteElement (uint32 index) = 0
 Delete an element given its index Attributes of the located that hold this bindable are still accessible for the index given index out of range -> nl_assert.

virtual void resize (uint32 size) = 0
 Resize the bindable attributes containers. More...

virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
 serialisation. Derivers must override this, and call their parent version. More...

+

Detailed Description

+This is the base class for all particle A deriver must provide a drawing method for his particle Not sharable. +

+

+Author(s):
+ Nicolas Vizerie , Nevrax France
+Date:
+ 2001
+

+ +

+Definition at line 52 of file ps_particle.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + +
+NL3D::CPSParticle::CPSParticle ( + +) +
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 41 of file ps_particle.cpp.

+


Member Function Documentation

+

+ + + + +
+ + + + + + +
+void NL3D::CPSParticle::deleteElement ( + +uint32 index ) [pure virtual] +
+
+ + + + + +
+   + + +

+Delete an element given its index Attributes of the located that hold this bindable are still accessible for the index given index out of range -> nl_assert. +

+ +

+Reimplemented from NL3D::CPSLocatedBindable. +

+Reimplemented in NL3D::CPSDot, NL3D::CPSFaceLookAt, NL3D::CPSFanLight, and NL3D::CPSTailDot.

+

+ + + + +
+ + + + + + +
+void NL3D::CPSParticle::draw ( + +void ) [pure virtual] +
+
+ + + + + +
+   + + +

+draw the particles. +

+ +

+Reimplemented in NL3D::CPSDot, NL3D::CPSFaceLookAt, NL3D::CPSFanLight, and NL3D::CPSTailDot.

+

+ + + + +
+ + + + + + +
+uint32 NL3D::CPSParticle::getPriority ( + +void ) const [inline, virtual] +
+
+ + + + + +
+   + + +

+return priority. +

+ +

+Reimplemented from NL3D::CPSLocatedBindable. +

+Definition at line 65 of file ps_particle.h.

+

+ + + + +
+ + + + + + +
+uint32 NL3D::CPSParticle::getType ( + +void ) const [inline, virtual] +
+
+ + + + + +
+   + + +

+return this bindable type. +

+ +

+Reimplemented from NL3D::CPSLocatedBindable. +

+Definition at line 61 of file ps_particle.h.

+

+ + + + +
+ + + + + + +
+void NL3D::CPSParticle::newElement ( + +void ) [pure virtual] +
+
+ + + + + +
+   + + +

+Generate a new element for this bindable. +

+They are generated according to the properties of the class

+Returns:
+ true if it could be added
+

+Reimplemented from NL3D::CPSLocatedBindable. +

+Reimplemented in NL3D::CPSDot, NL3D::CPSFaceLookAt, NL3D::CPSFanLight, and NL3D::CPSTailDot.

+

+ + + + +
+ + + + + + +
+void NL3D::CPSParticle::resize ( + +uint32 size ) [pure virtual] +
+
+ + + + + +
+   + + +

+Resize the bindable attributes containers. +

+Size is the max number of element to be contained. DERIVERS MUST CALL THEIR PARENT VERSION should not be called directly. Call CPSLocated::resize() instead +

+Reimplemented from NL3D::CPSLocatedBindable. +

+Reimplemented in NL3D::CPSDot, NL3D::CPSFaceLookAt, NL3D::CPSFanLight, and NL3D::CPSTailDot.

+

+ + + + +
+ + + + + + +
+void NL3D::CPSParticle::serial ( + +NLMISC::IStream & f ) throw (NLMISC::EStream) [inline, virtual] +
+
+ + + + + +
+   + + +

+serialisation. Derivers must override this, and call their parent version. +

+ +

+Reimplemented from NL3D::CPSLocatedBindable. +

+Reimplemented in NL3D::CPSDot, NL3D::CPSFaceLookAt, NL3D::CPSFanLight, and NL3D::CPSTailDot. +

+Definition at line 100 of file ps_particle.h.

+

+ + + + +
+ + + + + + + + + + +
+void NL3D::CPSParticle::step ( + +TPSProcessPass pass, +
+CAnimationTime ellapsedTime ) [inline, virtual] +
+
+ + + + + +
+   + + +

+process one pass for the particles. +

+The default behaviour shows the particles +

+Reimplemented from NL3D::CPSLocatedBindable. +

+Definition at line 70 of file ps_particle.h.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1