OpenStructure
Public Member Functions
RenderModeNode Class Reference

#include <render_mode_node.hh>

Inherits EntityPartNode.

Public Member Functions

 RenderModeNode (gfx::EntityP entity, gfx::RenderMode::Type render_mode, SceneNode *node_parent)
 
virtual QVariant GetData (int column, int role)
 
virtual bool SetData (int column, const QVariant &value, int role)
 
virtual Qt::ItemFlags Flags (int column) const
 
virtual int GetColumnCount () const
 
gfx::RenderMode::Type GetRenderMode () const
 
virtual void Update ()
 
- Public Member Functions inherited from EntityPartNode
 EntityPartNode (QString name, gfx::EntityP entity, mol::QueryViewWrapper part, SceneNode *node_parent)
 
virtual void SetQueryView (mol::QueryViewWrapper part)
 
virtual mol::QueryViewWrapper GetQueryView () const
 
virtual gfx::EntityP GetEntity () const
 
virtual void SetName (QString name)
 
virtual const QString & GetName () const
 
- Public Member Functions inherited from SceneNode
 SceneNode (SceneNode *node_parent)
 
 SceneNode (QObject *parent=0)
 
virtual ~SceneNode ()
 
SceneNodeGetParent () const
 
void AddChild (SceneNode *node)
 
virtual SceneNodeGetChild (int row) const
 
virtual int GetChildRow (const SceneNode *node) const
 
virtual int GetRow () const
 

Additional Inherited Members

- Protected Member Functions inherited from EntityPartNode
virtual void SetVisible (bool visible)
 
virtual bool GetVisible () const
 

Detailed Description

Definition at line 41 of file render_mode_node.hh.

Constructor & Destructor Documentation

◆ RenderModeNode()

RenderModeNode ( gfx::EntityP  entity,
gfx::RenderMode::Type  render_mode,
SceneNode node_parent 
)

Member Function Documentation

◆ Flags()

virtual Qt::ItemFlags Flags ( int  column) const
virtual

Reimplemented from EntityPartNode.

◆ GetColumnCount()

virtual int GetColumnCount ( ) const
virtual

Reimplemented from EntityPartNode.

◆ GetData()

virtual QVariant GetData ( int  column,
int  role 
)
virtual

Reimplemented from EntityPartNode.

◆ GetRenderMode()

gfx::RenderMode::Type GetRenderMode ( ) const

◆ SetData()

virtual bool SetData ( int  column,
const QVariant &  value,
int  role 
)
virtual

Reimplemented from SceneNode.

◆ Update()

virtual void Update ( )
virtual

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