# 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::CPSEmitterDirectionnal Class Reference

Emit in one direction. This can be the 0, 0, 0 vector. More...

#include <ps_emitter.h>

Inheritance diagram for NL3D::CPSEmitterDirectionnal:

NL3D::CPSEmitter NL3D::CPSModulatedEmitter NL3D::CPSDirection NL3D::CPSLocatedBindable NLMISC::IStreamable NLMISC::IClassable NL3D::CPSEmitterConic NL3D::CPSRadialEmitter List of all members.

Public Methods

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

 NLMISC_DECLARE_CLASS (CPSEmitterDirectionnal)
virtual void emit (const NLMISC::CVector &srcPos, uint32 index, NLMISC::CVector &pos, NLMISC::CVector &speed)
 ==========================================================================. More...

void setDir (const NLMISC::CVector &v)
NLMISC::CVector getDir (void) const

Protected Methods

virtual CPSLocatedgetModulatedEmitterOwner (void)
virtual void newElement (CPSLocated *emitter, uint32 emitterIndex)
 ==========================================================================. More...

virtual void deleteElement (uint32 index)
 ==========================================================================. More...

virtual void resize (uint32 capacity)
 ==========================================================================. More...


Protected Attributes

NLMISC::CVector _Dir

Detailed Description

Emit in one direction. This can be the 0, 0, 0 vector.

Definition at line 396 of file ps_emitter.h.


Constructor & Destructor Documentation

NL3D::CPSEmitterDirectionnal::CPSEmitterDirectionnal   [inline]
 

Definition at line 403 of file ps_emitter.h.

References _Dir, and NL3D::CPSLocatedBindable::_Name.


Member Function Documentation

void NL3D::CPSEmitterDirectionnal::deleteElement uint32    index [protected, virtual]
 

==========================================================================.

Reimplemented from NL3D::CPSEmitter.

Definition at line 1233 of file ps_emitter.cpp.

References NL3D::CPSModulatedEmitter::deleteEmitteeSpeedElement, and index.

void NL3D::CPSEmitterDirectionnal::emit const NLMISC::CVector   srcPos,
uint32    index,
NLMISC::CVector   pos,
NLMISC::CVector   speed
[virtual]
 

==========================================================================.

Implements NL3D::CPSEmitter.

Reimplemented in NL3D::CPSRadialEmitter.

Definition at line 1215 of file ps_emitter.cpp.

References _Dir, NL3D::CPSEmitter::_EmittedType, NL3D::CPSModulatedEmitter::_EmitteeSpeed, NL3D::CPSModulatedEmitter::_EmitteeSpeedScheme, NL3D::CPSLocatedBindable::_Owner, index, and nlassert.

NLMISC::CVector NL3D::CPSEmitterDirectionnal::getDir void    const [inline, virtual]
 

Implements NL3D::CPSDirection.

Definition at line 416 of file ps_emitter.h.

References _Dir.

virtual CPSLocated* NL3D::CPSEmitterDirectionnal::getModulatedEmitterOwner void    [inline, protected, virtual]
 

Implements NL3D::CPSModulatedEmitter.

Definition at line 423 of file ps_emitter.h.

References NL3D::CPSLocatedBindable::_Owner, and NL3D::CPSLocatedBindable::CPSLocated.

void NL3D::CPSEmitterDirectionnal::newElement CPSLocated   emitter,
uint32    emitterIndex
[protected, virtual]
 

==========================================================================.

Reimplemented from NL3D::CPSEmitter.

Definition at line 1226 of file ps_emitter.cpp.

References NL3D::CPSModulatedEmitter::newEmitteeSpeedElement.

NL3D::CPSEmitterDirectionnal::NLMISC_DECLARE_CLASS CPSEmitterDirectionnal   
 

Reimplemented in NL3D::CPSRadialEmitter.

void NL3D::CPSEmitterDirectionnal::resize uint32    capacity [protected, virtual]
 

==========================================================================.

Reimplemented from NL3D::CPSEmitter.

Definition at line 1240 of file ps_emitter.cpp.

References nlassert, and NL3D::CPSModulatedEmitter::resizeEmitteeSpeed.

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

==========================================================================.

Reimplemented from NL3D::CPSEmitter.

Reimplemented in NL3D::CPSRadialEmitter.

Definition at line 1248 of file ps_emitter.cpp.

void NL3D::CPSEmitterDirectionnal::setDir const NLMISC::CVector   v [inline, virtual]
 

Implements NL3D::CPSDirection.

Reimplemented in NL3D::CPSEmitterConic.

Definition at line 414 of file ps_emitter.h.

References _Dir, and v.


Member Data Documentation

NLMISC::CVector NL3D::CPSEmitterDirectionnal::_Dir [protected]
 

Definition at line 421 of file ps_emitter.h.

Referenced by CPSEmitterDirectionnal, NL3D::CPSRadialEmitter::emit, NL3D::CPSEmitterConic::emit, emit, getDir, and setDir.


The documentation for this class was generated from the following files: