|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CClipTrav Class ReferenceThe clip traversal.
More...
#include <clip_trav.h>
Inheritance diagram for NL3D::CClipTrav:
List of all members.
Detailed Description
The clip traversal.
The purpose of this traversal is to insert in the post-clip Traversal the observers which are said to be not clipped. Some observers may do something else.
Observer should use the IBaseHrcObs->clip() method to implement their observer, or completly redefine the traverse() method.
USER RULES: Before using traverse() on a clip traversal, you should:
NB: see CScene for 3d conventions (orthonormal basis...) -
See also:
-
CScene IBaseClipObs
-
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2000
Definition at line 91 of file clip_trav.h.
Constructor & Destructor Documentation
NL3D::CClipTrav::CClipTrav |
( |
|
) |
|
|
NL3D::CClipTrav::~CClipTrav |
( |
|
) |
|
|
Member Function Documentation
IObs * NL3D::CClipTrav::createDefaultObs |
( |
|
) |
const [virtual] |
|
|
This method must create a default observer for this traversal.
Any model which doesn't provide (by registerObs() or by inheritance) an observer for this view will be linked with this default observer.
Implements NL3D::ITrav.
Definition at line 78 of file clip_trav.cpp. |
|
This function must return the Unique Ident for this traversal class.
Implements NL3D::ITrav.
Definition at line 102 of file clip_trav.h. |
sint NL3D::CClipTrav::getRenderOrder |
( |
|
) |
const [inline, virtual] |
|
|
Return the order of the traversal.
This is usefull for CScene::render() method. It indicate when the traversal is called. Order for basic traversal are:
Implements NL3D::ITravScene.
Definition at line 103 of file clip_trav.h. |
void NL3D::CClipTrav::loadBalanceSkeletonCLod |
( |
|
) |
[private] |
|
void NL3D::CClipTrav::registerCluster |
( |
CCluster * |
pCluster |
) |
|
|
void NL3D::CClipTrav::setHrcTrav |
( |
CHrcTrav * |
trav |
) |
|
|
void NL3D::CClipTrav::setLightTrav |
( |
CLightTrav * |
trav |
) |
|
|
void NL3D::CClipTrav::setRenderTrav |
( |
CRenderTrav * |
trav |
) |
|
|
void NL3D::CClipTrav::setSonsOfAncestorSkeletonModelGroup |
( |
CRootModel * |
m |
) |
|
|
void NL3D::CClipTrav::traverse |
( |
|
) |
[virtual] |
|
|
Execute the traversal.
CScene::render() will call this method, to execute the traversal.
Implements NL3D::ITravScene.
Definition at line 108 of file clip_trav.cpp.
References _QuadGridClipManager, _VisibleList, Accel, AnimDetailTrav, NL3D::ITravCameraScene::Bottom, Camera, NL3D::ITravCameraScene::CamPos, CurrentDate, NL3D::ITravCameraScene::Far, fullSearch, NL3D::ITrav::getFirstParent, NL3D::ITrav::getNextParent, H_AUTO, HrcTrav, NL3D::ITravCameraScene::Left, LightTrav, NL3D::ITrav::link, loadBalanceSkeletonCLod, LoadBalancingTrav, NL3D::ITravCameraScene::Near, NL3D_CLIP_PLANE_BOTTOM, NL3D_CLIP_PLANE_FAR, NL3D_CLIP_PLANE_LEFT, NL3D_CLIP_PLANE_NEAR, NL3D_CLIP_PLANE_RIGHT, NL3D_CLIP_PLANE_TOP, nlassert, RenderTrav, NL3D::ITravCameraScene::Right, NL3D::ITrav::Root, RootCluster, s, NL3D::ITravScene::Scene, SonsOfAncestorSkeletonModelGroup, NL3D::ITravCameraScene::Top, NL3D::ITrav::unlink, NL3D::ITravCameraScene::ViewMatrix, ViewPyramid, WorldFrustumPyramid, and WorldPyramid. |
void NL3D::CClipTrav::unregisterCluster |
( |
CCluster * |
pCluster |
) |
|
|
Friends And Related Function Documentation
friend class IBaseClipObs [friend]
|
|
Member Data Documentation
std::vector<CSkeletonKey> NL3D::CClipTrav::_TmpSortSkeletons [private]
|
|
sint64 NL3D::CClipTrav::CurrentDate
|
|
bool NL3D::CClipTrav::ForceNoFrustumClip
|
|
CRootModel* NL3D::CClipTrav::SonsOfAncestorSkeletonModelGroup
|
|
std::vector<CPlane> NL3D::CClipTrav::ViewPyramid
|
|
|
Vision Pyramid (6 normalized planes) in the view basis.
Definition at line 137 of file clip_trav.h.
Referenced by traverse. |
std::vector<CPlane> NL3D::CClipTrav::WorldFrustumPyramid
|
|
|
Vision Pyramid (6 normalized planes) in the world basis. NB: NOT modified by the ClusterSystem.
Definition at line 139 of file clip_trav.h.
Referenced by traverse. |
std::vector<CPlane> NL3D::CClipTrav::WorldPyramid
|
|
|
Vision Pyramid in the world basis. NB: may be modified by the ClusterSystem.
Definition at line 141 of file clip_trav.h.
Referenced by traverse. |
The documentation for this class was generated from the following files:
|
|