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/a02522.html | 261 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 261 insertions(+) create mode 100644 docs/doxygen/nel/a02522.html (limited to 'docs/doxygen/nel/a02522.html') diff --git a/docs/doxygen/nel/a02522.html b/docs/doxygen/nel/a02522.html new file mode 100644 index 00000000..a3694fbc --- /dev/null +++ b/docs/doxygen/nel/a02522.html @@ -0,0 +1,261 @@ + + +NeL: TemplateNL3D::CFClampSquareDot3AddIterator< TBaseIter > struct Reference + + + +
+

NL3D::CFClampSquareDot3AddIterator< TBaseIter > Struct Template Reference

#include <ps_attrib_maker_iterators.h> +

+

Inheritance diagram for NL3D::CFClampSquareDot3AddIterator< TBaseIter >: +

+ +NL3D::CDistIterator< TBaseIter > +NL3D::CPSBaseIterator< TBaseIter > + +

Detailed Description

+

template<class TBaseIter>
+ struct NL3D::CFClampSquareDot3AddIterator< TBaseIter >

+ +this iterator perform a dot prod with a vector, add an offset. If it is negatif it return MaxInputValue, and take the square of the result +

+ +

+Definition at line 137 of file ps_attrib_maker_iterators.h. + + + + + + + + + + + + + + + +

Public Member Functions

void advance ()
 CFClampSquareDot3AddIterator (const TBaseIter &it)
GET_INLINE float get () const

Data Fields

TBaseIter Iter
float Offset
NLMISC::CVector V
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + + +
+template<class TBaseIter>
NL3D::CFClampSquareDot3AddIterator< TBaseIter >::CFClampSquareDot3AddIterator const TBaseIter &  it  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 147 of file ps_attrib_maker_iterators.h. +

+

00147 : CDistIterator<TBaseIter>(it) {}                                               
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + +
+template<typename TBaseIter>
void NL3D::CPSBaseIterator< TBaseIter >::advance  )  [inline, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 50 of file ps_attrib_maker_iterators.h. +

+

00050 { Iter.advance(); }     
+
+

+ + + + +
+ + + + + + + + + + + + +
+template<class TBaseIter>
GET_INLINE float NL3D::CFClampSquareDot3AddIterator< TBaseIter >::get  )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::CPSBaseIterator< TBaseIter >. +

+Definition at line 140 of file ps_attrib_maker_iterators.h. +

+References NL3D::MaxInputValue, and r. +

+

00141                 { 
+00142                         float r = Iter.get() * V + Offset;
+00143                         if (r < 0) return MaxInputValue;
+00144                         r *= r;
+00145                         return r > MaxInputValue ? MaxInputValue : r;
+00146                 }
+
+


Field Documentation

+

+ + + + +
+ + + + + +
+template<typename TBaseIter>
TBaseIter NL3D::CPSBaseIterator< TBaseIter >::Iter [inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 45 of file ps_attrib_maker_iterators.h.

+

+ + + + +
+ + + + + +
+template<class TBaseIter>
float NL3D::CDistIterator< TBaseIter >::Offset [inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 89 of file ps_attrib_maker_iterators.h. +

+Referenced by NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make(), NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make4(), and NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::makeN().

+

+ + + + +
+ + + + + +
+template<class TBaseIter>
NLMISC::CVector NL3D::CDistIterator< TBaseIter >::V [inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 88 of file ps_attrib_maker_iterators.h. +

+Referenced by NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make(), NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make4(), and NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::makeN().

+


The documentation for this struct was generated from the following file: +
Generated on Tue Mar 16 06:46:34 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1