OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( QString  name,
gfx::EntityP  entity,
mol::QueryViewWrapper  part,
SceneNode node_parent 
)

Member Function Documentation

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

Reimplemented from SceneNode.

Reimplemented in RenderModeNode, and CustomPartNode.

virtual int GetColumnCount ( ) const
virtual

Reimplemented from SceneNode.

Reimplemented in RenderModeNode.

virtual QVariant GetData ( int  column,
int  role 
)
virtual

Reimplemented from SceneNode.

Reimplemented in RenderModeNode.

virtual gfx::EntityP GetEntity ( ) const
virtual
virtual const QString& GetName ( ) const
virtual
virtual mol::QueryViewWrapper GetQueryView ( ) const
virtual

Reimplemented in CurrentSelectionNode.

virtual bool GetVisible ( ) const
protectedvirtual
virtual void SetName ( QString  name)
virtual
virtual void SetQueryView ( mol::QueryViewWrapper  part)
virtual

Reimplemented in CurrentSelectionNode.

virtual void SetVisible ( bool  visible)
protectedvirtual

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