OpenStructure
Public Member Functions | Protected Member Functions
EntityPartNode Class Reference

#include <entity_part_node.hh>

Inherits SceneNode.

Inherited by CurrentSelectionNode, CustomPartNode, and RenderModeNode.

Public Member Functions

 EntityPartNode (QString name, gfx::EntityP entity, mol::QueryViewWrapper part, SceneNode *node_parent)
 
virtual QVariant GetData (int column, int role)
 
virtual Qt::ItemFlags Flags (int column) const
 
virtual int GetColumnCount () const
 
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
 
virtual bool SetData (int column, const QVariant &value, int role)
 

Protected Member Functions

virtual void SetVisible (bool visible)
 
virtual bool GetVisible () const
 

Detailed Description

Definition at line 39 of file entity_part_node.hh.

Constructor & Destructor Documentation

◆ EntityPartNode()

EntityPartNode ( QString  name,
gfx::EntityP  entity,
mol::QueryViewWrapper  part,
SceneNode node_parent 
)

Member Function Documentation

◆ Flags()

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

Reimplemented from SceneNode.

Reimplemented in RenderModeNode, and CustomPartNode.

◆ GetColumnCount()

virtual int GetColumnCount ( ) const
virtual

Reimplemented from SceneNode.

Reimplemented in RenderModeNode.

◆ GetData()

virtual QVariant GetData ( int  column,
int  role 
)
virtual

Reimplemented from SceneNode.

Reimplemented in RenderModeNode.

◆ GetEntity()

virtual gfx::EntityP GetEntity ( ) const
virtual

◆ GetName()

virtual const QString& GetName ( ) const
virtual

◆ GetQueryView()

virtual mol::QueryViewWrapper GetQueryView ( ) const
virtual

Reimplemented in CurrentSelectionNode.

◆ GetVisible()

virtual bool GetVisible ( ) const
protectedvirtual

◆ SetName()

virtual void SetName ( QString  name)
virtual

◆ SetQueryView()

virtual void SetQueryView ( mol::QueryViewWrapper  part)
virtual

Reimplemented in CurrentSelectionNode.

◆ SetVisible()

virtual void SetVisible ( bool  visible)
protectedvirtual

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