PixelLightAPI
.
|
Node of the visibility tree. More...
#include <VisNode.h>
Public Member Functions | |
PLS_API const VisContainer * | GetVisRootContainer () const |
Returns the visibility root container. | |
PLS_API const VisNode * | GetParent () const |
Returns the parent visibility node. | |
PLS_API SceneNode * | GetSceneNode () const |
Returns the scene node this visibility node links to. | |
PLS_API const PLMath::Matrix4x4 & | GetProjectionMatrix () const |
Returns the used projection matrix. | |
PLS_API const PLMath::Matrix4x4 & | GetViewMatrix () const |
Returns the used view matrix. | |
PLS_API const PLMath::Matrix4x4 & | GetViewProjectionMatrix () const |
Returns the used view projection matrix. | |
PLS_API const PLMath::Matrix3x4 & | GetWorldMatrix () const |
Returns the absolute world matrix of the scene node. | |
void | SetWorldMatrix (const PLMath::Matrix3x4 &mWorld) |
PLS_API const PLMath::Matrix3x4 & | GetInverseWorldMatrix () const |
Returns the absolute inverse world matrix of the scene node. | |
PLS_API const PLMath::Matrix4x4 & | GetWorldViewMatrix () const |
Returns the absolute world view matrix of the scene node. | |
PLS_API const PLMath::Matrix4x4 & | GetWorldViewProjectionMatrix () const |
Returns the absolute world view projection matrix of the scene node. | |
PLS_API float | GetSquaredDistanceToCamera () const |
Returns the squared distance to the camera. | |
virtual PLS_API bool | IsContainer () const |
Returns whether or not this is a container visibility node (VisContainer, links to a SceneContainer scene node) | |
virtual PLS_API bool | IsCell () const |
Returns whether or not this is a cell visibility node (VisContainer, links to a SNCell scene node) | |
virtual PLS_API bool | IsPortal () const |
Returns whether or not this is a portal visibility node (VisPortal, links to a SNCellPortal scene node) | |
Protected Member Functions | |
VisNode (VisNode *pParent=nullptr) | |
Constructor. | |
virtual | ~VisNode () |
Destructor. |
Node of the visibility tree.
PLScene::VisNode::VisNode | ( | VisNode * | pParent = nullptr | ) | [protected] |
Constructor.
[in] | pParent | The parent visibility node, a null pointer if this is the root |
virtual PLScene::VisNode::~VisNode | ( | ) | [protected, virtual] |
Destructor.
PLS_API const VisContainer* PLScene::VisNode::GetVisRootContainer | ( | ) | const |
Returns the visibility root container.
PLS_API const VisNode* PLScene::VisNode::GetParent | ( | ) | const |
Returns the parent visibility node.
PLS_API SceneNode* PLScene::VisNode::GetSceneNode | ( | ) | const |
Returns the scene node this visibility node links to.
PLS_API const PLMath::Matrix4x4& PLScene::VisNode::GetProjectionMatrix | ( | ) | const |
Returns the used projection matrix.
PLS_API const PLMath::Matrix4x4& PLScene::VisNode::GetViewMatrix | ( | ) | const |
Returns the used view matrix.
PLS_API const PLMath::Matrix4x4& PLScene::VisNode::GetViewProjectionMatrix | ( | ) | const |
Returns the used view projection matrix.
PLS_API const PLMath::Matrix3x4& PLScene::VisNode::GetWorldMatrix | ( | ) | const |
Returns the absolute world matrix of the scene node.
void PLScene::VisNode::SetWorldMatrix | ( | const PLMath::Matrix3x4 & | mWorld | ) |
PLS_API const PLMath::Matrix3x4& PLScene::VisNode::GetInverseWorldMatrix | ( | ) | const |
Returns the absolute inverse world matrix of the scene node.
PLS_API const PLMath::Matrix4x4& PLScene::VisNode::GetWorldViewMatrix | ( | ) | const |
Returns the absolute world view matrix of the scene node.
PLS_API const PLMath::Matrix4x4& PLScene::VisNode::GetWorldViewProjectionMatrix | ( | ) | const |
Returns the absolute world view projection matrix of the scene node.
PLS_API float PLScene::VisNode::GetSquaredDistanceToCamera | ( | ) | const |
Returns the squared distance to the camera.
virtual PLS_API bool PLScene::VisNode::IsContainer | ( | ) | const [virtual] |
Returns whether or not this is a container visibility node (VisContainer, links to a SceneContainer scene node)
Reimplemented in PLScene::VisContainer.
virtual PLS_API bool PLScene::VisNode::IsCell | ( | ) | const [virtual] |
Returns whether or not this is a cell visibility node (VisContainer, links to a SNCell scene node)
Reimplemented in PLScene::VisContainer.
virtual PLS_API bool PLScene::VisNode::IsPortal | ( | ) | const [virtual] |
Returns whether or not this is a portal visibility node (VisPortal, links to a SNCellPortal scene node)
Reimplemented in PLScene::VisPortal.
|