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

this is just a coloured dot. More...

#include <ps_dot.h>

Inheritance diagram for NL3D::CPSDot:

NL3D::CPSParticle NL3D::CPSColoredParticle NL3D::CPSMaterial NL3D::CPSLocatedBindable NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 CPSDot ()
 ctor. More...

 NLMISC_DECLARE_CLASS (CPSDot)
void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
 ===================================================================. More...

virtual bool hasTransparentFaces (void)
 ===================================================================. More...

virtual bool hasOpaqueFaces (void)
 ===================================================================. More...

virtual uint32 getMaxNumFaces (void) const
 ===================================================================. More...


Static Public Methods

void initVertexBuffers ()
 =================================================================== init the vertex buffers. More...


Protected Methods

virtual void draw (bool opaque)
 ===================================================================. More...

virtual CPSLocatedgetColorOwner (void)
 deriver must return their owner there. More...

void init (void)
 ===================================================================. More...

virtual void updateMatAndVbForColor (void)
 ===================================================================. More...

void resize (uint32 size)
 ===================================================================. More...

void newElement (CPSLocated *emitterLocated, uint32 emitterIndex)
 ===================================================================. More...

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


Static Protected Attributes

CVertexBuffer _DotVb
 static members. More...

CVertexBuffer _DotVbColor

Detailed Description

this is just a coloured dot.

Definition at line 43 of file ps_dot.h.


Constructor & Destructor Documentation

NL3D::CPSDot::CPSDot   [inline]
 

ctor.

Definition at line 47 of file ps_dot.h.

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


Member Function Documentation

void NL3D::CPSDot::deleteElement uint32    [protected, virtual]
 

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

Implements NL3D::CPSParticle.

Definition at line 228 of file ps_dot.cpp.

References NL3D::CPSColoredParticle::deleteColorElement, and index.

void NL3D::CPSDot::draw bool    opaque [protected, virtual]
 

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

Reimplemented from NL3D::CPSParticle.

Definition at line 122 of file ps_dot.cpp.

References NL3D::CPSColoredParticle::_Color, NL3D::CPSColoredParticle::_ColorScheme, _DotVb, _DotVbColor, NL3D::CPSMaterial::_Mat, NL3D::CPSLocatedBindable::_Owner, NL3D::CPSParticle::computeSrcStep, NL3D::DrawDot, NL3D::CPSMaterial::forceTexturedMaterialStages, NL3D::CPSLocatedBindable::getDriver, NLMISC::CRGBA::modulateFromColor, NL3D::CPSLocatedBindable::setupDriverModelMatrix, NL3D::SetupModulatedStage, NL3D::CPSParticle::step, and NL3D::TIteratorVectStep1616.

virtual CPSLocated* NL3D::CPSDot::getColorOwner void    [inline, protected, virtual]
 

deriver must return their owner there.

Implements NL3D::CPSColoredParticle.

Definition at line 68 of file ps_dot.h.

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

uint32 NL3D::CPSDot::getMaxNumFaces void    const [virtual]
 

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

Implements NL3D::CPSParticle.

Definition at line 215 of file ps_dot.cpp.

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

bool NL3D::CPSDot::hasOpaqueFaces void    [virtual]
 

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

Implements NL3D::CPSParticle.

Definition at line 245 of file ps_dot.cpp.

References hasTransparentFaces.

bool NL3D::CPSDot::hasTransparentFaces void    [virtual]
 

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

Implements NL3D::CPSParticle.

Definition at line 239 of file ps_dot.cpp.

References NL3D::CPSMaterial::getBlendingMode.

Referenced by hasOpaqueFaces.

void NL3D::CPSDot::init void    [protected]
 

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

Definition at line 206 of file ps_dot.cpp.

References NL3D::CPSMaterial::_Mat, and updateMatAndVbForColor.

Referenced by CPSDot.

void NL3D::CPSDot::initVertexBuffers   [static]
 

=================================================================== init the vertex buffers.

Definition at line 197 of file ps_dot.cpp.

References _DotVb, and _DotVbColor.

void NL3D::CPSDot::newElement CPSLocated   emitterLocated,
uint32    emitterIndex
[protected, virtual]
 

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

Implements NL3D::CPSParticle.

Definition at line 222 of file ps_dot.cpp.

References NL3D::CPSColoredParticle::newColorElement.

NL3D::CPSDot::NLMISC_DECLARE_CLASS CPSDot   
 

void NL3D::CPSDot::resize uint32    size [protected, virtual]
 

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

Implements NL3D::CPSParticle.

Definition at line 251 of file ps_dot.cpp.

References nlassert, and NL3D::CPSColoredParticle::resizeColor.

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

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

Reimplemented from NL3D::CPSParticle.

Definition at line 258 of file ps_dot.cpp.

void NL3D::CPSDot::updateMatAndVbForColor void    [protected, virtual]
 

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

Implements NL3D::CPSColoredParticle.

Definition at line 234 of file ps_dot.cpp.

Referenced by init.


Member Data Documentation

CVertexBuffer NL3D::CPSDot::_DotVb [static, protected]
 

static members.

Definition at line 46 of file ps_dot.cpp.

Referenced by draw, and initVertexBuffers.

CVertexBuffer NL3D::CPSDot::_DotVbColor [static, protected]
 

Definition at line 47 of file ps_dot.cpp.

Referenced by draw, and initVertexBuffers.


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