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

an instance of these class can be bound to a particle system located this include forces, particle, and so on... +More... +

+#include <ps_located.h> +

+

Inheritance diagram for NL3D::CPSLocatedBindable: +

+ +NLMISC::IStreamable +NLMISC::IClassable +NL3D::CPSEmitter +NL3D::CPSParticle +NL3D::CPSSound +NL3D::CPSTargetLocatedBindable +NL3D::CPSEmitterDirectionnal +NL3D::CPSEmitterOmni +NL3D::CPSEmitterRectangle +NL3D::CPSSphericalEmitter +NL3D::CPSConstraintMesh +NL3D::CPSDot +NL3D::CPSFanLight +NL3D::CPSMesh +NL3D::CPSQuad +NL3D::CPSRibbonBase +NL3D::CPSShockWave +NL3D::CPSForce +NL3D::CPSZone + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

void setActive (bool active)
 Activate / Deactivate this object. When not active, the owning system won't try to call the 'step' method. More...

bool isActive () const
virtual uint32 getType (void) const=0
 Gives the type for this bindable. More...

virtual uint32 getPriority (void) const=0
 Get the priority of the bindable The more high it is, the earlier it is dealt with. More...

virtual void step (TPSProcessPass pass, TAnimationTime ellapsedTime, TAnimationTime realEt)=0
 process one pass for this bindable. More...

virtual void notifyTargetRemoved (CPSLocated *ptr)
 =============================================================================. More...

virtual void releaseRefTo (const CParticleSystemProcess *other)
 Release any reference this obj may have on the given process. More...

virtual void releaseAllRef ()
 =============================================================================. More...

virtual bool completeBBox (NLMISC::CAABBox &box) const
virtual bool doesProduceBBox (void) const
IDrivergetDriver () const
 shortcut to get an instance of the driver. More...

CFontGeneratorgetFontGenerator (void)
 Shortcut to get the font generator if one was set. More...

const CFontGeneratorgetFontGenerator (void) const
 Shortcut to get the font generator if one was set (const version). More...

CFontManagergetFontManager (void)
 =============================================================================. More...

const CFontManagergetFontManager (void) const
 ============================================================================= Shortcut to get the font manager if one was set (const version). More...

const NLMISC::CMatrixgetSysMat (void) const
 =============================================================================. More...

const NLMISC::CMatrixgetInvertedSysMat (void) const
 ============================================================================= shortcut to get the inverted matrix of the system. More...

const NLMISC::CMatrixgetLocatedMat (void) const
 =============================================================================. More...

const NLMISC::CMatrixgetInvertedLocatedMat (void) const
 =============================================================================. More...

const NLMISC::CMatrixgetViewMat (void) const
 ============================================================================= shortcut to get the view matrix. More...

const NLMISC::CMatrixgetInvertedViewMat (void) const
 ============================================================================= shortcut to get the inverted view matrix. More...

void setupDriverModelMatrix (void)
 ============================================================================= shortcut to setup the model matrix (system basis or world basis). More...

NLMISC::CVector computeI (void) const
 Compute a vector that will map to (1 0 0) after view and model transform. More...

NLMISC::CVector computeJ (void) const
 Compute a vector that will map to (0 1 0) after view and model transform. More...

NLMISC::CVector computeK (void) const
 Compute a vector that will map to (0 0 1) after view and model transform. More...

CPSLocatedgetOwner (void)
 get the located that owns this bindable. More...

const CPSLocatedgetOwner (void) const
 get the located that owns this bindable (const version). More...

void setName (const std::string &name)
 set the located bindable name (edition purpose). More...

std::string getName (void) const
 get the located bindable name (edition purpose). More...

void setLOD (TPSLod lod)
 set the LODs that apply to that object (warning : it is based on the position of the system, and don't act on a per instance basis ...) To have per instance precision, you must use an attribute maker that has LOD as its input. More...

TPSLod getLOD (void) const
 get the valid lods for that object. More...

virtual bool hasParticles (void) const
 tells wether there are alive entities / particles. More...

virtual bool hasEmitters (void) const
 tells wether there are alive emitters. More...

void setExternID (uint32 id)
 =============================================================================. More...

uint32 getExternID (void) const
 get the extern ID of this located bindable. More...

virtual void basisChanged (bool systemBasis)
 Called when the basis of the owner changed. More...

virtual void motionTypeChanged (bool parametric)
 called when a located has switch between incrmental / parametric motion. The default does nothing. More...

Object
 CPSLocatedBindable ()
 =============================================================================. More...

virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
 =============================================================================. More...

virtual void finalize (void)
 this should be called before to delete any bindable inserted in a system, but this is done by the system, so you should never need calling it. More...

virtual ~CPSLocatedBindable ()
 =============================================================================. More...


Protected Methods

virtual void newElement (CPSLocated *emitterLocated, uint32 emitterIndex)=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 (pos etc...) are still accessible for the given index. More...

virtual void resize (uint32 size)=0
 Resize the bindable attributes containers should not be called directly. More...

virtual void bounceOccured (uint32 index)
 a bounce occured, so some action could be done. More...

void displayIcon2d (const NLMISC::CVector tab[], uint nbSegs, float scale)
 =============================================================================. More...

virtual void setOwner (CPSLocated *psl)
 set the located that hold this located bindable. More...


Protected Attributes

CPSLocated_Owner
uint32 _ExternID
TPSLod _LOD
 tells when this object must be dealt with. More...

std::string _Name
bool _Active

Friends

class CPSLocated
+

Detailed Description

+an instance of these class can be bound to a particle system located this include forces, particle, and so on... +

+ +

+Definition at line 781 of file ps_located.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CPSLocatedBindable::CPSLocatedBindable  
+
+ + + + + +
+   + + +

+=============================================================================. +

+ +

+Definition at line 1493 of file ps_located.cpp. +

+References _Owner, and NL3D::PSLod1n2. +

+Referenced by displayIcon2d, NL3D::CPSZoneRectangle::show, NL3D::CPSZoneCylinder::show, NL3D::CPSZoneDisc::show, NL3D::CPSZoneSphere::show, NL3D::CPSZonePlane::show, NL3D::CPSCylindricVortex::show, NL3D::CPSDirectionnalForce::show, NL3D::CPSSphericalEmitter::showTool, NL3D::CPSEmitterRectangle::showTool, and NL3D::CPSEmitter::showTool.

+

+ + + + +
+ + + + + + + + + +
NL3D::CPSLocatedBindable::~CPSLocatedBindable   [virtual]
+
+ + + + + +
+   + + +

+=============================================================================. +

+ +

+Definition at line 1516 of file ps_located.cpp. +

+References _Owner.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CPSLocatedBindable::basisChanged bool   systemBasis [inline, virtual]
+
+ + + + + +
+   + + +

+Called when the basis of the owner changed. +

+the default behaviour does nothing

+Parameters:
+ + +
newBasis  +: True if in the system basis, false for the world basis.
+
+

+Reimplemented in NL3D::CPSForce. +

+Definition at line 930 of file ps_located.h.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CPSLocatedBindable::bounceOccured uint32   index [inline, protected, virtual]
+
+ + + + + +
+   + + +

+a bounce occured, so some action could be done. +

+The default behaviour does nothing

+Parameters:
+ + +
index  +the index of the element that bounced
+
+

+Reimplemented in NL3D::CPSEmitter. +

+Definition at line 964 of file ps_located.h. +

+References index.

+

+ + + + +
+ + + + + + + + + + +
virtual bool NL3D::CPSLocatedBindable::completeBBox NLMISC::CAABBox  box const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in NL3D::CPSFanLight. +

+Definition at line 840 of file ps_located.h.

+

+ + + + +
+ + + + + + + + + + +
NLMISC::CVector NL3D::CPSLocatedBindable::computeI void   const [inline]
+
+ + + + + +
+   + + +

+Compute a vector that will map to (1 0 0) after view and model transform. +

+This allow to have object that always faces the user, whatever basis they are in +

+Definition at line 893 of file ps_located.h. +

+References _Owner. +

+Referenced by displayIcon2d, NL3D::CPSGravity::show, and NL3D::CPSEmitter::showTool.

+

+ + + + +
+ + + + + + + + + + +
NLMISC::CVector NL3D::CPSLocatedBindable::computeJ void   const [inline]
+
+ + + + + +
+   + + +

+Compute a vector that will map to (0 1 0) after view and model transform. +

+This allow to have object that always faces the user, whatever basis they are in +

+Definition at line 898 of file ps_located.h. +

+References _Owner.

+

+ + + + +
+ + + + + + + + + + +
NLMISC::CVector NL3D::CPSLocatedBindable::computeK void   const [inline]
+
+ + + + + +
+   + + +

+Compute a vector that will map to (0 0 1) after view and model transform. +

+This allow to have object that always faces the user, whatever basis they are in +

+Definition at line 902 of file ps_located.h. +

+References _Owner. +

+Referenced by displayIcon2d, and NL3D::CPSEmitter::showTool.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CPSLocatedBindable::deleteElement uint32   index [protected, pure virtual]
+
+ + + + + +
+   + + +

+Delete an element given its index Attributes of the located that hold this bindable (pos etc...) are still accessible for the given index. +

+index out of range -> nl_assert +

+Implemented in NL3D::CPSDot. +

+Referenced by setOwner.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void NL3D::CPSLocatedBindable::displayIcon2d const NLMISC::CVector   tab[],
uint   nbSegs,
float   scale
[protected]
+
+ + + + + +
+   + + +

+=============================================================================. +

+

+Parameters:
+ + + + +
tab  +: a table of 2 * nbSeg vector. only the x and y coordinates are used
nbSeg  +: the number of segment
scale  +: the scale to use for drawing
+
+

+Definition at line 1572 of file ps_located.cpp. +

+References _Owner, computeI, computeK, CPSLocated, CPSLocatedBindable, getDriver, index, NLAISCRIPT::l, setupDriverModelMatrix, NLMISC::CLine::V0, and NLMISC::CLine::V1. +

+Referenced by NL3D::CPSSpring::show, NL3D::CPSCentralGravity::show, and NL3D::CPSParticle::showTool.

+

+ + + + +
+ + + + + + + + + + +
virtual bool NL3D::CPSLocatedBindable::doesProduceBBox void   const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in NL3D::CPSForce. +

+Definition at line 844 of file ps_located.h.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CPSLocatedBindable::finalize void   [inline, virtual]
+
+ + + + + +
+   + + +

+this should be called before to delete any bindable inserted in a system, but this is done by the system, so you should never need calling it. +

+This has been introduced because calls in dtor are not polymorphic to derived class (which are already destroyed anyway), and some infos are needed in some dtor. The default behaviour does nothing +

+Reimplemented in NL3D::CPSTargetLocatedBindable. +

+Definition at line 794 of file ps_located.h.

+

+ + + + +
+ + + + + + + + + + +
IDriver* NL3D::CPSLocatedBindable::getDriver void   const [inline]
+
+ + + + + +
+   + + +

+shortcut to get an instance of the driver. +

+ +

+Definition at line 846 of file ps_located.h. +

+References _Owner, and nlassert. +

+Referenced by displayIcon2d, NL3D::CPSTailDot::displayRibbons, NL3D::CPSRibbonLookAt::displayRibbons, NL3D::CPSRibbon::displayRibbons, NL3D::CPSDot::draw, NL3D::CPSZoneRectangle::show, NL3D::CPSZoneCylinder::show, NL3D::CPSZoneDisc::show, NL3D::CPSZoneSphere::show, NL3D::CPSZonePlane::show, NL3D::CPSCylindricVortex::show, NL3D::CPSGravity::show, NL3D::CPSDirectionnalForce::show, NL3D::CPSSphericalEmitter::showTool, NL3D::CPSEmitterRectangle::showTool, and NL3D::CPSEmitter::showTool.

+

+ + + + +
+ + + + + + + + + + +
uint32 NL3D::CPSLocatedBindable::getExternID void   const [inline]
+
+ + + + + +
+   + + +

+get the extern ID of this located bindable. +

+ +

+Definition at line 926 of file ps_located.h. +

+References _ExternID.

+

+ + + + +
+ + + + + + + + + + +
const CFontGenerator* NL3D::CPSLocatedBindable::getFontGenerator void   const [inline]
+
+ + + + + +
+   + + +

+Shortcut to get the font generator if one was set (const version). +

+ +

+Definition at line 860 of file ps_located.h. +

+References _Owner, and nlassert.

+

+ + + + +
+ + + + + + + + + + +
CFontGenerator* NL3D::CPSLocatedBindable::getFontGenerator void   [inline]
+
+ + + + + +
+   + + +

+Shortcut to get the font generator if one was set. +

+ +

+Definition at line 853 of file ps_located.h. +

+References _Owner, and nlassert. +

+Referenced by NL3D::CPSZoneRectangle::show, NL3D::CPSZoneCylinder::show, NL3D::CPSZoneDisc::show, NL3D::CPSZonePlane::show, NL3D::CPSCylindricVortex::show, NL3D::CPSGravity::show, and NL3D::CPSEmitterRectangle::showTool.

+

+ + + + +
+ + + + + + + + + + +
const CFontManager * NL3D::CPSLocatedBindable::getFontManager void   const
+
+ + + + + +
+   + + +

+============================================================================= Shortcut to get the font manager if one was set (const version). +

+ +

+Definition at line 1633 of file ps_located.cpp. +

+References _Owner, and nlassert.

+

+ + + + +
+ + + + + + + + + + +
CFontManager * NL3D::CPSLocatedBindable::getFontManager void  
+
+ + + + + +
+   + + +

+=============================================================================. +

+ +

+Definition at line 1625 of file ps_located.cpp. +

+References _Owner, and nlassert. +

+Referenced by NL3D::CPSZoneRectangle::show, NL3D::CPSZoneCylinder::show, NL3D::CPSZoneDisc::show, NL3D::CPSZonePlane::show, NL3D::CPSCylindricVortex::show, NL3D::CPSGravity::show, and NL3D::CPSEmitterRectangle::showTool.

+

+ + + + +
+ + + + + + + + + + +
const NLMISC::CMatrix & NL3D::CPSLocatedBindable::getInvertedLocatedMat void   const
+
+ + + + + +
+   + + +

+=============================================================================. +

+ +

+Definition at line 1658 of file ps_located.cpp. +

+References _Owner, NLMISC::CMatrix::Identity, and nlassert.

+

+ + + + +
+ + + + + + + + + + +
const NLMISC::CMatrix & NL3D::CPSLocatedBindable::getInvertedSysMat void   const
+
+ + + + + +
+   + + +

+============================================================================= shortcut to get the inverted matrix of the system. +

+ +

+Definition at line 1650 of file ps_located.cpp. +

+References _Owner, and nlassert.

+

+ + + + +
+ + + + + + + + + + +
const NLMISC::CMatrix & NL3D::CPSLocatedBindable::getInvertedViewMat void   const
+
+ + + + + +
+   + + +

+============================================================================= shortcut to get the inverted view matrix. +

+ +

+Definition at line 1682 of file ps_located.cpp. +

+References _Owner, and nlassert.

+

+ + + + +
+ + + + + + + + + + +
const NLMISC::CMatrix & NL3D::CPSLocatedBindable::getLocatedMat void   const
+
+ + + + + +
+   + + +

+=============================================================================. +

+ +

+Definition at line 1528 of file ps_located.cpp. +

+References _Owner, NLMISC::CMatrix::Identity, and nlassert. +

+Referenced by NL3D::CPSZoneRectangle::show, NL3D::CPSZoneCylinder::show, NL3D::CPSZoneDisc::show, NL3D::CPSZonePlane::show, and NL3D::CPSEmitterRectangle::showTool.

+

+ + + + +
+ + + + + + + + + + +
TPSLod NL3D::CPSLocatedBindable::getLOD void   const [inline]
+
+ + + + + +
+   + + +

+get the valid lods for that object. +

+ +

+Definition at line 916 of file ps_located.h. +

+References _LOD, and NL3D::TPSLod.

+

+ + + + +
+ + + + + + + + + + +
std::string NL3D::CPSLocatedBindable::getName void   const [inline]
+
+ + + + + +
+   + + +

+get the located bindable name (edition purpose). +

+ +

+Definition at line 910 of file ps_located.h. +

+References _Name.

+

+ + + + +
+ + + + + + + + + + +
const CPSLocated* NL3D::CPSLocatedBindable::getOwner void   const [inline]
+
+ + + + + +
+   + + +

+get the located that owns this bindable (const version). +

+ +

+Definition at line 906 of file ps_located.h. +

+References _Owner, and CPSLocated.

+

+ + + + +
+ + + + + + + + + + +
CPSLocated* NL3D::CPSLocatedBindable::getOwner void   [inline]
+
+ + + + + +
+   + + +

+get the located that owns this bindable. +

+ +

+Definition at line 904 of file ps_located.h. +

+References _Owner, and CPSLocated. +

+Referenced by NL3D::CPSSound::newElement, NL3D::CPSSound::resize, and NL3D::CPSSound::step.

+

+ + + + +
+ + + + + + + + + + +
virtual uint32 NL3D::CPSLocatedBindable::getPriority void   const [pure virtual]
+
+ + + + + +
+   + + +

+Get the priority of the bindable The more high it is, the earlier it is dealt with. +

+ +

+Implemented in NL3D::CPSEmitter.

+

+ + + + +
+ + + + + + + + + + +
const NLMISC::CMatrix & NL3D::CPSLocatedBindable::getSysMat void   const
+
+ + + + + +
+   + + +

+=============================================================================. +

+ +

+Definition at line 1642 of file ps_located.cpp. +

+References _Owner, and nlassert. +

+Referenced by NL3D::CPSRibbonLookAt::displayRibbons, NL3D::CPSGravity::show, and NL3D::CPSMesh::updatePos.

+

+ + + + +
+ + + + + + + + + + +
virtual uint32 NL3D::CPSLocatedBindable::getType void   const [pure virtual]
+
+ + + + + +
+   + + +

+Gives the type for this bindable. +

+types are encoded as constant uint32 +

+Implemented in NL3D::CPSEmitter.

+

+ + + + +
+ + + + + + + + + + +
const NLMISC::CMatrix & NL3D::CPSLocatedBindable::getViewMat void   const
+
+ + + + + +
+   + + +

+============================================================================= shortcut to get the view matrix. +

+ +

+Definition at line 1673 of file ps_located.cpp. +

+References _Owner, and nlassert. +

+Referenced by NL3D::CPSRibbonLookAt::displayRibbons.

+

+ + + + +
+ + + + + + + + + + +
virtual bool NL3D::CPSLocatedBindable::hasEmitters void   const [inline, virtual]
+
+ + + + + +
+   + + +

+tells wether there are alive emitters. +

+ +

+Definition at line 920 of file ps_located.h.

+

+ + + + +
+ + + + + + + + + + +
virtual bool NL3D::CPSLocatedBindable::hasParticles void   const [inline, virtual]
+
+ + + + + +
+   + + +

+tells wether there are alive entities / particles. +

+ +

+Reimplemented in NL3D::CPSParticle. +

+Definition at line 918 of file ps_located.h.

+

+ + + + +
+ + + + + + + + + +
bool NL3D::CPSLocatedBindable::isActive   const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 800 of file ps_located.h. +

+References _Active.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CPSLocatedBindable::motionTypeChanged bool   parametric [inline, virtual]
+
+ + + + + +
+   + + +

+called when a located has switch between incrmental / parametric motion. The default does nothing. +

+ +

+Reimplemented in NL3D::CPSRibbonBase. +

+Definition at line 933 of file ps_located.h.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
virtual void NL3D::CPSLocatedBindable::newElement CPSLocated  emitterLocated,
uint32   emitterIndex
[protected, pure virtual]
+
+ + + + + +
+   + + +

+Generate a new element for this bindable. +

+They are generated according to the propertie of the class +

+Implemented in NL3D::CPSDot.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CPSLocatedBindable::notifyTargetRemoved CPSLocated  ptr [virtual]
+
+ + + + + +
+   + + +

+=============================================================================. +

+To do this : The object that focus the target must call registerDTorObserver on the target, with himself as a parameter When the target is removed, this target will call this method for all registered CPSLocated The default behaviour remove this object as an observer +

+

+See also:
+CPSLocated::registerDTorObserver()
+

+Reimplemented in NL3D::CPSEmitter. +

+Definition at line 1543 of file ps_located.cpp.

+

+ + + + +
+ + + + + + + + + +
void NL3D::CPSLocatedBindable::releaseAllRef   [virtual]
+
+ + + + + +
+   + + +

+=============================================================================. +

+ +

+Reimplemented in NL3D::CPSEmitter. +

+Definition at line 1711 of file ps_located.cpp. +

+Referenced by setOwner.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CPSLocatedBindable::releaseRefTo const CParticleSystemProcess  other [inline, virtual]
+
+ + + + + +
+   + + +

+Release any reference this obj may have on the given process. +

+For example, this is used when detaching a located bindable from a system. +

+Reimplemented in NL3D::CPSEmitter. +

+Definition at line 827 of file ps_located.h.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CPSLocatedBindable::resize uint32   size [protected, pure virtual]
+
+ + + + + +
+   + + +

+Resize the bindable attributes containers should not be called directly. +

+Call CPSLocated::resize instead +

+Implemented in NL3D::CPSDot.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CPSLocatedBindable::serial NLMISC::IStream  f throw (NLMISC::EStream) [virtual]
+
+ + + + + +
+   + + +

+=============================================================================. +

+ +

+Implements NLMISC::IStreamable. +

+Reimplemented in NL3D::CPSDot. +

+Definition at line 1549 of file ps_located.cpp. +

+References id.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CPSLocatedBindable::setActive bool   active [inline]
+
+ + + + + +
+   + + +

+Activate / Deactivate this object. When not active, the owning system won't try to call the 'step' method. +

+ +

+Definition at line 799 of file ps_located.h. +

+References _Active.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CPSLocatedBindable::setExternID uint32   id
+
+ + + + + +
+   + + +

+=============================================================================. +

+0 means no extern access. The map of ID-locatedBindable. Is in th particle system, so this located bindable must have been attached to a particle system, otherwise an assertion is raised +

+Definition at line 1697 of file ps_located.cpp. +

+References _ExternID, _Owner, id, and nlassert.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CPSLocatedBindable::setLOD TPSLod   lod [inline]
+
+ + + + + +
+   + + +

+set the LODs that apply to that object (warning : it is based on the position of the system, and don't act on a per instance basis ...) To have per instance precision, you must use an attribute maker that has LOD as its input. +

+ +

+Definition at line 914 of file ps_located.h. +

+References _LOD, and NL3D::TPSLod.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CPSLocatedBindable::setName const std::string &   name [inline]
+
+ + + + + +
+   + + +

+set the located bindable name (edition purpose). +

+ +

+Definition at line 908 of file ps_located.h. +

+References _Name.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CPSLocatedBindable::setOwner CPSLocated  psl [protected, virtual]
+
+ + + + + +
+   + + +

+set the located that hold this located bindable. +

+ +

+Definition at line 1498 of file ps_located.cpp. +

+References _Owner, deleteElement, and releaseAllRef.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CPSLocatedBindable::setupDriverModelMatrix void  
+
+ + + + + +
+   + + +

+============================================================================= shortcut to setup the model matrix (system basis or world basis). +

+ +

+Definition at line 1690 of file ps_located.cpp. +

+References _Owner, and nlassert. +

+Referenced by displayIcon2d, NL3D::CPSTailDot::displayRibbons, NL3D::CPSRibbonLookAt::displayRibbons, NL3D::CPSRibbon::displayRibbons, NL3D::CPSDot::draw, NL3D::CPSZoneRectangle::show, NL3D::CPSZoneCylinder::show, NL3D::CPSZoneDisc::show, NL3D::CPSZoneSphere::show, NL3D::CPSZonePlane::show, NL3D::CPSCylindricVortex::show, NL3D::CPSDirectionnalForce::show, NL3D::CPSSphericalEmitter::showTool, NL3D::CPSEmitterRectangle::showTool, and NL3D::CPSEmitter::showTool.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
virtual void NL3D::CPSLocatedBindable::step TPSProcessPass   pass,
TAnimationTime   ellapsedTime,
TAnimationTime   realEt
[pure virtual]
+
+ + + + + +
+   + + +

+process one pass for this bindable. +

+ +

+Implemented in NL3D::CPSEmitter.

+


Friends And Related Function Documentation

+

+ + + + +
+ + +
friend class CPSLocated [friend] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented in NL3D::CPSForce. +

+Definition at line 939 of file ps_located.h. +

+Referenced by NL3D::CPSTargetLocatedBindable::detachTarget, displayIcon2d, NL3D::CPSShockWave::getAngle2DOwner, NL3D::CPSMesh::getAngle2DOwner, NL3D::CPSFanLight::getAngle2DOwner, NL3D::CPSFaceLookAt::getAngle2DOwner, NL3D::CPSTailDot::getColorOwner, NL3D::CPSShockWave::getColorOwner, NL3D::CPSRibbonLookAt::getColorOwner, NL3D::CPSRibbon::getColorOwner, NL3D::CPSQuad::getColorOwner, NL3D::CPSConstraintMesh::getColorOwner, NL3D::CPSFanLight::getColorOwner, NL3D::CPSDot::getColorOwner, NL3D::CPSEmitter::getEmittedType, NL3D::CPSSphericalEmitter::getModulatedEmitterOwner, NL3D::CPSEmitterRectangle::getModulatedEmitterOwner, NL3D::CPSEmitterOmni::getModulatedEmitterOwner, NL3D::CPSEmitterDirectionnal::getModulatedEmitterOwner, getOwner, NL3D::CPSShockWave::getPlaneBasisOwner, NL3D::CPSConstraintMesh::getPlaneBasisOwner, NL3D::CPSMesh::getPlaneBasisOwner, NL3D::CPSFace::getPlaneBasisOwner, NL3D::CPSTailDot::getSizeOwner, NL3D::CPSShockWave::getSizeOwner, NL3D::CPSRibbonLookAt::getSizeOwner, NL3D::CPSRibbon::getSizeOwner, NL3D::CPSQuad::getSizeOwner, NL3D::CPSConstraintMesh::getSizeOwner, NL3D::CPSMesh::getSizeOwner, NL3D::CPSFanLight::getSizeOwner, NL3D::CPSTargetLocatedBindable::getTarget, NL3D::CPSShockWave::getTextureIndexOwner, NL3D::CPSQuad::getTextureIndexOwner, NL3D::CPSQuad::newElement, NL3D::CPSTargetLocatedBindable::releaseTargetRsc, NL3D::CPSZoneRectangle::show, NL3D::CPSZoneCylinder::show, NL3D::CPSZoneDisc::show, NL3D::CPSZoneSphere::show, NL3D::CPSZonePlane::show, NL3D::CPSSphericalEmitter::showTool, NL3D::CPSEmitterRectangle::showTool, and NL3D::CPSEmitter::showTool.

+


Member Data Documentation

+

+ + + + +
+ + +
bool NL3D::CPSLocatedBindable::_Active [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 986 of file ps_located.h. +

+Referenced by isActive, and setActive.

+

+ + + + +
+ + +
uint32 NL3D::CPSLocatedBindable::_ExternID [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 980 of file ps_located.h. +

+Referenced by getExternID, and setExternID.

+

+ + + + +
+ + +
TPSLod NL3D::CPSLocatedBindable::_LOD [protected] +
+
+ + + + + +
+   + + +

+tells when this object must be dealt with. +

+ +

+Definition at line 982 of file ps_located.h. +

+Referenced by getLOD, and setLOD.

+

+ + + + +
+ + +
std::string NL3D::CPSLocatedBindable::_Name [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 984 of file ps_located.h. +

+Referenced by NL3D::CPSBrownianForce::CPSBrownianForce, NL3D::CPSCentralGravity::CPSCentralGravity, NL3D::CPSConstraintMesh::CPSConstraintMesh, NL3D::CPSCylindricVortex::CPSCylindricVortex, NL3D::CPSDirectionnalForce::CPSDirectionnalForce, NL3D::CPSDot::CPSDot, NL3D::CPSEmitterConic::CPSEmitterConic, NL3D::CPSEmitterDirectionnal::CPSEmitterDirectionnal, NL3D::CPSEmitterOmni::CPSEmitterOmni, NL3D::CPSEmitterRectangle::CPSEmitterRectangle, NL3D::CPSFace::CPSFace, NL3D::CPSFaceLookAt::CPSFaceLookAt, NL3D::CPSFanLight::CPSFanLight, NL3D::CPSFluidFriction::CPSFluidFriction, NL3D::CPSGravity::CPSGravity, NL3D::CPSMagneticForce::CPSMagneticForce, NL3D::CPSMesh::CPSMesh, NL3D::CPSQuad::CPSQuad, NL3D::CPSRadialEmitter::CPSRadialEmitter, NL3D::CPSRibbon::CPSRibbon, NL3D::CPSShockWave::CPSShockWave, NL3D::CPSSound::CPSSound, NL3D::CPSSphericalEmitter::CPSSphericalEmitter, NL3D::CPSSpring::CPSSpring, NL3D::CPSTailDot::CPSTailDot, NL3D::CPSTurbul::CPSTurbul, NL3D::CPSZoneCylinder::CPSZoneCylinder, NL3D::CPSZoneDisc::CPSZoneDisc, NL3D::CPSZoneRectangle::CPSZoneRectangle, NL3D::CPSZoneSphere::CPSZoneSphere, getName, and setName.

+

+ + + + +
+ + +
CPSLocated* NL3D::CPSLocatedBindable::_Owner [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 979 of file ps_located.h. +

+Referenced by NL3D::CPSTargetLocatedBindable::attachTarget, NL3D::CPSForce::attachTarget, NL3D::CPSEmitter::bounceOccured, NL3D::CPSZonePlane::buildBasis, NL3D::CPSForce::cancelIntegrable, NL3D::CPSConstraintMesh::computeColors, computeI, computeJ, computeK, NL3D::CPSParticle::computeSrcStep, CPSLocatedBindable, NL3D::CPSRibbonBase::deleteElement, NL3D::CPSConstraintMesh::deleteElement, NL3D::CPSMesh::deleteElement, NL3D::CPSFace::deleteElement, NL3D::CPSEmitter::deleteElement, displayIcon2d, NL3D::CPSTailDot::displayRibbons, NL3D::CPSRibbonLookAt::displayRibbons, NL3D::CPSRibbon::displayRibbons, NL3D::CPSShockWave::draw, NL3D::CPSConstraintMesh::draw, NL3D::CPSFanLight::draw, NL3D::CPSFaceLookAt::draw, NL3D::CPSDot::draw, NL3D::CPSRibbonBase::dupRibbon, NL3D::CPSRadialEmitter::emit, NL3D::CPSEmitterConic::emit, NL3D::CPSEmitterRectangle::emit, NL3D::CPSEmitterDirectionnal::emit, NL3D::CPSConstraintMesh::fillIndexesInPrecompBasis, NL3D::CPSFace::fillIndexesInPrecompBasis, NL3D::CPSShockWave::getAngle2DOwner, NL3D::CPSMesh::getAngle2DOwner, NL3D::CPSFanLight::getAngle2DOwner, NL3D::CPSFaceLookAt::getAngle2DOwner, NL3D::CPSTailDot::getColorOwner, NL3D::CPSShockWave::getColorOwner, NL3D::CPSRibbonLookAt::getColorOwner, NL3D::CPSRibbon::getColorOwner, NL3D::CPSQuad::getColorOwner, NL3D::CPSConstraintMesh::getColorOwner, NL3D::CPSFanLight::getColorOwner, NL3D::CPSDot::getColorOwner, getDriver, getFontGenerator, getFontManager, NL3D::CPSCylindricVortex::getForceIntensityOwner, NL3D::CPSTurbul::getForceIntensityOwner, NL3D::CPSBrownianForce::getForceIntensityOwner, NL3D::CPSFluidFriction::getForceIntensityOwner, NL3D::CPSForceIntensityHelper::getForceIntensityOwner, getInvertedLocatedMat, getInvertedSysMat, getInvertedViewMat, getLocatedMat, NL3D::CPSZoneRectangle::getMatrix, NL3D::CPSZoneCylinder::getMatrix, NL3D::CPSZoneDisc::getMatrix, NL3D::CPSZoneSphere::getMatrix, NL3D::CPSCylindricVortex::getMatrix, NL3D::CPSSphericalEmitter::getMatrix, NL3D::CPSEmitterRectangle::getMatrix, NL3D::CPSTailDot::getMaxNumFaces, NL3D::CPSShockWave::getMaxNumFaces, NL3D::CPSRibbonLookAt::getMaxNumFaces, NL3D::CPSRibbon::getMaxNumFaces, NL3D::CPSQuad::getMaxNumFaces, NL3D::CPSConstraintMesh::getMaxNumFaces, NL3D::CPSFanLight::getMaxNumFaces, NL3D::CPSDot::getMaxNumFaces, NL3D::CPSSphericalEmitter::getModulatedEmitterOwner, NL3D::CPSEmitterRectangle::getModulatedEmitterOwner, NL3D::CPSEmitterOmni::getModulatedEmitterOwner, NL3D::CPSEmitterDirectionnal::getModulatedEmitterOwner, getOwner, NL3D::CPSShockWave::getPlaneBasisOwner, NL3D::CPSConstraintMesh::getPlaneBasisOwner, NL3D::CPSMesh::getPlaneBasisOwner, NL3D::CPSFace::getPlaneBasisOwner, NL3D::CPSTailDot::getSizeOwner, NL3D::CPSShockWave::getSizeOwner, NL3D::CPSRibbonLookAt::getSizeOwner, NL3D::CPSRibbon::getSizeOwner, NL3D::CPSQuad::getSizeOwner, NL3D::CPSConstraintMesh::getSizeOwner, NL3D::CPSMesh::getSizeOwner, NL3D::CPSFanLight::getSizeOwner, getSysMat, NL3D::CPSShockWave::getTextureIndexOwner, NL3D::CPSQuad::getTextureIndexOwner, getViewMat, NL3D::CPSEmitter::hasEmitters, NL3D::CPSParticle::hasParticles, NL3D::CPSRibbonBase::motionTypeChanged, NL3D::CPSSound::newElement, NL3D::CPSRibbonBase::newElement, NL3D::CPSConstraintMesh::newElement, NL3D::CPSMesh::newElement, NL3D::CPSFace::newElement, NL3D::CPSParticle::notifyOwnerMaxNumFacesChanged, NL3D::CIsotropicForceT::performDynamic, NL3D::CPSBrownianForce::performDynamic, NL3D::CPSMagneticForce::performDynamic, NL3D::CPSCylindricVortex::performDynamic, NL3D::CPSSpring::performDynamic, NL3D::CPSCentralGravity::performDynamic, NL3D::CPSGravity::performDynamic, NL3D::CPSDirectionnalForce::performDynamic, NL3D::CPSZoneRectangle::performMotion, NL3D::CPSZoneCylinder::performMotion, NL3D::CPSZoneDisc::performMotion, NL3D::CPSZoneSphere::performMotion, NL3D::CPSZonePlane::performMotion, NL3D::CPSEmitter::processEmit, NL3D::CPSEmitter::processEmitConsistent, NL3D::CPSEmitter::processRegularEmission, NL3D::CPSEmitter::processRegularEmissionConsistent, NL3D::CPSForce::renewIntegrable, NL3D::CPSRibbonBase::resetFromOwner, NL3D::CPSConstraintMesh::resize, NL3D::CPSEmitter::resize, setExternID, NL3D::CPSEmitter::setGenNbScheme, NL3D::CPSZoneRectangle::setMatrix, NL3D::CPSZoneCylinder::setMatrix, NL3D::CPSZoneDisc::setMatrix, NL3D::CPSZoneSphere::setMatrix, NL3D::CPSZonePlane::setMatrix, NL3D::CPSCylindricVortex::setMatrix, NL3D::CPSSphericalEmitter::setMatrix, NL3D::CPSEmitterRectangle::setMatrix, NL3D::CPSConstraintMesh::setMorphScheme, NL3D::CPSFanLight::setNbFans, NL3D::CPSShockWave::setNbSegs, setOwner, NL3D::CPSEmitter::setPeriodScheme, NL3D::CPSShockWave::setRadiusCut, NL3D::CPSRibbonBase::setTailNbSeg, NL3D::CPSShockWave::setUFactor, setupDriverModelMatrix, NL3D::CPSTurbul::setupFunctor, NL3D::CPSFluidFriction::setupFunctor, NL3D::CPSTailDot::setupGlobalColor, NL3D::CPSFanLight::setupMaterial, NL3D::CPSRibbon::setupTexturedGlobalColor, NL3D::CPSRibbon::setupUntexturedGlobalColor, NL3D::CPSZoneRectangle::show, NL3D::CPSZoneCylinder::show, NL3D::CPSZoneDisc::show, NL3D::CPSZoneSphere::show, NL3D::CPSZonePlane::show, NL3D::CPSCylindricVortex::show, NL3D::CPSGravity::show, NL3D::CPSDirectionnalForce::show, NL3D::CPSSphericalEmitter::showTool, NL3D::CPSEmitterRectangle::showTool, NL3D::CPSEmitter::showTool, NL3D::CPSEmitter::singleEmit, NL3D::CPSTailDot::step, NL3D::CPSSound::step, NL3D::CPSRibbonLookAt::step, NL3D::CPSRibbon::step, NL3D::CPSFace::step, NL3D::CPSEmitter::step, NL3D::CPSConstraintMesh::update, NL3D::CPSRibbonBase::updateGlobals, NL3D::CPSRibbonBase::updateLOD, NL3D::CPSShockWave::updateMatAndVbForColor, NL3D::CPSQuad::updateMatBeforeRendering, NL3D::CPSTailDot::updateMaterial, NL3D::CPSEmitter::updateMaxCountVect, NL3D::CPSMesh::updatePos, NL3D::CPSRibbon::updateTexturedMaterial, NL3D::CPSRibbon::updateUntexturedMaterial, NL3D::CPSShockWave::updateVbColNUVForRender, NL3D::CPSQuad::updateVbColNUVForRender, ~CPSLocatedBindable, and NL3D::CPSMesh::~CPSMesh.

+


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