Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gte::ViewVolumeNode Class Reference

#include <GteViewVolumeNode.h>

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

Public Member Functions

std::function< void(ViewVolumeNode *)> const & GetOnUpdate () const
 
std::shared_ptr< ViewVolume > const & GetViewVolume () const
 
void SetOnUpdate (std::function< void(ViewVolumeNode *)> const &onUpdate)
 
void SetViewVolume (std::shared_ptr< ViewVolume > const &viewVolume)
 
 ViewVolumeNode (std::shared_ptr< ViewVolume > const &viewVolume=nullptr)
 
- 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< SpatialDetachChildAt (int i)
 
std::shared_ptr< SpatialGetChild (int i)
 
int GetNumChildren () const
 
 Node ()
 
std::shared_ptr< SpatialSetChild (int i, std::shared_ptr< Spatial > const &child)
 
virtual ~Node ()
 
- Public Member Functions inherited from gte::Spatial
SpatialGetParent ()
 
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 UpdateWorldData (double applicationTime)
 
- Protected Member Functions inherited from gte::Node
virtual void GetVisibleSet (Culler &culler, std::shared_ptr< Camera > const &camera, bool noCull)
 
virtual void UpdateWorldBound ()
 
- Protected Member Functions inherited from gte::Spatial
void PropagateBoundToRoot ()
 
 Spatial ()
 
- Protected Member Functions inherited from gte::ControlledObject
 ControlledObject ()
 

Protected Attributes

std::function< void(ViewVolumeNode *)> mOnUpdate
 
std::shared_ptr< ViewVolumemViewVolume
 
- 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
 

Detailed Description

Definition at line 17 of file GteViewVolumeNode.h.

Constructor & Destructor Documentation

ViewVolumeNode::ViewVolumeNode ( std::shared_ptr< ViewVolume > const &  viewVolume = nullptr)

Definition at line 12 of file GteViewVolumeNode.cpp.

Member Function Documentation

std::function< void(ViewVolumeNode *)> const & gte::ViewVolumeNode::GetOnUpdate ( ) const
inline

Definition at line 65 of file GteViewVolumeNode.h.

std::shared_ptr< ViewVolume > const & gte::ViewVolumeNode::GetViewVolume ( ) const
inline

Definition at line 55 of file GteViewVolumeNode.h.

void gte::ViewVolumeNode::SetOnUpdate ( std::function< void(ViewVolumeNode *)> const &  onUpdate)
inline

Definition at line 60 of file GteViewVolumeNode.h.

void ViewVolumeNode::SetViewVolume ( std::shared_ptr< ViewVolume > const &  viewVolume)

Definition at line 19 of file GteViewVolumeNode.cpp.

void ViewVolumeNode::UpdateWorldData ( double  applicationTime)
protectedvirtual

Reimplemented from gte::Node.

Definition at line 43 of file GteViewVolumeNode.cpp.

Member Data Documentation

std::function<void(ViewVolumeNode*)> gte::ViewVolumeNode::mOnUpdate
protected

Definition at line 52 of file GteViewVolumeNode.h.

std::shared_ptr<ViewVolume> gte::ViewVolumeNode::mViewVolume
protected

Definition at line 51 of file GteViewVolumeNode.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:07