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

This class is an interface for object for a particle system that need a direction (forces, emitter...) Some of these object support global value as a direction (see CParticleSystem::setGlobalVectorValue), so calls to setDir then have no effect. More...

#include <ps_direction.h>

Inheritance diagram for NL3D::CPSDirection:

NL3D::CPSDirectionnalForce NL3D::CPSEmitterDirectionnal NL3D::CPSEmitterRectangle NL3D::CPSMagneticForce NL3D::CPSEmitterConic NL3D::CPSRadialEmitter List of all members.

Public Methods

virtual void setDir (const NLMISC::CVector &v)=0
virtual NLMISC::CVector getDir (void) const=0
virtual bool supportGlobalVectorValue () const
virtual void enableGlobalVectorValue (const std::string &name)
 The direction is taken from a global vector defined in the particle system NULL or an empty string as a name disable the use of a global value. More...

virtual std::string getGlobalVectorValueName () const

Detailed Description

This class is an interface for object for a particle system that need a direction (forces, emitter...) Some of these object support global value as a direction (see CParticleSystem::setGlobalVectorValue), so calls to setDir then have no effect.

Definition at line 40 of file ps_direction.h.


Member Function Documentation

virtual void NL3D::CPSDirection::enableGlobalVectorValue const std::string &    name [inline, virtual]
 

The direction is taken from a global vector defined in the particle system NULL or an empty string as a name disable the use of a global value.

Reimplemented in NL3D::CPSDirectionnalForce.

Definition at line 49 of file ps_direction.h.

virtual NLMISC::CVector NL3D::CPSDirection::getDir void    const [pure virtual]
 

Implemented in NL3D::CPSEmitterDirectionnal.

virtual std::string NL3D::CPSDirection::getGlobalVectorValueName   const [inline, virtual]
 

Reimplemented in NL3D::CPSDirectionnalForce.

Definition at line 50 of file ps_direction.h.

virtual void NL3D::CPSDirection::setDir const NLMISC::CVector   v [pure virtual]
 

Implemented in NL3D::CPSEmitterDirectionnal.

virtual bool NL3D::CPSDirection::supportGlobalVectorValue   const [inline, virtual]
 

Reimplemented in NL3D::CPSDirectionnalForce.

Definition at line 45 of file ps_direction.h.


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