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

This temlate functor blend exactly between 2 value (no samples) To accomplish blending, it use the template function PSValueBlend It is used by CPSValueBlend. More...

#include <ps_attrib_maker_template.h>

Inheritance diagram for NL3D::CPSValueBlendFunc:

NL3D::CPSValueBlendFuncBase List of all members.

Public Methods

operator() (TAnimationTime time) const
 This produce Values. More...

Object
 CPSValueBlendFunc ()
 ctor. More...

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

virtual void getValues (T &startValue, T &endValue) const
 Retrieve the start and end Value. More...

virtual void setValues (T startValue, T endValue)
 Set the Values between which to blend. More...

getMaxValue (void) const

Protected Attributes

_StartValue
_EndValue

Detailed Description

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

This temlate functor blend exactly between 2 value (no samples) To accomplish blending, it use the template function PSValueBlend It is used by CPSValueBlend.

Author:
Nicolas Vizerie , Nevrax France
Date:
2001
See also:
PSValueBlend

Definition at line 93 of file ps_attrib_maker_template.h.


Constructor & Destructor Documentation

template<typename T>
NL3D::CPSValueBlendFunc< T >::CPSValueBlendFunc   [inline]
 

ctor.

Definition at line 99 of file ps_attrib_maker_template.h.


Member Function Documentation

template<typename T>
T NL3D::CPSValueBlendFunc< T >::getMaxValue void    const [inline]
 

Definition at line 137 of file ps_attrib_maker_template.h.

template<typename T>
virtual void NL3D::CPSValueBlendFunc< T >::getValues T &    startValue,
T &    endValue
const [inline, virtual]
 

Retrieve the start and end Value.

Implements NL3D::CPSValueBlendFuncBase.

Definition at line 123 of file ps_attrib_maker_template.h.

template<typename T>
T NL3D::CPSValueBlendFunc< T >::operator() TAnimationTime    time const [inline]
 

This produce Values.

Definition at line 113 of file ps_attrib_maker_template.h.

template<typename T>
void NL3D::CPSValueBlendFunc< T >::serial NLMISC::IStream   f throw (NLMISC::EStream) [inline]
 

serialization.

Definition at line 102 of file ps_attrib_maker_template.h.

template<typename T>
virtual void NL3D::CPSValueBlendFunc< T >::setValues   startValue,
  endValue
[inline, virtual]
 

Set the Values between which to blend.

Implements NL3D::CPSValueBlendFuncBase.

Definition at line 130 of file ps_attrib_maker_template.h.


Member Data Documentation

template<typename T>
T NL3D::CPSValueBlendFunc::_EndValue [protected]
 

Definition at line 144 of file ps_attrib_maker_template.h.

Referenced by NL3D::CPSValueBlendFunc< sint32 >::operator(), NL3D::CPSValueBlendFunc< sint32 >::serial, and NL3D::CPSValueBlendFunc< sint32 >::setValues.

template<typename T>
T NL3D::CPSValueBlendFunc::_StartValue [protected]
 

Definition at line 144 of file ps_attrib_maker_template.h.

Referenced by NL3D::CPSValueBlendFunc< sint32 >::operator(), NL3D::CPSValueBlendFunc< sint32 >::serial, and NL3D::CPSValueBlendFunc< sint32 >::setValues.


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