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

NL3D::CFClampDot3AddIterator< TBaseIter > Struct Template Reference

#include <ps_attrib_maker_iterators.h> +

+

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

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

Detailed Description

+

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

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

+ +

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

Public Member Functions

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

Data Fields

TBaseIter Iter
float Offset
NLMISC::CVector V
+


Constructor & Destructor Documentation

+

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

+ +

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

+

00131 : 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::CFClampDot3AddIterator< TBaseIter >::get  )  const [inline]
+
+ + + + + +
+   + + +

+ +

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

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

+References NL3D::MaxInputValue, and r. +

+

00126                 { 
+00127                         const float r = Iter.get() * V + Offset;
+00128                         if (r < 0.f) return MaxInputValue;
+00129                         return r > MaxInputValue ? MaxInputValue : r;
+00130                 }
+
+


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