Tulip  5.3.1
Large graphs analysis and drawing
tlp::GLInteractorComposite Class Reference

#include <GLInteractor.h>

+ Inheritance diagram for tlp::GLInteractorComposite:
+ Collaboration diagram for tlp::GLInteractorComposite:

Public Slots

virtual void compute (tlp::GlMainWidget *)
 
virtual void draw (tlp::GlMainWidget *)
 
- Public Slots inherited from tlp::InteractorComposite
void install (QObject *target) override
 
void setView (tlp::View *view) override
 
void undoIsDone () override
 
void uninstall () override
 
- Public Slots inherited from tlp::Interactor
virtual void install (QObject *target)=0
 
virtual void setView (tlp::View *)=0
 
virtual void undoIsDone ()=0
 
virtual void uninstall ()=0
 

Public Member Functions

 GLInteractorComposite (const QIcon &icon, const QString &text="")
 
- Public Member Functions inherited from tlp::InteractorComposite
 InteractorComposite (const QIcon &icon, const QString &text="")
 
QAction * action () const override
 
iterator begin ()
 
const_iterator begin () const
 
QCursor cursor () const override
 
iterator end ()
 
const_iterator end () const
 
void push_back (InteractorComponent *component)
 
void push_front (InteractorComponent *component)
 
tlp::Viewview () const override
 
- Public Member Functions inherited from tlp::Interactor
std::string category () const override
 
virtual QLabel * configurationDocWidget () const
 
virtual QWidget * configurationOptionsWidget () const
 
virtual QWidget * configurationWidget () const
 
virtual void construct ()=0
 
std::string icon () const override
 
virtual bool isCompatible (const std::string &viewName) const =0
 
virtual unsigned int priority () const =0
 
- Public Member Functions inherited from tlp::Plugin
virtual std::string author () const =0
 
virtual std::string date () const =0
 
void declareDeprecatedName (const std::string &oldName)
 
std::string deprecatedName ()
 
virtual std::string group () const =0
 
virtual int id () const
 
virtual std::string info () const =0
 
virtual std::string major () const
 
virtual std::string minor () const
 
virtual std::string name () const =0
 
virtual std::string programmingLanguage () const
 
virtual std::string release () const =0
 
virtual std::string tulipMajor () const
 
virtual std::string tulipMinor () const
 
virtual std::string tulipRelease () const =0
 

Additional Inherited Members

- Public Types inherited from tlp::InteractorComposite
typedef QList< InteractorComponent * >::const_iterator const_iterator
 
typedef QList< InteractorComponent * >::iterator iterator
 
- Protected Slots inherited from tlp::InteractorComposite
void lastTargetDestroyed ()
 
- Protected Member Functions inherited from tlp::InteractorComposite
QObject * lastTarget () const
 
void setLastTarget (QObject *)
 
- Protected Member Functions inherited from tlp::Interactor
bool eventFilter (QObject *obj, QEvent *ev) override
 
- Protected Attributes inherited from tlp::InteractorComposite
QList< tlp::InteractorComponent * > _components
 
- Protected Attributes inherited from tlp::Plugin
std::string oldName
 
- Properties inherited from tlp::Interactor
QAction action
 
QCursor cursor
 
unsigned int priority
 
tlp::View view
 

Detailed Description

The GLInteractorComposite class behaves like a InteractorComposite but is meant to store GLInteractorComponent.

Warning
Only GLInteractorComponent that are stored into a GLInteractorComposite will be able to do OpenGL rendering. Storing them into an InteractorComposite will have no effect.

Definition at line 73 of file GLInteractor.h.

Member Function Documentation

◆ compute

virtual void tlp::GLInteractorComposite::compute ( tlp::GlMainWidget )
virtualslot

Calls the compute method on every sub-components.

Note
You can subclass this method to add custom behavior before or after components are called.

◆ draw

virtual void tlp::GLInteractorComposite::draw ( tlp::GlMainWidget )
virtualslot

Calls the draw method on every sub-components.

Note
You can subclass this method to add custom behavior before or after components are called.