#include <GteBspNode.h>
Public Member Functions | |
std::shared_ptr< Spatial > | AttachCoplanarChild (std::shared_ptr< Spatial > const &child) |
std::shared_ptr< Spatial > | AttachNegativeChild (std::shared_ptr< Spatial > const &child) |
std::shared_ptr< Spatial > | AttachPositiveChild (std::shared_ptr< Spatial > const &child) |
BspNode () | |
BspNode (Plane3< float > const &modelPlane) | |
std::shared_ptr< Spatial > | DetachCoplanarChild () |
std::shared_ptr< Spatial > | DetachNegativeChild () |
std::shared_ptr< Spatial > | DetachPositiveChild () |
Spatial * | GetContainingNode (Vector4< float > const &point) |
std::shared_ptr< Spatial > | GetCoplanarChild () |
Plane3< float > | GetModelPlane () const |
std::shared_ptr< Spatial > | GetNegativeChild () |
std::shared_ptr< Spatial > | GetPositiveChild () |
Plane3< float > | GetWorldPlane () const |
void | SetModelPlane (Plane3< float > const &plane) |
Public Member Functions inherited from gte::Node | |
int | AttachChild (std::shared_ptr< Spatial > const &child) |
void | DetachAllChildren () |
int | DetachChild (std::shared_ptr< Spatial > const &child) |
std::shared_ptr< Spatial > | DetachChildAt (int i) |
std::shared_ptr< Spatial > | GetChild (int i) |
int | GetNumChildren () const |
Node () | |
std::shared_ptr< Spatial > | SetChild (int i, std::shared_ptr< Spatial > const &child) |
virtual | ~Node () |
Public Member Functions inherited from gte::Spatial | |
Spatial * | GetParent () |
void | OnGetVisibleSet (Culler &culler, std::shared_ptr< Camera > const &camera, bool noCull) |
void | SetParent (Spatial *parent) |
void | Update (double applicationTime=0.0, bool initiator=true) |
virtual | ~Spatial () |
Public Member Functions inherited from gte::ControlledObject | |
void | AttachController (std::shared_ptr< Controller > const &controller) |
void | DetachAllControllers () |
void | DetachController (std::shared_ptr< Controller > const &controller) |
List const & | GetControllers () const |
bool | UpdateControllers (double applicationTime) |
virtual | ~ControlledObject () |
Protected Member Functions | |
virtual void | GetVisibleSet (Culler &culler, std::shared_ptr< Camera > const &camera, bool noCull) |
void | NormalizePlane (Vector4< float > &plane) |
void | SetWorldPlane (Plane3< float > const &plane) |
virtual void | UpdateWorldData (double applicationTime) |
int | WhichSide (Vector4< float > const &point) const |
int | WhichSide (std::shared_ptr< Camera > const &camera) const |
Protected Member Functions inherited from gte::Node | |
virtual void | UpdateWorldBound () |
Protected Member Functions inherited from gte::Spatial | |
void | PropagateBoundToRoot () |
Spatial () | |
Protected Member Functions inherited from gte::ControlledObject | |
ControlledObject () | |
Protected Attributes | |
Vector4< float > | mModelPlane |
Vector4< float > | mWorldPlane |
Protected Attributes inherited from gte::Node | |
std::vector< std::shared_ptr< Spatial > > | mChild |
Additional Inherited Members | |
Public Types inherited from gte::ControlledObject | |
typedef std::list< std::shared_ptr< Controller > > | List |
Public Attributes inherited from gte::Spatial | |
CullingMode | culling |
Transform | localTransform |
std::string | name |
BoundingSphere | worldBound |
bool | worldBoundIsCurrent |
Transform | worldTransform |
bool | worldTransformIsCurrent |
Definition at line 20 of file GteBspNode.h.
BspNode::BspNode | ( | ) |
Definition at line 14 of file GteBspNode.cpp.
BspNode::BspNode | ( | Plane3< float > const & | modelPlane | ) |
Definition at line 24 of file GteBspNode.cpp.
|
inline |
Definition at line 94 of file GteBspNode.h.
|
inline |
Definition at line 100 of file GteBspNode.h.
|
inline |
Definition at line 88 of file GteBspNode.h.
|
inline |
Definition at line 111 of file GteBspNode.h.
|
inline |
Definition at line 116 of file GteBspNode.h.
|
inline |
Definition at line 106 of file GteBspNode.h.
Definition at line 62 of file GteBspNode.cpp.
|
inline |
Definition at line 126 of file GteBspNode.h.
Plane3< float > BspNode::GetModelPlane | ( | ) | const |
Definition at line 42 of file GteBspNode.cpp.
|
inline |
Definition at line 131 of file GteBspNode.h.
|
inline |
Definition at line 121 of file GteBspNode.h.
|
protectedvirtual |
Reimplemented from gte::Node.
Definition at line 132 of file GteBspNode.cpp.
Plane3< float > BspNode::GetWorldPlane | ( | ) | const |
Definition at line 52 of file GteBspNode.cpp.
Definition at line 100 of file GteBspNode.cpp.
Definition at line 33 of file GteBspNode.cpp.
Definition at line 111 of file GteBspNode.cpp.
|
protectedvirtual |
Reimplemented from gte::Node.
Definition at line 120 of file GteBspNode.cpp.
Definition at line 260 of file GteBspNode.cpp.
Definition at line 266 of file GteBspNode.cpp.
|
protected |
Definition at line 84 of file GteBspNode.h.
|
protected |
Definition at line 84 of file GteBspNode.h.