NL3D::IPSMover Struct Reference

#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

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.

Public Member Functions

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

virtual NLMISC::CVector getScale (uint32 index) const
virtual bool onlyStoreNormal (void) const
virtual void setMatrix (uint32 index, const NLMISC::CMatrix &m)=0
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

virtual void setScale (uint32 index, const NLMISC::CVector &s)
virtual void setScale (uint32 index, float scale)
virtual bool supportNonUniformScaling (void) const
virtual bool supportUniformScaling (void) const


Member Function Documentation

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

Implemented in NL3D::CPSEmitterRectangle, NL3D::CPSSphericalEmitter, NL3D::CPSCylindricVortex, NL3D::CPSZonePlane, NL3D::CPSZoneSphere, NL3D::CPSZoneDisc, NL3D::CPSZoneCylinder, and NL3D::CPSZoneRectangle.

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, NL3D::CPSZonePlane, and NL3D::CPSZoneDisc.

Definition at line 89 of file ps_edit.h.

References index, and uint32.

00089 { return NLMISC::CVector::Null ; }

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

Reimplemented in NL3D::CPSEmitterRectangle, NL3D::CPSSphericalEmitter, NL3D::CPSCylindricVortex, NL3D::CPSZoneSphere, NL3D::CPSZoneDisc, NL3D::CPSZoneCylinder, and NL3D::CPSZoneRectangle.

Definition at line 81 of file ps_edit.h.

References index, and uint32.

00081 { return NLMISC::CVector(1.f, 1.f, 1.f) ; }

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, NL3D::CPSZonePlane, and NL3D::CPSZoneDisc.

Definition at line 86 of file ps_edit.h.

00086 { return false ; }

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

Implemented in NL3D::CPSEmitterRectangle, NL3D::CPSSphericalEmitter, NL3D::CPSCylindricVortex, NL3D::CPSZonePlane, NL3D::CPSZoneSphere, NL3D::CPSZoneDisc, NL3D::CPSZoneCylinder, and NL3D::CPSZoneRectangle.

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, NL3D::CPSZonePlane, and NL3D::CPSZoneDisc.

Definition at line 92 of file ps_edit.h.

References index, and uint32.

00092 { }

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

Reimplemented in NL3D::CPSEmitterRectangle, NL3D::CPSZoneCylinder, and NL3D::CPSZoneRectangle.

Definition at line 78 of file ps_edit.h.

References index, s, and uint32.

00078 {}

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

Reimplemented in NL3D::CPSEmitterRectangle, NL3D::CPSSphericalEmitter, NL3D::CPSCylindricVortex, NL3D::CPSZoneSphere, NL3D::CPSZoneDisc, NL3D::CPSZoneCylinder, and NL3D::CPSZoneRectangle.

Definition at line 75 of file ps_edit.h.

References index, and uint32.

00075 {} ;

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, NL3D::CPSSphericalEmitter, NL3D::CPSCylindricVortex, NL3D::CPSZoneCylinder, and NL3D::CPSZoneRectangle.

Definition at line 72 of file ps_edit.h.

00072 { return false ; }

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, NL3D::CPSSphericalEmitter, NL3D::CPSCylindricVortex, NL3D::CPSZoneSphere, NL3D::CPSZoneDisc, NL3D::CPSZoneCylinder, and NL3D::CPSZoneRectangle.

Definition at line 67 of file ps_edit.h.

00067 { return false ; }


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 08:39:12 2004 for NeL by doxygen 1.3.6