From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a03250.html | 438 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 438 insertions(+) create mode 100644 docs/doxygen/nel/a03250.html (limited to 'docs/doxygen/nel/a03250.html') diff --git a/docs/doxygen/nel/a03250.html b/docs/doxygen/nel/a03250.html new file mode 100644 index 00000000..07e93607 --- /dev/null +++ b/docs/doxygen/nel/a03250.html @@ -0,0 +1,438 @@ + + +NeL: TemplateNL3D::CPSValueBlendFunc< T > class Reference + + + +
+

NL3D::CPSValueBlendFunc< T > Class Template Reference

#include <ps_attrib_maker_template.h> +

+

Inheritance diagram for NL3D::CPSValueBlendFunc< T >: +

+ +NL3D::CPSValueBlendFuncBase< T > + +

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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

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

Object
 CPSValueBlendFunc ()
 ctor

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

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

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


Protected Attributes

_EndValue
_StartValue
+


Constructor & Destructor Documentation

+

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

+ctor +

+ +

+Definition at line 99 of file ps_attrib_maker_template.h. +

+

00099 {}
+
+


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. +

+

00138                 {
+00139                         return std::max((*this)(0), (*this)(1));
+00140                 }
+
+

+ + + + +
+ + + + + + + + + + + + + +
+template<typename T>
T NL3D::CPSValueBlendFunc< T >::getMinValue void   )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 141 of file ps_attrib_maker_template.h. +

+

00142                 {
+00143                         return std::min((*this)(0), (*this)(1));
+00144                 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+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< T >. +

+Definition at line 123 of file ps_attrib_maker_template.h. +

+

00124                 {
+00125                         startValue = (*this)(0);
+00126                         endValue = (*this)(1);
+00127                 }       
+
+

+ + + + +
+ + + + + + + + + + + + + +
+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. +

+

00114         {
+00115 
+00116                 return PSValueBlend(_StartValue, _EndValue, time);      // a cast to T is necessary, because 
+00117                                                                                                                 // the specialization couls be done with integer
+00118         }
+
+

+ + + + +
+ + + + + + + + + + + + + +
+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. +

+

00103                 {
+00104                         f.serialVersion(1);
+00105                         f.serial(_StartValue, _EndValue);
+00106                 }
+
+

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

+Set the Values between which to blend. +

+ +

+Implements NL3D::CPSValueBlendFuncBase< T >. +

+Definition at line 130 of file ps_attrib_maker_template.h. +

+

00131                 {
+00132                         _StartValue = startValue;
+00133                         _EndValue = endValue;
+00134                 }
+
+


Field Documentation

+

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

+ +

+Definition at line 148 of file ps_attrib_maker_template.h.

+

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

+ +

+Definition at line 148 of file ps_attrib_maker_template.h.

+


The documentation for this class was generated from the following file: +
Generated on Tue Mar 16 07:30:13 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1