|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CPSShockWave Class Reference#include <ps_shockwave.h>
Inheritance diagram for NL3D::CPSShockWave:
List of all members.
Public Methods |
| CPSShockWave (uint nbSeg=9, float radiusCut=0.8f, CSmartPtr< ITexture > tex=NULL) |
| =================================================================================. More...
|
void | setNbSegs (uint nbSeg) |
| =================================================================================. More...
|
uint | getNbSegs (void) const |
| retrieve the number of segs. More...
|
void | setRadiusCut (float aRatio) |
| =================================================================================. More...
|
float | getRadiusCut (void) const |
| get the radius ratio. More...
|
virtual void | serial (NLMISC::IStream &f) throw (NLMISC::EStream) |
| =================================================================================. More...
|
| NLMISC_DECLARE_CLASS (CPSShockWave) |
virtual bool | completeBBox (NLMISC::CAABBox &box) const |
| =================================================================================. More...
|
virtual bool | hasTransparentFaces (void) |
| =================================================================================. More...
|
virtual bool | hasOpaqueFaces (void) |
| =================================================================================. More...
|
virtual uint32 | getMaxNumFaces (void) const |
| =================================================================================. More...
|
void | setUFactor (float value) |
| =================================================================================. More...
|
float | getUFactor (void) const |
| get the U factor for textures. More...
|
Protected Methods |
void | updateVbColNUVForRender (uint32 startIndex, uint32 size, uint32 srcStep, CVertexBuffer &vb) |
| =================================================================================. More...
|
virtual void | updateMatAndVbForColor (void) |
| =================================================================================. More...
|
virtual void | updateMatAndVbForTexture (void) |
| =================================================================================. More...
|
virtual void | newElement (CPSLocated *emitterLocated, uint32 emitterIndex) |
| =================================================================================. More...
|
virtual void | deleteElement (uint32 index) |
| =================================================================================. More...
|
virtual void | resize (uint32 size) |
| =================================================================================. More...
|
virtual CPSLocated * | getColorOwner (void) |
| deriver must return their owner there. More...
|
virtual CPSLocated * | getSizeOwner (void) |
| deriver must return their owner there. More...
|
virtual CPSLocated * | getAngle2DOwner (void) |
| deriver must return their owner there. More...
|
virtual CPSLocated * | getPlaneBasisOwner (void) |
| if this is false, constant size will be used instead of a scheme deriver must return their owner there. More...
|
virtual CPSLocated * | getTextureIndexOwner (void) |
| deriver must return their owner there. More...
|
Private Types |
typedef std::hash_map< uint,
CVertexBuffer > | TVBMap |
typedef std::hash_map< uint,
CPrimitiveBlock > | TPBMap |
Private Methods |
void | getVBnPB (CVertexBuffer *&vb, CPrimitiveBlock *&pb) |
| =================================================================================. More...
|
uint | getNumShockWavesInVB () const |
| =================================================================================. More...
|
void | setupUFactor () |
| =================================================================================. More...
|
virtual void | draw (bool opaque) |
| =================================================================================. More...
|
virtual void | init (void) |
| =================================================================================. More...
|
Private Attributes |
uint32 | _NbSeg |
float | _RadiusCut |
float | _UFactor |
Static Private Attributes |
TPBMap | _PBMap |
TVBMap | _VBMap |
TVBMap | _AnimTexVBMap |
TVBMap | _ColoredVBMap |
TVBMap | _ColoredAnimTexVBMap |
Friends |
class | CPSShockWaveHelper |
Member Typedef Documentation
Constructor & Destructor Documentation
NL3D::CPSShockWave::CPSShockWave |
( |
uint |
nbSeg = 9, |
|
|
float |
radiusCut = 0.8f, |
|
|
CSmartPtr< ITexture > |
tex = NULL |
|
) |
|
|
Member Function Documentation
bool NL3D::CPSShockWave::completeBBox |
( |
NLMISC::CAABBox & |
box |
) |
const [virtual] |
|
void NL3D::CPSShockWave::deleteElement |
( |
uint32 |
index |
) |
[protected, virtual] |
|
void NL3D::CPSShockWave::draw |
( |
bool |
opaque |
) |
[private, virtual] |
|
virtual CPSLocated* NL3D::CPSShockWave::getAngle2DOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
virtual CPSLocated* NL3D::CPSShockWave::getColorOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
uint32 NL3D::CPSShockWave::getMaxNumFaces |
( |
void |
|
) |
const [virtual] |
|
uint NL3D::CPSShockWave::getNbSegs |
( |
void |
|
) |
const [inline] |
|
uint NL3D::CPSShockWave::getNumShockWavesInVB |
( |
|
) |
const [private] |
|
virtual CPSLocated* NL3D::CPSShockWave::getPlaneBasisOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
float NL3D::CPSShockWave::getRadiusCut |
( |
void |
|
) |
const [inline] |
|
virtual CPSLocated* NL3D::CPSShockWave::getSizeOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
virtual CPSLocated* NL3D::CPSShockWave::getTextureIndexOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
float NL3D::CPSShockWave::getUFactor |
( |
void |
|
) |
const [inline] |
|
|
=================================================================================.
Definition at line 459 of file ps_shockwave.cpp.
References _AnimTexVBMap, _ColoredAnimTexVBMap, _ColoredVBMap, NL3D::CPSColoredParticle::_ColorScheme, _NbSeg, _PBMap, NL3D::CPSTexturedParticle::_TexGroup, _VBMap, getNumShockWavesInVB, index, NLAISCRIPT::l, nlassert, and TVBMap. |
bool NL3D::CPSShockWave::hasOpaqueFaces |
( |
void |
|
) |
[virtual] |
|
bool NL3D::CPSShockWave::hasTransparentFaces |
( |
void |
|
) |
[virtual] |
|
void NL3D::CPSShockWave::init |
( |
void |
|
) |
[private, virtual] |
|
void NL3D::CPSShockWave::newElement |
( |
CPSLocated * |
emitterLocated, |
|
|
uint32 |
emitterIndex |
|
) |
[protected, virtual] |
|
NL3D::CPSShockWave::NLMISC_DECLARE_CLASS |
( |
CPSShockWave |
|
) |
|
|
void NL3D::CPSShockWave::resize |
( |
uint32 |
size |
) |
[protected, virtual] |
|
void NL3D::CPSShockWave::setNbSegs |
( |
uint |
nbSeg |
) |
|
|
void NL3D::CPSShockWave::setRadiusCut |
( |
float |
aRatio |
) |
|
|
void NL3D::CPSShockWave::setUFactor |
( |
float |
value |
) |
|
|
void NL3D::CPSShockWave::setupUFactor |
( |
|
) |
[inline, private] |
|
void NL3D::CPSShockWave::updateMatAndVbForColor |
( |
void |
|
) |
[protected, virtual] |
|
void NL3D::CPSShockWave::updateMatAndVbForTexture |
( |
void |
|
) |
[protected, virtual] |
|
Friends And Related Function Documentation
friend class CPSShockWaveHelper [friend]
|
|
Member Data Documentation
uint32 NL3D::CPSShockWave::_NbSeg [private]
|
|
float NL3D::CPSShockWave::_RadiusCut [private]
|
|
float NL3D::CPSShockWave::_UFactor [private]
|
|
The documentation for this class was generated from the following files:
|
|