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

this class adds tunable 3D rotation to a PLANE particle, it can be used by public multiple inheritance It must just produce 2 vectors that give the x and y vector of the local basis. More...

#include <ps_particle_basic.h>

Inheritance diagram for NL3D::CPSRotated3DPlaneParticle:

NL3D::CPSConstraintMesh NL3D::CPSFace NL3D::CPSMesh NL3D::CPSShockWave List of all members.

Public Methods

void setPlaneBasisScheme (CPSAttribMaker< CPlaneBasis > *basisMaker)
 ===================================================================================. More...

CPSAttribMaker< CPlaneBasis > * getPlaneBasisScheme (void)
 get the plane basis scheme, (NULL if none). More...

const CPSAttribMaker< CPlaneBasis > * getPlaneBasisScheme (void) const
 get the plane basis scheme, (NULL if none) const version. More...

void setPlaneBasis (const CPlaneBasis &basis)
 ===================================================================================. More...

CPlaneBasis getPlaneBasis (void) const
 get the constant basis. More...

 CPSRotated3DPlaneParticle ()
 ===================================================================================. More...

virtual ~CPSRotated3DPlaneParticle ()
 ===================================================================================. More...

void serialPlaneBasisScheme (NLMISC::IStream &f) throw (NLMISC::EStream)
 ===================================================================================. More...


Protected Methods

virtual CPSLocatedgetPlaneBasisOwner (void)=0
 if this is false, constant size will be used instead of a scheme deriver must return their owner there. More...

void newPlaneBasisElement (CPSLocated *emitterLocated, uint32 emitterIndex)
void deletePlaneBasisElement (uint32 index)
void resizePlaneBasis (uint32 size)

Protected Attributes

CPSAttribMaker< CPlaneBasis > * _PlaneBasisScheme
CPlaneBasis _PlaneBasis

Detailed Description

this class adds tunable 3D rotation to a PLANE particle, it can be used by public multiple inheritance It must just produce 2 vectors that give the x and y vector of the local basis.

Definition at line 626 of file ps_particle_basic.h.


Constructor & Destructor Documentation

NL3D::CPSRotated3DPlaneParticle::CPSRotated3DPlaneParticle  
 

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

Definition at line 454 of file ps_particle_basic.cpp.

References _PlaneBasis.

NL3D::CPSRotated3DPlaneParticle::~CPSRotated3DPlaneParticle   [virtual]
 

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

Definition at line 461 of file ps_particle_basic.cpp.

References _PlaneBasisScheme.


Member Function Documentation

void NL3D::CPSRotated3DPlaneParticle::deletePlaneBasisElement uint32    index [inline, protected]
 

Definition at line 674 of file ps_particle_basic.h.

References _PlaneBasisScheme, and index.

Referenced by NL3D::CPSConstraintMesh::deleteElement, NL3D::CPSMesh::deleteElement, and NL3D::CPSFace::deleteElement.

CPlaneBasis NL3D::CPSRotated3DPlaneParticle::getPlaneBasis void    const [inline]
 

get the constant basis.

Definition at line 649 of file ps_particle_basic.h.

References _PlaneBasis.

virtual CPSLocated* NL3D::CPSRotated3DPlaneParticle::getPlaneBasisOwner void    [protected, pure virtual]
 

if this is false, constant size will be used instead of a scheme deriver must return their owner there.

Implemented in NL3D::CPSFace.

Referenced by resizePlaneBasis.

const CPSAttribMaker<CPlaneBasis>* NL3D::CPSRotated3DPlaneParticle::getPlaneBasisScheme void    const [inline]
 

get the plane basis scheme, (NULL if none) const version.

Definition at line 644 of file ps_particle_basic.h.

References _PlaneBasisScheme.

CPSAttribMaker<CPlaneBasis>* NL3D::CPSRotated3DPlaneParticle::getPlaneBasisScheme void    [inline]
 

get the plane basis scheme, (NULL if none).

See also:
setPlaneBasisSchemeScheme()

Definition at line 641 of file ps_particle_basic.h.

References _PlaneBasisScheme.

void NL3D::CPSRotated3DPlaneParticle::newPlaneBasisElement CPSLocated   emitterLocated,
uint32    emitterIndex
[inline, protected]
 

Definition at line 670 of file ps_particle_basic.h.

References _PlaneBasisScheme.

Referenced by NL3D::CPSConstraintMesh::newElement, NL3D::CPSMesh::newElement, and NL3D::CPSFace::newElement.

void NL3D::CPSRotated3DPlaneParticle::resizePlaneBasis uint32    size [inline, protected]
 

Definition at line 678 of file ps_particle_basic.h.

References _PlaneBasisScheme, getPlaneBasisOwner, and nlassert.

Referenced by NL3D::CPSConstraintMesh::resize, NL3D::CPSMesh::resize, and NL3D::CPSFace::resize.

void NL3D::CPSRotated3DPlaneParticle::serialPlaneBasisScheme NLMISC::IStream   f throw (NLMISC::EStream)
 

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

Definition at line 467 of file ps_particle_basic.cpp.

void NL3D::CPSRotated3DPlaneParticle::setPlaneBasis const CPlaneBasis   basis
 

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

Definition at line 446 of file ps_particle_basic.cpp.

References _PlaneBasis, and _PlaneBasisScheme.

void NL3D::CPSRotated3DPlaneParticle::setPlaneBasisScheme CPSAttribMaker< CPlaneBasis > *    basisMaker
 

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

Definition at line 437 of file ps_particle_basic.cpp.

References nlassert.


Member Data Documentation

CPlaneBasis NL3D::CPSRotated3DPlaneParticle::_PlaneBasis [protected]
 

Definition at line 668 of file ps_particle_basic.h.

Referenced by CPSRotated3DPlaneParticle, getPlaneBasis, setPlaneBasis, and NL3D::CPSMesh::updatePos.

CPSAttribMaker<CPlaneBasis>* NL3D::CPSRotated3DPlaneParticle::_PlaneBasisScheme [protected]
 

Definition at line 666 of file ps_particle_basic.h.

Referenced by deletePlaneBasisElement, getPlaneBasisScheme, newPlaneBasisElement, resizePlaneBasis, setPlaneBasis, NL3D::CPSMesh::updatePos, and ~CPSRotated3DPlaneParticle.


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