Tulip  4.2.0
Better Visualization Through Research
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Groups Pages
tlp::GLInteractorComposite Class Reference

#include <GLInteractor.h>

Inherits tlp::InteractorComposite.

Inherited by tlp::NodeLinkDiagramComponentInteractor.

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)
 
template<typename T >
void addInParameter (const std::string &name, const std::string &help, const std::string &defaultValue, bool isMandatory=true)
 
template<typename T >
void addOutParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true)
 
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::ParameterDescriptionList
getParameters () 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 Attributes inherited from tlp::InteractorComposite
QList< tlp::InteractorComponent * > _components
 
- Properties inherited from tlp::Interactor
QAction action
 
QCursor cursor
 
unsigned int
 
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 65 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.