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

this is a 'follow direction' plane basis maker It set the plane basis to have its normal in the same direction than speed of the located The cycle param has no effect o the direction. More...

#include <ps_plane_basis_maker.h>

Inheritance diagram for NL3D::CPSPlaneBasisFollowSpeed:

NL3D::CPSAttribMaker< CPlaneBasis > NL3D::CPSAttribMakerBase NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 CPSPlaneBasisFollowSpeed ()
virtual CPlaneBasis get (CPSLocated *loc, uint32 index)
 ============================================================================. More...

virtual void * make (CPSLocated *loc, uint32 startIndex, void *tab, uint32 stride, uint32 numAttrib, bool enableNoCopy=false, uint32 srcStep=(1<< 16)) const
 ============================================================================. More...

virtual void make4 (CPSLocated *loc, uint32 startIndex, void *tab, uint32 stride, uint32 numAttrib, uint32 srcStep=(1<< 16)) const
 ============================================================================. More...

virtual void makeN (CPSLocated *loc, uint32 startIndex, void *tab, uint32 stride, uint32 numAttrib, uint32 nbReplicate, uint32 srcStep=(1<< 16)) const
 ============================================================================. More...

 NLMISC_DECLARE_CLASS (CPSPlaneBasisFollowSpeed)
virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
 serialization. More...

CPSAttribMakerBaseclone () const

Detailed Description

this is a 'follow direction' plane basis maker It set the plane basis to have its normal in the same direction than speed of the located The cycle param has no effect o the direction.

Definition at line 85 of file ps_plane_basis_maker.h.


Constructor & Destructor Documentation

NL3D::CPSPlaneBasisFollowSpeed::CPSPlaneBasisFollowSpeed   [inline]
 

Definition at line 89 of file ps_plane_basis_maker.h.

References NL3D::CPSAttribMaker< CPlaneBasis >::CPSAttribMaker.

Referenced by clone.


Member Function Documentation

CPSAttribMakerBase* NL3D::CPSPlaneBasisFollowSpeed::clone void    const [inline, virtual]
 

Implements NL3D::CPSAttribMakerBase.

Definition at line 140 of file ps_plane_basis_maker.h.

References CPSPlaneBasisFollowSpeed.

CPlaneBasis NL3D::CPSPlaneBasisFollowSpeed::get CPSLocated   loc,
uint32    index
[virtual]
 

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

Implements NL3D::CPSAttribMaker< CPlaneBasis >.

Definition at line 43 of file ps_plane_basis_maker.cpp.

References index.

void * NL3D::CPSPlaneBasisFollowSpeed::make CPSLocated   loc,
uint32    startIndex,
void *    tab,
uint32    stride,
uint32    numAttrib,
bool    enableNoCopy = false,
uint32    srcStep = (1<< 16)
const [virtual]
 

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

It fills numAttrib attributes.

Parameters:
loc  the 'located' that hold the 'located bindable' that need an attribute to be filled
startIndex  usually 0, it gives the index of the first element in the located

Implements NL3D::CPSAttribMaker< CPlaneBasis >.

Definition at line 49 of file ps_plane_basis_maker.cpp.

References nlassert, and stride.

void NL3D::CPSPlaneBasisFollowSpeed::make4 CPSLocated   loc,
uint32    startIndex,
void *    tab,
uint32    stride,
uint32    numAttrib,
uint32    srcStep = (1<< 16)
const [virtual]
 

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

Useful for facelookat and the like

See also:
make()

Implements NL3D::CPSAttribMaker< CPlaneBasis >.

Definition at line 88 of file ps_plane_basis_maker.cpp.

References nlassert, and stride.

void NL3D::CPSPlaneBasisFollowSpeed::makeN CPSLocated   loc,
uint32    startIndex,
void *    tab,
uint32    stride,
uint32    numAttrib,
uint32    nbReplicate,
uint32    srcStep = (1<< 16)
const [virtual]
 

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

See also:
make4

Implements NL3D::CPSAttribMaker< CPlaneBasis >.

Definition at line 135 of file ps_plane_basis_maker.cpp.

References nlassert, and stride.

NL3D::CPSPlaneBasisFollowSpeed::NLMISC_DECLARE_CLASS CPSPlaneBasisFollowSpeed   
 

virtual void NL3D::CPSPlaneBasisFollowSpeed::serial NLMISC::IStream   f throw (NLMISC::EStream) [inline, virtual]
 

serialization.

Reimplemented from NL3D::CPSAttribMaker< CPlaneBasis >.

Definition at line 135 of file ps_plane_basis_maker.h.


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