gepetto::gui::NodeAction Class Reference

#include <gepetto/gui/node-action.hh>

Inheritance diagram for gepetto::gui::NodeAction:
Collaboration diagram for gepetto::gui::NodeAction:

Public Types

enum  Type {
  VISIBILITY_ON, VISIBILITY_OFF, ALWAYS_ON_TOP, ATTACH_TO_WINDOW,
  ATTACH_CAMERA_TO_NODE, REMOVE_NODE
}
 

Public Member Functions

 NodeAction (const Type &t, const QString &text, NodePtr_t node, QWidget *parent)
 
 NodeAction (const Type &t, const QString &text, QWidget *parent)
 
 NodeAction (const QString &text, NodePtr_t node, OSGWidget *window, QWidget *parent)
 Attach to window. More...
 
 NodeAction (const QString &text, OSGWidget *window, QWidget *parent)
 Attach camera to node. More...
 
virtual ~NodeAction ()
 
- Public Member Functions inherited from gepetto::gui::NodeActionBase
 NodeActionBase (const QString &text, NodePtr_t node, QWidget *parent)
 
virtual ~NodeActionBase ()
 
NodePtr_t node () const
 

Protected Member Functions

void act (bool checked)
 

Member Enumeration Documentation

◆ Type

Enumerator
VISIBILITY_ON 
VISIBILITY_OFF 
ALWAYS_ON_TOP 
ATTACH_TO_WINDOW 
ATTACH_CAMERA_TO_NODE 
REMOVE_NODE 

Constructor & Destructor Documentation

◆ NodeAction() [1/4]

gepetto::gui::NodeAction::NodeAction ( const Type t,
const QString &  text,
NodePtr_t  node,
QWidget *  parent 
)

◆ NodeAction() [2/4]

gepetto::gui::NodeAction::NodeAction ( const Type t,
const QString &  text,
QWidget *  parent 
)

◆ NodeAction() [3/4]

gepetto::gui::NodeAction::NodeAction ( const QString &  text,
NodePtr_t  node,
OSGWidget window,
QWidget *  parent 
)

Attach to window.

◆ NodeAction() [4/4]

gepetto::gui::NodeAction::NodeAction ( const QString &  text,
OSGWidget window,
QWidget *  parent 
)

Attach camera to node.

◆ ~NodeAction()

virtual gepetto::gui::NodeAction::~NodeAction ( )
inlinevirtual

Member Function Documentation

◆ act()

void gepetto::gui::NodeAction::act ( bool  checked)
protectedvirtual

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