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

a caped cylinder. More...

#include <ps_zone.h>

Inheritance diagram for NL3D::CPSZoneCylinder:

NL3D::CPSZone NL3D::IPSMover NL3D::CPSTargetLocatedBindable NL3D::CPSLocatedBindable NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

virtual void performMotion (TAnimationTime ellapsedTime)
 This is usually called by the step method for the pass dedicated to zone. More...

virtual void show (TAnimationTime ellapsedTime)
 Show the zone (edition mode). More...

 CPSZoneCylinder ()
 NLMISC_DECLARE_CLASS (CPSZoneCylinder)
virtual bool supportUniformScaling (void) const
 Send back true if uniform scaling can be applied If it sends false, uniform scaling leads to undefine results. More...

virtual bool supportNonUniformScaling (void) const
 Send back true if non-uniform scaling can be applied If it sends false, non-uniform scaling leads to undefine results (default has no effect). More...

virtual void setMatrix (uint32 index, const NLMISC::CMatrix &m)
virtual NLMISC::CMatrix getMatrix (uint32 index) const
virtual void setScale (uint32 k, float scale)
virtual void setScale (uint32 k, const NLMISC::CVector &s)
virtual NLMISC::CVector getScale (uint32 k) const
virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
 serialization, DERIVER must override this, and call the parent version. More...


Protected Methods

NLMISC::CMatrix buildBasis (uint32 index) const
virtual void resize (uint32 size)
 Resize the bindable attributes containers should not be called directly. More...

virtual void newElement (CPSLocated *emitterLocated, uint32 emitterIndex)
 Generate a new element for this bindable. More...

virtual void deleteElement (uint32 index)
 Delete an element given its index Attributes of the located that hold this bindable (pos etc...) are still accessible for the given index. More...


Protected Attributes

CPSAttrib< CPlaneBasis_Basis
TPSAttribVector _Dim

Detailed Description

a caped cylinder.

Definition at line 290 of file ps_zone.h.


Constructor & Destructor Documentation

NL3D::CPSZoneCylinder::CPSZoneCylinder   [inline]
 

Definition at line 296 of file ps_zone.h.

References NL3D::CPSLocatedBindable::_Name.


Member Function Documentation

NLMISC::CMatrix NL3D::CPSZoneCylinder::buildBasis uint32    index const [protected]
 

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

Delete an element given its index Attributes of the located that hold this bindable (pos etc...) are still accessible for the given index.

index out of range -> nl_assert

Implements NL3D::CPSLocatedBindable.

Definition at line 1252 of file ps_zone.cpp.

References _Basis, _Dim, and index.

CMatrix NL3D::CPSZoneCylinder::getMatrix uint32    index const [virtual]
 

Implements NL3D::IPSMover.

Definition at line 1204 of file ps_zone.cpp.

References _Basis, NL3D::CPSLocatedBindable::_Owner, and index.

CVector NL3D::CPSZoneCylinder::getScale uint32    k const [virtual]
 

Reimplemented from NL3D::IPSMover.

Definition at line 1218 of file ps_zone.cpp.

References _Dim.

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

Generate a new element for this bindable.

They are generated according to the propertie of the class

Implements NL3D::CPSLocatedBindable.

Definition at line 1246 of file ps_zone.cpp.

References _Basis, and _Dim.

NL3D::CPSZoneCylinder::NLMISC_DECLARE_CLASS CPSZoneCylinder   
 

void NL3D::CPSZoneCylinder::performMotion TAnimationTime    ellapsedTime [virtual]
 

This is usually called by the step method for the pass dedicated to zone.

Implements NL3D::CPSZone.

Definition at line 939 of file ps_zone.cpp.

References _Basis, _Dim, NL3D::CPSLocatedBindable::_Owner, NL3D::CPSTargetLocatedBindable::_Targets, NL3D::PSCollideEpsilon, NL3D::TAnimationTime, and NL3D::TPSAttribVector.

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

Resize the bindable attributes containers should not be called directly.

Call CPSLocated::resize instead

Implements NL3D::CPSLocatedBindable.

Definition at line 1239 of file ps_zone.cpp.

References _Basis, _Dim, and nlassert.

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

serialization, DERIVER must override this, and call the parent version.

Reimplemented from NL3D::CPSZone.

Definition at line 1229 of file ps_zone.cpp.

void NL3D::CPSZoneCylinder::setMatrix uint32    index,
const NLMISC::CMatrix   m
[virtual]
 

Implements NL3D::IPSMover.

Definition at line 1190 of file ps_zone.cpp.

References _Basis, NL3D::CPSLocatedBindable::_Owner, and index.

void NL3D::CPSZoneCylinder::setScale uint32    k,
const NLMISC::CVector   s
[virtual]
 

Reimplemented from NL3D::IPSMover.

Definition at line 1223 of file ps_zone.cpp.

References _Dim, index, and s.

void NL3D::CPSZoneCylinder::setScale uint32    k,
float    scale
[virtual]
 

Reimplemented from NL3D::IPSMover.

Definition at line 1213 of file ps_zone.cpp.

References _Dim.

void NL3D::CPSZoneCylinder::show TAnimationTime    ellapsedTime [virtual]
 

Show the zone (edition mode).

Implements NL3D::CPSZone.

Definition at line 1152 of file ps_zone.cpp.

References _Basis, _Dim, NL3D::CPSLocatedBindable::_Owner, NL3D::CPSLocatedBindable::CPSLocated, NL3D::CPSLocatedBindable::CPSLocatedBindable, NL3D::CPSLocatedBindable::getDriver, NL3D::CPSLocatedBindable::getFontGenerator, NL3D::CPSLocatedBindable::getFontManager, NL3D::CPSLocatedBindable::getLocatedMat, index, NL3D::CPSLocatedBindable::setupDriverModelMatrix, and NL3D::TAnimationTime.

virtual bool NL3D::CPSZoneCylinder::supportNonUniformScaling void    const [inline, virtual]
 

Send back true if non-uniform scaling can be applied If it sends false, non-uniform scaling leads to undefine results (default has no effect).

Reimplemented from NL3D::IPSMover.

Definition at line 305 of file ps_zone.h.

virtual bool NL3D::CPSZoneCylinder::supportUniformScaling void    const [inline, virtual]
 

Send back true if uniform scaling can be applied If it sends false, uniform scaling leads to undefine results.

Reimplemented from NL3D::IPSMover.

Definition at line 304 of file ps_zone.h.


Member Data Documentation

CPSAttrib<CPlaneBasis> NL3D::CPSZoneCylinder::_Basis [protected]
 

Definition at line 322 of file ps_zone.h.

Referenced by deleteElement, getMatrix, newElement, performMotion, resize, setMatrix, and show.

TPSAttribVector NL3D::CPSZoneCylinder::_Dim [protected]
 

Definition at line 325 of file ps_zone.h.

Referenced by deleteElement, getScale, newElement, performMotion, resize, setScale, and show.


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