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_1CDeform2d.html | 451 +++++++++++++++++++++++++++ 1 file changed, 451 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CDeform2d.html (limited to 'docs/doxygen/nel/classNL3D_1_1CDeform2d.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CDeform2d.html b/docs/doxygen/nel/classNL3D_1_1CDeform2d.html new file mode 100644 index 00000000..2082df2f --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CDeform2d.html @@ -0,0 +1,451 @@ + + + + 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::CDeform2d Class Reference

This perform a 2d deformation effect on the frame buffer, by using the given function and surface. +More... +

+#include <deform_2d.h> +

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

Public Types

typedef std::vector< NLMISC::CVector2fTPoint2DVect

Static Public Methods

void doDeform (const TPoint2DVect &surf, IDriver *drv, IPerturbUV *uvp)
void setupBuffer (uint width, uint height, uint xGranularity, uint yGranularity, uint xQuad, uint yQuad)
 resize the granularity of buffers for fxs. More...


Static Protected Attributes

uint _Width
uint _Height
uint _XGranularity
uint _YGranularity
uint _XQuad
uint _YQuad
NLMISC::CSmartPtr< ITexture_Tex
+


Detailed Description

+This perform a 2d deformation effect on the frame buffer, by using the given function and surface. +

+This is intended to be used on small surfaces only (getting back data from the frame buffer to build a texture is really slow...)

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

+ +

+Definition at line 47 of file deform_2d.h.


Member Typedef Documentation

+

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

+ +

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

+Referenced by doDeform.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void NL3D::CDeform2d::doDeform const TPoint2DVect  surf,
IDriver  drv,
IPerturbUV  uvp
[static]
+
+ + + + + +
+   + + +

+ +

+Definition at line 85 of file deform_2d.cpp. +

+References _Height, _Tex, _Width, _XGranularity, _YGranularity, nlassert, NLMISC::raiseToNextPowerOf2, TPoint2DVect, v, and NLMISC::CVector::y.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NL3D::CDeform2d::setupBuffer uint   width,
uint   height,
uint   xGranularity,
uint   yGranularity,
uint   xQuad,
uint   yQuad
[static]
+
+ + + + + +
+   + + +

+resize the granularity of buffers for fxs. +

+

+Parameters:
+ + + + + + + +
width  +frameBuffer width
height  +framebuffer height
xGranularity  +width of the quads taken from the framebuffer
yGranularity  +height of the quads taken from the framebuffer
xQuad  +width of the quads used to draw the fx (this is usually lower than xGanularity)
yQuad  +height of the quads used to draw the fx (this is usually lower than yGanularity)
+
+

+Definition at line 55 of file deform_2d.cpp. +

+References _Height, _Tex, _Width, _XGranularity, _XQuad, _YGranularity, _YQuad, height, NLMISC::raiseToNextPowerOf2, and width.

+


Member Data Documentation

+

+ + + + +
+ + +
uint NL3D::CDeform2d::_Height [static, protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 47 of file deform_2d.cpp. +

+Referenced by doDeform, and setupBuffer.

+

+ + + + +
+ + +
NLMISC::CSmartPtr< ITexture > NL3D::CDeform2d::_Tex [static, protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 52 of file deform_2d.cpp. +

+Referenced by doDeform, and setupBuffer.

+

+ + + + +
+ + +
uint NL3D::CDeform2d::_Width [static, protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 46 of file deform_2d.cpp. +

+Referenced by doDeform, and setupBuffer.

+

+ + + + +
+ + +
uint NL3D::CDeform2d::_XGranularity [static, protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 48 of file deform_2d.cpp. +

+Referenced by doDeform, and setupBuffer.

+

+ + + + +
+ + +
uint NL3D::CDeform2d::_XQuad [static, protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 50 of file deform_2d.cpp. +

+Referenced by setupBuffer.

+

+ + + + +
+ + +
uint NL3D::CDeform2d::_YGranularity [static, protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 49 of file deform_2d.cpp. +

+Referenced by doDeform, and setupBuffer.

+

+ + + + +
+ + +
uint NL3D::CDeform2d::_YQuad [static, protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 51 of file deform_2d.cpp. +

+Referenced by setupBuffer.

+


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