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

#include <LOD.h>

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

Public Member Functions

 LOD (Graphics::Renderer *r)
 
 LOD (const LOD &, NodeCopyCache *cache=0)
 
virtual NodeClone (NodeCopyCache *cache=0) override
 
virtual const char * GetTypeName () const override
 
virtual void Accept (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
 
void AddLevel (float pixelRadius, Node *child)
 
virtual void Save (NodeDatabase &) 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
 
- 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 LODLoad (NodeDatabase &)
 
- Static Public Member Functions inherited from SceneGraph::Group
static GroupLoad (NodeDatabase &)
 

Protected Member Functions

virtual ~LOD ()
 
- 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 ()
 

Protected Attributes

std::vector< unsigned int > m_pixelSizes
 
- 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

◆ LOD() [1/2]

SceneGraph::LOD::LOD ( Graphics::Renderer r)

◆ LOD() [2/2]

SceneGraph::LOD::LOD ( const LOD lod,
NodeCopyCache cache = 0 
)

◆ ~LOD()

virtual SceneGraph::LOD::~LOD ( )
inlineprotectedvirtual

Member Function Documentation

◆ Accept()

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

Reimplemented from SceneGraph::Group.

◆ AddLevel()

void SceneGraph::LOD::AddLevel ( float  pixelRadius,
Node child 
)
Here is the call graph for this function:

◆ Clone()

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

Reimplemented from SceneGraph::Group.

Here is the call graph for this function:

◆ GetTypeName()

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

Reimplemented from SceneGraph::Group.

◆ Load()

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

◆ Render() [1/2]

void SceneGraph::LOD::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::LOD::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::LOD::Save ( NodeDatabase db)
overridevirtual

Reimplemented from SceneGraph::Group.

Here is the call graph for this function:

Member Data Documentation

◆ m_pixelSizes

std::vector<unsigned int> SceneGraph::LOD::m_pixelSizes
protected

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