From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/classNL3D_1_1CVegetableClipBlock.html | 468 +++++++++++++++++++++ 1 file changed, 468 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CVegetableClipBlock.html (limited to 'docs/doxygen/nel/classNL3D_1_1CVegetableClipBlock.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CVegetableClipBlock.html b/docs/doxygen/nel/classNL3D_1_1CVegetableClipBlock.html new file mode 100644 index 00000000..8e017229 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CVegetableClipBlock.html @@ -0,0 +1,468 @@ + + + + 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::CVegetableClipBlock Class Reference

A block of vegetable instance groups (via sortBlocks) which are clipped in frustum together Internal to VegetableManager. +More... +

+#include <vegetable_clip_block.h> +

+

Inheritance diagram for NL3D::CVegetableClipBlock: +

+ +NL3D::CTessNodeList + +List of all members. + + + + + + + + + + + + + + + + + + +

Fast clipping.

same as generateGroup, but with smoother density effects on border with desnity==0 (0,0.5), (1,0.5), (0.5,0), (0.5,1) (in instance UV coordinates space (as returned in "instances").

void extendSphere (const CVector &vec)
void extendBBoxOnly (const CVector &vec)
void updateSphere ()
bool clip (const std::vector< CPlane > &pyramid)
bool _Empty
NLMISC::CAABBox _BBox
NLMISC::CBSphere _BSphere

Public Methods

 CVegetableClipBlock ()
 Constructor. More...


Private Attributes

CTessList< CVegetableSortBlock_SortBlockList
uint _NumIgs
CVegetableClipBlock * _RenderNext

Friends

class CVegetableManager
+

Detailed Description

+A block of vegetable instance groups (via sortBlocks) which are clipped in frustum together Internal to VegetableManager. +

+Just an Handle for public.

+Author:
+Lionel Berenguier , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 52 of file vegetable_clip_block.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CVegetableClipBlock::CVegetableClipBlock  
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 36 of file vegetable_clip_block.cpp. +

+References _Empty, _NumIgs, and _RenderNext.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
bool NL3D::CVegetableClipBlock::clip const std::vector< CPlane > &   pyramid [private]
+
+ + + + + +
+   + + +

+ +

+Definition at line 82 of file vegetable_clip_block.cpp. +

+References _BSphere, and NLMISC::CBSphere::clipBack.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CVegetableClipBlock::extendBBoxOnly const CVector &   vec [private]
+
+ + + + + +
+   + + +

+ +

+Definition at line 45 of file vegetable_clip_block.cpp. +

+References _BBox, NLMISC::CAABBox::extend, and NLMISC::CAABBox::include. +

+Referenced by extendSphere.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CVegetableClipBlock::extendSphere const CVector &   vec [private]
+
+ + + + + +
+   + + +

+ +

+Definition at line 62 of file vegetable_clip_block.cpp. +

+References _BBox, _BSphere, _Empty, NLMISC::CBSphere::Center, extendBBoxOnly, NLMISC::CBSphere::Radius, NLMISC::CAABBox::setCenter, NLMISC::CAABBox::setHalfSize, and updateSphere.

+

+ + + + +
+ + + + + + + + + +
void NL3D::CVegetableClipBlock::updateSphere   [private]
+
+ + + + + +
+   + + +

+ +

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

+References _BBox, _BSphere, NLMISC::CBSphere::Center, NLMISC::CAABBox::getCenter, NLMISC::CAABBox::getRadius, and NLMISC::CBSphere::Radius. +

+Referenced by extendSphere.

+


Friends And Related Function Documentation

+

+ + + + +
+ + +
friend class CVegetableManager [friend] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 62 of file vegetable_clip_block.h.

+


Member Data Documentation

+

+ + + + +
+ + +
NLMISC::CAABBox NL3D::CVegetableClipBlock::_BBox [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 68 of file vegetable_clip_block.h. +

+Referenced by extendBBoxOnly, extendSphere, and updateSphere.

+

+ + + + +
+ + +
NLMISC::CBSphere NL3D::CVegetableClipBlock::_BSphere [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 69 of file vegetable_clip_block.h. +

+Referenced by clip, extendSphere, and updateSphere.

+

+ + + + +
+ + +
bool NL3D::CVegetableClipBlock::_Empty [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 67 of file vegetable_clip_block.h. +

+Referenced by CVegetableClipBlock, and extendSphere.

+

+ + + + +
+ + +
uint NL3D::CVegetableClipBlock::_NumIgs [private] +
+
+ + + + + +
+   + + +

+ +

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

+Referenced by CVegetableClipBlock.

+

+ + + + +
+ + +
CVegetableClipBlock* NL3D::CVegetableClipBlock::_RenderNext [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 92 of file vegetable_clip_block.h. +

+Referenced by CVegetableClipBlock.

+

+ + + + +
+ + +
CTessList<CVegetableSortBlock> NL3D::CVegetableClipBlock::_SortBlockList [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 86 of file vegetable_clip_block.h.

+


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