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

#include <MatrixTransform.h>

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

Public Member Functions

 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)
 
- 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
 
- 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
 
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 MatrixTransformLoad (NodeDatabase &)
 
- Static Public Member Functions inherited from SceneGraph::Group
static GroupLoad (NodeDatabase &)
 

Protected Member Functions

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
 

Constructor & Destructor Documentation

◆ MatrixTransform() [1/2]

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

◆ MatrixTransform() [2/2]

SceneGraph::MatrixTransform::MatrixTransform ( const MatrixTransform mt,
NodeCopyCache cache = 0 
)

◆ ~MatrixTransform()

virtual SceneGraph::MatrixTransform::~MatrixTransform ( )
inlineprotectedvirtual

Member Function Documentation

◆ Accept()

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

Reimplemented from SceneGraph::Group.

◆ Clone()

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

Reimplemented from SceneGraph::Group.

Here is the call graph for this function:

◆ GetTransform()

const matrix4x4f & SceneGraph::MatrixTransform::GetTransform ( ) const
inline

◆ GetTypeName()

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

Reimplemented from SceneGraph::Group.

◆ Load()

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

◆ Render() [1/2]

void SceneGraph::MatrixTransform::Render ( const matrix4x4f trans,
const RenderData rd 
)
overridevirtual

Reimplemented from SceneGraph::Group.

Here is the call graph for this function:

◆ Render() [2/2]

void SceneGraph::MatrixTransform::Render ( const std::vector< matrix4x4f > &  trans,
const RenderData rd 
)
overridevirtual

Reimplemented from SceneGraph::Group.

Here is the call graph for this function:

◆ Save()

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

Reimplemented from SceneGraph::Group.

Here is the call graph for this function:

◆ SetTransform()

void SceneGraph::MatrixTransform::SetTransform ( const matrix4x4f m)
inline

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