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/classNL3D_1_1CQuadEffect.html | 304 +++++++++++++++++++++++++ 1 file changed, 304 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CQuadEffect.html (limited to 'docs/doxygen/nel/classNL3D_1_1CQuadEffect.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CQuadEffect.html b/docs/doxygen/nel/classNL3D_1_1CQuadEffect.html new file mode 100644 index 00000000..38194043 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CQuadEffect.html @@ -0,0 +1,304 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# 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::CQuadEffect Class Reference

This class allow to create a sequence of small quads that tesselate a poly. +More... +

+#include <quad_effect.h> +

+List of all members. + + + + + + + + + +

Public Types

typedef std::vector< NLMISC::CVector2fTPoint2DVect
 a vector of 2d points. More...

typedef std::vector< std::pair<
+ float, float > > 
TRasters

Static Public Methods

void makeRasters (const TPoint2DVect &poly, float quadWidth, float quadHeight, TRasters &dest, float &startY)
 Make raters from the given clipped polygon. More...

void processPoly (const TPoint2DVect &poly, float quadWidth, float quadHeight, TPoint2DVect &dest)
 edge is in scope. More...

+


Detailed Description

+This class allow to create a sequence of small quads that tesselate a poly. +

+

+Author:
+Nicolas Vizerie , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 46 of file quad_effect.h.


Member Typedef Documentation

+

+ + + + +
+ + +
typedef std::vector<NLMISC::CVector2f> NL3D::CQuadEffect::TPoint2DVect +
+
+ + + + + +
+   + + +

+a vector of 2d points. +

+ +

+Definition at line 50 of file quad_effect.h.

+

+ + + + +
+ + +
typedef std::vector< std::pair< float, float> > NL3D::CQuadEffect::TRasters +
+
+ + + + + +
+   + + +

+ +

+Definition at line 53 of file quad_effect.h. +

+Referenced by processPoly.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NL3D::CQuadEffect::makeRasters const TPoint2DVect  poly,
float   quadWidth,
float   quadHeight,
TRasters  dest,
float &   startY
[static]
+
+ + + + + +
+   + + +

+Make raters from the given clipped polygon. +

+

+Parameters:
+ + + + + + +
poly  +a polygon that describe the area where datas are taken from.
quadWidth  +width of the quad
quadHeight  +height of the quad
dest  +a vector that will be filled with the given rasters
startY  +will be filled with the start y position on screen
+
+

+Definition at line 61 of file quad_effect.cpp. +

+References min, and NL3D::TEdgeList. +

+Referenced by processPoly.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NL3D::CQuadEffect::processPoly const TPoint2DVect  poly,
float   quadWidth,
float   quadHeight,
TPoint2DVect  dest
[static]
+
+ + + + + +
+   + + +

+edge is in scope. +

+

+Parameters:
+ + + + + +
poly  +a polygon that describe the area where datas are taken from.
quadWidth  +width of the quad
quadHeight  +height of the quad
dest  +a vector that will contains the pos of all the quads that cover the poly
+
+

+Definition at line 234 of file quad_effect.cpp. +

+References makeRasters, and TRasters.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1