#include <GteSpatial.h>
Public Member Functions | |
Spatial * | GetParent () |
virtual void | GetVisibleSet (Culler &culler, std::shared_ptr< Camera > const &camera, bool noCull)=0 |
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 () |
Public Attributes | |
CullingMode | culling |
Transform | localTransform |
std::string | name |
BoundingSphere | worldBound |
bool | worldBoundIsCurrent |
Transform | worldTransform |
bool | worldTransformIsCurrent |
Protected Member Functions | |
void | PropagateBoundToRoot () |
Spatial () | |
virtual void | UpdateWorldBound ()=0 |
virtual void | UpdateWorldData (double applicationTime) |
Protected Member Functions inherited from gte::ControlledObject | |
ControlledObject () | |
Private Attributes | |
Spatial * | mParent |
Additional Inherited Members | |
Public Types inherited from gte::ControlledObject | |
typedef std::list< std::shared_ptr< Controller > > | List |
Definition at line 25 of file GteSpatial.h.
|
virtual |
Definition at line 12 of file GteSpatial.cpp.
|
protected |
Definition at line 18 of file GteSpatial.cpp.
|
inline |
Definition at line 91 of file GteSpatial.h.
|
pure virtual |
Implemented in gte::Node, gte::BspNode, and gte::Visual.
void Spatial::OnGetVisibleSet | ( | Culler & | culler, |
std::shared_ptr< Camera > const & | camera, | ||
bool | noCull | ||
) |
Definition at line 38 of file GteSpatial.cpp.
|
protected |
Definition at line 82 of file GteSpatial.cpp.
Definition at line 96 of file GteSpatial.h.
void Spatial::Update | ( | double | applicationTime = 0.0 , |
bool | initiator = true |
||
) |
Definition at line 28 of file GteSpatial.cpp.
|
protectedpure virtual |
Implemented in gte::Node, and gte::Visual.
|
protectedvirtual |
Reimplemented in gte::Node, gte::BspNode, gte::ViewVolumeNode, and gte::BillboardNode.
Definition at line 59 of file GteSpatial.cpp.
CullingMode gte::Spatial::culling |
Definition at line 57 of file GteSpatial.h.
Transform gte::Spatial::localTransform |
Definition at line 49 of file GteSpatial.h.
|
private |
Definition at line 87 of file GteSpatial.h.
std::string gte::Spatial::name |
Definition at line 43 of file GteSpatial.h.
BoundingSphere gte::Spatial::worldBound |
Definition at line 56 of file GteSpatial.h.
bool gte::Spatial::worldBoundIsCurrent |
Definition at line 58 of file GteSpatial.h.
Transform gte::Spatial::worldTransform |
Definition at line 50 of file GteSpatial.h.
bool gte::Spatial::worldTransformIsCurrent |
Definition at line 51 of file GteSpatial.h.