#include <GteViewVolumeNode.h>
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< 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 | 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< ViewVolume > | mViewVolume |
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 17 of file GteViewVolumeNode.h.
ViewVolumeNode::ViewVolumeNode | ( | std::shared_ptr< ViewVolume > const & | viewVolume = nullptr | ) |
Definition at line 12 of file GteViewVolumeNode.cpp.
|
inline |
Definition at line 65 of file GteViewVolumeNode.h.
|
inline |
Definition at line 55 of file GteViewVolumeNode.h.
|
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.
|
protectedvirtual |
Reimplemented from gte::Node.
Definition at line 43 of file GteViewVolumeNode.cpp.
|
protected |
Definition at line 52 of file GteViewVolumeNode.h.
|
protected |
Definition at line 51 of file GteViewVolumeNode.h.