|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CPortal Class ReferenceCPortal.
More...
#include <portal.h>
List of all members.
Detailed Description
CPortal.
-
Author:
-
Matthieu Besson , Nevrax France
-
Date:
-
2001
Definition at line 54 of file portal.h.
Constructor & Destructor Documentation
NL3D::CPortal::CPortal |
( |
|
) |
|
|
Member Function Documentation
|
Clip the view pyramid (all planes pass through observer point) against the portal.
-
Returns:
-
false if the pyramid is completly clipped
|
|
return the cluster linked to the portal.
Definition at line 83 of file portal.h.
References _Clusters. |
std::string NL3D::CPortal::getName |
( |
void |
|
) |
[inline] |
|
uint8 NL3D::CPortal::getNbCluster |
( |
|
) |
|
|
|
return the number of clusters linked to the portal.
Definition at line 124 of file portal.cpp.
References _Clusters. |
void NL3D::CPortal::getPoly |
( |
std::vector< NLMISC::CVector > & |
dest |
) |
const |
|
|
Return true if the vertex v is in front of the portal.
Definition at line 91 of file portal.cpp.
References _Poly, and v. |
bool NL3D::CPortal::isOpened |
( |
|
) |
[inline] |
|
void NL3D::CPortal::open |
( |
bool |
opened |
) |
[inline] |
|
void NL3D::CPortal::resetClusterLinks |
( |
|
) |
|
|
|
Accessors --------- set all link to clusters to NULL.
Definition at line 102 of file portal.cpp.
References _Clusters. |
bool NL3D::CPortal::setCluster |
( |
CCluster * |
cluster |
) |
|
|
void NL3D::CPortal::setName |
( |
std::string & |
name |
) |
[inline] |
|
bool NL3D::CPortal::setPoly |
( |
const std::vector< NLMISC::CVector > & |
poly |
) |
|
|
Friends And Related Function Documentation
friend class CInstanceGroup [friend]
|
|
Member Data Documentation
CCluster* NL3D::CPortal::_Clusters[2] [private]
|
|
std::string NL3D::CPortal::_Name [private]
|
|
bool NL3D::CPortal::_Opened [private]
|
|
The documentation for this class was generated from the following files:
|
|