Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
SceneGraph::Tag Class Reference

#include <Tag.h>

Inheritance diagram for SceneGraph::Tag:
Inheritance graph
[legend]
Collaboration diagram for SceneGraph::Tag:
Collaboration graph
[legend]

Public Member Functions

 Tag (Graphics::Renderer *r, const matrix4x4f &m)
 
 Tag (const Tag &, NodeCopyCache *cache=0)
 
virtual NodeClone (NodeCopyCache *cache=0) override
 
virtual const char * GetTypeName () const override
 
virtual void Accept (NodeVisitor &v) override
 
virtual void Save (NodeDatabase &) override
 
const matrix4x4fGetGlobalTransform () const
 
void UpdateGlobalTransform ()
 
- Public Member Functions inherited from SceneGraph::MatrixTransform
 MatrixTransform (Graphics::Renderer *r, const matrix4x4f &m)
 
 MatrixTransform (const MatrixTransform &, NodeCopyCache *cache=0)
 
virtual NodeClone (NodeCopyCache *cache=0) override
 
virtual const char * GetTypeName () const override
 
virtual void Accept (NodeVisitor &v) override
 
virtual void Save (NodeDatabase &) override
 
virtual void Render (const matrix4x4f &trans, const RenderData *rd) override
 
virtual void Render (const std::vector< matrix4x4f > &trans, const RenderData *rd) override
 
const matrix4x4fGetTransform () const
 
void SetTransform (const matrix4x4f &m)
 
virtual matrix4x4f CalcGlobalTransform () const override
 
- Public Member Functions inherited from SceneGraph::Group
 Group (Graphics::Renderer *r)
 
 Group (const Group &, NodeCopyCache *cache=0)
 
virtual NodeClone (NodeCopyCache *cache=0) override
 
virtual const char * GetTypeName () const override
 
virtual void Save (NodeDatabase &) override
 
virtual void AddChild (Node *child)
 
virtual bool RemoveChild (Node *node)
 
virtual bool RemoveChildAt (unsigned int position)
 
unsigned int GetNumChildren () const
 
NodeGetChildAt (unsigned int)
 
virtual void Accept (NodeVisitor &v) override
 
virtual void Traverse (NodeVisitor &v) override
 
virtual void Render (const matrix4x4f &trans, const RenderData *rd) override
 
virtual void Render (const std::vector< matrix4x4f > &trans, const RenderData *rd) override
 
virtual NodeFindNode (const std::string &) override
 
virtual matrix4x4f CalcGlobalTransform () const
 
- Public Member Functions inherited from SceneGraph::Node
 Node (Graphics::Renderer *r)
 
 Node (Graphics::Renderer *r, unsigned int nodemask)
 
 Node (const Node &, NodeCopyCache *)
 
virtual NodeClone (NodeCopyCache *)=0
 
virtual const char * GetTypeName () const
 
virtual void Save (NodeDatabase &)
 
virtual void Accept (NodeVisitor &v)
 
virtual void Traverse (NodeVisitor &v)
 
virtual void Render (const matrix4x4f &trans, const RenderData *rd)
 
virtual void Render (const std::vector< matrix4x4f > &trans, const RenderData *rd)
 
void DrawAxes ()
 
void SetName (const std::string &name)
 
const std::string & GetName () const
 
void SetParent (Group *parent)
 
GroupGetParent ()
 
const GroupGetParent () const
 
virtual NodeFindNode (const std::string &)
 
unsigned int GetNodeMask () const
 
void SetNodeMask (unsigned int m)
 
unsigned int GetNodeFlags () const
 
void SetNodeFlags (unsigned int m)
 
Graphics::RendererGetRenderer () const
 
- Public Member Functions inherited from RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
void IncRefCount () const
 
void DecRefCount () const
 
int GetRefCount () const
 
- Public Member Functions inherited from LuaWrappable
virtual ~LuaWrappable ()
 

Static Public Member Functions

static TagLoad (NodeDatabase &)
 
- Static Public Member Functions inherited from SceneGraph::MatrixTransform
static MatrixTransformLoad (NodeDatabase &)
 
- Static Public Member Functions inherited from SceneGraph::Group
static GroupLoad (NodeDatabase &)
 

Protected Member Functions

virtual ~Tag ()
 
- Protected Member Functions inherited from SceneGraph::MatrixTransform
virtual ~MatrixTransform ()
 
- Protected Member Functions inherited from SceneGraph::Group
virtual ~Group ()
 
virtual void RenderChildren (const matrix4x4f &trans, const RenderData *rd)
 
virtual void RenderChildren (const std::vector< matrix4x4f > &trans, const RenderData *rd)
 
- Protected Member Functions inherited from SceneGraph::Node
virtual ~Node ()
 

Additional Inherited Members

- Protected Attributes inherited from SceneGraph::Group
std::vector< Node * > m_children
 
- Protected Attributes inherited from SceneGraph::Node
std::string m_name
 
unsigned int m_nodeMask
 
unsigned int m_nodeFlags
 
Graphics::Rendererm_renderer
 
Groupm_parent
 

Constructor & Destructor Documentation

◆ Tag() [1/2]

SceneGraph::Tag::Tag ( Graphics::Renderer r,
const matrix4x4f m 
)

◆ Tag() [2/2]

SceneGraph::Tag::Tag ( const Tag tag,
NodeCopyCache cache = 0 
)

◆ ~Tag()

virtual SceneGraph::Tag::~Tag ( )
inlineprotectedvirtual

Member Function Documentation

◆ Accept()

void SceneGraph::Tag::Accept ( NodeVisitor v)
overridevirtual

Reimplemented from SceneGraph::MatrixTransform.

◆ Clone()

Node * SceneGraph::Tag::Clone ( NodeCopyCache cache = 0)
overridevirtual

Reimplemented from SceneGraph::MatrixTransform.

Here is the call graph for this function:

◆ GetGlobalTransform()

const matrix4x4f & SceneGraph::Tag::GetGlobalTransform ( ) const
inline

◆ GetTypeName()

virtual const char * SceneGraph::Tag::GetTypeName ( ) const
inlineoverridevirtual

Reimplemented from SceneGraph::MatrixTransform.

◆ Load()

Tag * SceneGraph::Tag::Load ( NodeDatabase db)
static
Here is the call graph for this function:

◆ Save()

void SceneGraph::Tag::Save ( NodeDatabase db)
overridevirtual

Reimplemented from SceneGraph::MatrixTransform.

Here is the call graph for this function:

◆ UpdateGlobalTransform()

void SceneGraph::Tag::UpdateGlobalTransform ( )
Here is the call graph for this function:

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