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

#include <Thruster.h>

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

Public Member Functions

 Thruster (Graphics::Renderer *, bool linear, const vector3f &pos, const vector3f &dir)
 
 Thruster (const Thruster &, NodeCopyCache *cache=0)
 
NodeClone (NodeCopyCache *cache=0) override
 
virtual void Accept (NodeVisitor &v) override
 
virtual const char * GetTypeName () const override
 
virtual void Render (const matrix4x4f &trans, const RenderData *rd) override
 
virtual void Save (NodeDatabase &) override
 
void SetColor (const Color c)
 
const vector3fGetDirection ()
 
- 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 ThrusterLoad (NodeDatabase &)
 

Additional Inherited Members

- Protected Member Functions inherited from SceneGraph::Node
virtual ~Node ()
 
- Protected Attributes inherited from SceneGraph::Node
std::string m_name
 
unsigned int m_nodeMask
 
unsigned int m_nodeFlags
 
Graphics::Rendererm_renderer
 

Constructor & Destructor Documentation

◆ Thruster() [1/2]

SceneGraph::Thruster::Thruster ( Graphics::Renderer r,
bool  linear,
const vector3f pos,
const vector3f dir 
)
Here is the call graph for this function:

◆ Thruster() [2/2]

SceneGraph::Thruster::Thruster ( const Thruster thruster,
NodeCopyCache cache = 0 
)

Member Function Documentation

◆ Accept()

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

Reimplemented from SceneGraph::Node.

◆ Clone()

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

Implements SceneGraph::Node.

◆ GetDirection()

const vector3f & SceneGraph::Thruster::GetDirection ( )
inline

◆ GetTypeName()

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

Reimplemented from SceneGraph::Node.

◆ Load()

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

◆ Render()

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

Reimplemented from SceneGraph::Node.

Here is the call graph for this function:

◆ Save()

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

Reimplemented from SceneGraph::Node.

Here is the call graph for this function:

◆ SetColor()

void SceneGraph::Thruster::SetColor ( const Color  c)
inline

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