Tulip  5.1.0
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
virtual void install (QObject *target)
 
virtual void setView (tlp::View *view)
 
virtual void undoIsDone ()
 
virtual void uninstall ()
 
- 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="")
 
virtual QAction * action () const
 
iterator begin ()
 
const_iterator begin () const
 
virtual QCursor cursor () const
 
iterator end ()
 
const_iterator end () const
 
void push_back (InteractorComponent *component)
 
void push_front (InteractorComponent *component)
 
virtual tlp::Viewview () const
 
- Public Member Functions inherited from tlp::Interactor
virtual std::string category () const
 
virtual QWidget * configurationWidget () const =0
 
virtual void construct ()=0
 
std::string icon () const
 
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
 
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
 
- Public Member Functions inherited from tlp::WithParameter
template<typename T >
void addInOutParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true, const std::string &valuesDescription=std::string())
 
template<typename T >
void addInParameter (const std::string &name, const std::string &help, const std::string &defaultValue, bool isMandatory=true, const std::string &valuesDescription=std::string())
 
template<typename T >
void addOutParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true, const std::string &valuesDescription=std::string())
 
template<typename T >
void addParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true)
 
const tlp::ParameterDescriptionListgetParameters () const
 
bool inputRequired () const
 
- Public Member Functions inherited from tlp::WithDependency
void addDependency (const char *name, const char *release)
 
const std::list< Dependency > & dependencies () const
 

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
virtual bool eventFilter (QObject *obj, QEvent *ev)
 
- Protected Attributes inherited from tlp::InteractorComposite
QList< tlp::InteractorComponent * > _components
 
- Protected Attributes inherited from tlp::WithDependency
std::list< Dependency_dependencies
 
- 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 67 of file GLInteractor.h.

Member Function Documentation

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.
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.