#include <quad_grid_clip_cluster.h>
Public Member Functions | |
void | clipSons (uint minDistSetup) |
void | insertModel (uint distSetup, CTransformShape *model) |
void | resetSons (CClipTrav *clipTrav) |
Data Fields | |
std::vector< CFastPtrList< CTransformShape > > | Models |
|
Definition at line 65 of file quad_grid_clip_cluster.cpp. References NLPACS::Models, Models, and uint. Referenced by NL3D::CQuadGridClipClusterQTreeNode::clip(), and NL3D::CQuadGridClipClusterQTreeNode::noFrustumClip().
|
|
Definition at line 79 of file quad_grid_clip_cluster.cpp. References NL3D::CTransformShape::_QuadClusterListNode, Models, and uint. Referenced by NL3D::CQuadGridClipClusterQTreeNode::insertModel().
00080 { 00081 Models[distSetup].insert(model, &model->_QuadClusterListNode); 00082 } |
|
Definition at line 86 of file quad_grid_clip_cluster.cpp. References NL3D::CTransform::clipAddChild(), NLPACS::Models, Models, NL3D::CClipTrav::RootCluster, and uint. Referenced by NL3D::CQuadGridClipClusterQTreeNode::resetSons().
00087 { 00088 for(uint i=0; i<Models.size();i++) 00089 { 00090 // clean up model list 00091 CTransformShape ** pModel= Models[i].begin(); 00092 uint nSons= Models[i].size(); 00093 for(;nSons>0;nSons--, pModel++) 00094 { 00095 // link the model to the rootCluster 00096 clipTrav->RootCluster->clipAddChild(*pModel); 00097 } 00098 // unlink all my sons from me 00099 Models[i].clear(); 00100 } 00101 } |
|
Definition at line 47 of file quad_grid_clip_cluster.h. Referenced by clipSons(), NL3D::CQuadGridClipClusterQTreeNode::init(), insertModel(), NL3D::CQuadGridClipClusterQTreeNode::profileNumChildren(), resetSons(), and NL3D::CQuadGridClipClusterQTreeNode::~CQuadGridClipClusterQTreeNode(). |