# 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::IPSMover Struct Reference

This interface allow to move a particle system element given its index in a located. More...

#include <ps_edit.h>

Inheritance diagram for NL3D::IPSMover:

NL3D::CPSCylindricVortex NL3D::CPSEmitterRectangle NL3D::CPSSphericalEmitter NL3D::CPSZoneCylinder NL3D::CPSZoneDisc NL3D::CPSZonePlane NL3D::CPSZoneRectangle NL3D::CPSZoneSphere List of all members.

Public Methods

virtual bool supportUniformScaling (void) const
 Send back true if uniform scaling can be applied If it sends false, uniform scaling leads to undefine results. More...

virtual bool supportNonUniformScaling (void) const
 Send back true if non-uniform scaling can be applied If it sends false, non-uniform scaling leads to undefine results (default has no effect). More...

virtual void setScale (uint32 index, float scale)
virtual void setScale (uint32 index, const NLMISC::CVector &s)
virtual NLMISC::CVector getScale (uint32 index) const
virtual bool onlyStoreNormal (void) const
 some object may not store a whole matrix (e.g planes) this return true if only a normal is needed to set the orientation of the object. More...

virtual NLMISC::CVector getNormal (uint32 index)
 if the object only needs a normal, this return the normal. If not, is return (0, 0, 0). More...

virtual void setNormal (uint32 index, NLMISC::CVector n)
 if the object only stores a normal, this set the normal of the object. Otherwise it has no effect. More...

virtual void setMatrix (uint32 index, const NLMISC::CMatrix &m)=0
virtual NLMISC::CMatrix getMatrix (uint32 index) const=0

Detailed Description

This interface allow to move a particle system element given its index in a located.

Author:
Nicolas Vizerie , Nevrax France
Date:
2001

Definition at line 62 of file ps_edit.h.


Member Function Documentation

virtual NLMISC::CMatrix NL3D::IPSMover::getMatrix uint32    index const [pure virtual]
 

Implemented in NL3D::CPSEmitterRectangle.

virtual NLMISC::CVector NL3D::IPSMover::getNormal uint32    index [inline, virtual]
 

if the object only needs a normal, this return the normal. If not, is return (0, 0, 0).

Reimplemented in NL3D::CPSCylindricVortex.

Definition at line 89 of file ps_edit.h.

References index, and NLMISC::CVector::Null.

virtual NLMISC::CVector NL3D::IPSMover::getScale uint32    index const [inline, virtual]
 

Reimplemented in NL3D::CPSEmitterRectangle.

Definition at line 81 of file ps_edit.h.

References index.

virtual bool NL3D::IPSMover::onlyStoreNormal void    const [inline, virtual]
 

some object may not store a whole matrix (e.g planes) this return true if only a normal is needed to set the orientation of the object.

Reimplemented in NL3D::CPSCylindricVortex.

Definition at line 86 of file ps_edit.h.

virtual void NL3D::IPSMover::setMatrix uint32    index,
const NLMISC::CMatrix   m
[pure virtual]
 

Implemented in NL3D::CPSEmitterRectangle.

virtual void NL3D::IPSMover::setNormal uint32    index,
NLMISC::CVector    n
[inline, virtual]
 

if the object only stores a normal, this set the normal of the object. Otherwise it has no effect.

Reimplemented in NL3D::CPSCylindricVortex.

Definition at line 92 of file ps_edit.h.

References index.

virtual void NL3D::IPSMover::setScale uint32    index,
const NLMISC::CVector   s
[inline, virtual]
 

Reimplemented in NL3D::CPSEmitterRectangle.

Definition at line 78 of file ps_edit.h.

References index, and s.

virtual void NL3D::IPSMover::setScale uint32    index,
float    scale
[inline, virtual]
 

Reimplemented in NL3D::CPSEmitterRectangle.

Definition at line 75 of file ps_edit.h.

References index.

virtual bool NL3D::IPSMover::supportNonUniformScaling void    const [inline, virtual]
 

Send back true if non-uniform scaling can be applied If it sends false, non-uniform scaling leads to undefine results (default has no effect).

Reimplemented in NL3D::CPSEmitterRectangle.

Definition at line 72 of file ps_edit.h.

virtual bool NL3D::IPSMover::supportUniformScaling void    const [inline, virtual]
 

Send back true if uniform scaling can be applied If it sends false, uniform scaling leads to undefine results.

Reimplemented in NL3D::CPSEmitterRectangle.

Definition at line 67 of file ps_edit.h.


The documentation for this struct was generated from the following file: