Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
gte::Spatial Class Referenceabstract

#include <GteSpatial.h>

Inheritance diagram for gte::Spatial:
Inheritance graph
[legend]

Public Member Functions

SpatialGetParent ()
 
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

SpatialmParent
 

Additional Inherited Members

- Public Types inherited from gte::ControlledObject
typedef std::list< std::shared_ptr< Controller > > List
 

Detailed Description

Definition at line 25 of file GteSpatial.h.

Constructor & Destructor Documentation

Spatial::~Spatial ( )
virtual

Definition at line 12 of file GteSpatial.cpp.

Spatial::Spatial ( )
protected

Definition at line 18 of file GteSpatial.cpp.

Member Function Documentation

Spatial * gte::Spatial::GetParent ( )
inline

Definition at line 91 of file GteSpatial.h.

virtual void gte::Spatial::GetVisibleSet ( Culler culler,
std::shared_ptr< Camera > const &  camera,
bool  noCull 
)
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.

void Spatial::PropagateBoundToRoot ( )
protected

Definition at line 82 of file GteSpatial.cpp.

void gte::Spatial::SetParent ( Spatial parent)
inline

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.

virtual void gte::Spatial::UpdateWorldBound ( )
protectedpure virtual

Implemented in gte::Node, and gte::Visual.

void Spatial::UpdateWorldData ( double  applicationTime)
protectedvirtual

Reimplemented in gte::Node, gte::BspNode, gte::ViewVolumeNode, and gte::BillboardNode.

Definition at line 59 of file GteSpatial.cpp.

Member Data Documentation

CullingMode gte::Spatial::culling

Definition at line 57 of file GteSpatial.h.

Transform gte::Spatial::localTransform

Definition at line 49 of file GteSpatial.h.

Spatial* gte::Spatial::mParent
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.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06