#include <ps_edit.h>
Inheritance diagram for NL3D::IPSMover:
Nevrax France
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 |
|
|
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.
00089 { return NLMISC::CVector::Null ; } |
|
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.
00081 { return NLMISC::CVector(1.f, 1.f, 1.f) ; } |
|
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 ; } |
|
|
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.
00092 { } |
|
Reimplemented in NL3D::CPSEmitterRectangle, NL3D::CPSZoneCylinder, and NL3D::CPSZoneRectangle. Definition at line 78 of file ps_edit.h. References index, s, and uint32.
00078 {} |
|
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.
00075 {} ; |
|
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 ; } |
|
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 ; } |