#include <GteVisual.h>
Public Member Functions | |
std::shared_ptr< VisualEffect > const & | GetEffect () const |
std::shared_ptr< IndexBuffer > const & | GetIndexBuffer () const |
std::shared_ptr< VertexBuffer > const & | GetVertexBuffer () const |
void | SetEffect (std::shared_ptr< VisualEffect > const &effect) |
void | SetIndexBuffer (std::shared_ptr< IndexBuffer > const &ibuffer) |
void | SetVertexBuffer (std::shared_ptr< VertexBuffer > const &vbuffer) |
bool | UpdateModelBound () |
bool | UpdateModelNormals () |
Visual (std::shared_ptr< VertexBuffer > const &vbuffer=std::shared_ptr< VertexBuffer >(), std::shared_ptr< IndexBuffer > const &ibuffer=std::shared_ptr< IndexBuffer >(), std::shared_ptr< VisualEffect > const &effect=std::shared_ptr< VisualEffect >()) | |
virtual | ~Visual () |
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 () |
Public Attributes | |
BoundingSphere | modelBound |
Public Attributes inherited from gte::Spatial | |
CullingMode | culling |
Transform | localTransform |
std::string | name |
BoundingSphere | worldBound |
bool | worldBoundIsCurrent |
Transform | worldTransform |
bool | worldTransformIsCurrent |
Protected Member Functions | |
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 () | |
virtual void | UpdateWorldData (double applicationTime) |
Protected Member Functions inherited from gte::ControlledObject | |
ControlledObject () | |
Protected Attributes | |
std::shared_ptr< VisualEffect > | mEffect |
std::shared_ptr< IndexBuffer > | mIBuffer |
std::shared_ptr< VertexBuffer > | mVBuffer |
Additional Inherited Members | |
Public Types inherited from gte::ControlledObject | |
typedef std::list< std::shared_ptr< Controller > > | List |
Definition at line 18 of file GteVisual.h.
|
virtual |
Definition at line 12 of file GteVisual.cpp.
Visual::Visual | ( | std::shared_ptr< VertexBuffer > const & | vbuffer = std::shared_ptr<VertexBuffer>() , |
std::shared_ptr< IndexBuffer > const & | ibuffer = std::shared_ptr<IndexBuffer>() , |
||
std::shared_ptr< VisualEffect > const & | effect = std::shared_ptr<VisualEffect>() |
||
) |
Definition at line 16 of file GteVisual.cpp.
|
inline |
Definition at line 87 of file GteVisual.h.
|
inline |
Definition at line 82 of file GteVisual.h.
|
inline |
Definition at line 77 of file GteVisual.h.
|
inlineprotectedvirtual |
Implements gte::Spatial.
Definition at line 97 of file GteVisual.h.
|
inline |
Definition at line 72 of file GteVisual.h.
|
inline |
Definition at line 66 of file GteVisual.h.
|
inline |
Definition at line 60 of file GteVisual.h.
bool Visual::UpdateModelBound | ( | ) |
Definition at line 27 of file GteVisual.cpp.
bool Visual::UpdateModelNormals | ( | ) |
Definition at line 50 of file GteVisual.cpp.
|
inlineprotectedvirtual |
Implements gte::Spatial.
Definition at line 92 of file GteVisual.h.
|
protected |
Definition at line 56 of file GteVisual.h.
|
protected |
Definition at line 55 of file GteVisual.h.
BoundingSphere gte::Visual::modelBound |
Definition at line 44 of file GteVisual.h.
|
protected |
Definition at line 54 of file GteVisual.h.