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

This is a Value blender class. More...

#include <ps_attrib_maker_template.h>

Inheritance diagram for NL3D::CPSValueBlender:

NL3D::CPSAttribMakerT< T, CPSValueBlendFunc< T > > NL3D::CPSAttribMaker NL3D::CPSAttribMakerBase NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 CPSValueBlender (float nbCycles)
 ctor With nbCycles, you can set the pattern frequency. More...

virtual T getMaxValue (void) const
 get the max value (meaningful for ordered set only). More...


Detailed Description

template<typename T>
class NL3D::CPSValueBlender< T >

This is a Value blender class.

The blending between value is not sampled with this class. So it may be slow, but it is exact. It work with most type, but some of them may need special blending between value : if so you must specialize the template function PSValueBlend defined in this file to do the job... To use this, just derive a class, create a ctor, and declare it to the class registry

in the ctor, you should call _F.setValue to init the functor object.

Definition at line 158 of file ps_attrib_maker_template.h.


Constructor & Destructor Documentation

template<typename T>
NL3D::CPSValueBlender< T >::CPSValueBlender float    nbCycles [inline]
 

ctor With nbCycles, you can set the pattern frequency.

It is usually one. See ps_attrib_maker.h For further details

Definition at line 165 of file ps_attrib_maker_template.h.


Member Function Documentation

template<typename T>
virtual T NL3D::CPSValueBlender< T >::getMaxValue void    const [inline, virtual]
 

get the max value (meaningful for ordered set only).

Reimplemented from NL3D::CPSAttribMaker.

Definition at line 169 of file ps_attrib_maker_template.h.


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