50 #ifndef BASEINTERFACE_HH 51 #define BASEINTERFACE_HH 55 #include "WhatsThisGenerator.hh" 276 virtual QString
name() = 0;
292 virtual QString
version() {
return QString(
"-1"); };
307 QStringList _parameters , QStringList _descriptions) {};
322 virtual void setRenderer(
unsigned int _viewer, QString _rendererName) {};
469 Q_DECLARE_INTERFACE(
BaseInterface,
"OpenFlipper.BaseInterface/1.0")
471 #endif // BASEINTERFACE_HH virtual void setSlotDescription(QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions)
Set a description for a public slot.
virtual void updatedObject(int _objectId)
An object has been changed or added by this plugin.
virtual void slotVisibilityChanged(int _identifier)
An object has been shown or hidden.
virtual void slotObjectUpdated(int _identifier)
An object has been updated by another plugin.
virtual void slotObjectPropertiesChanged(int _identifier)
Object properties have been changed.
Interface class from which all plugins have to be created.
virtual void initializePlugin()
Initialize Plugin.
virtual void slotObjectUpdated(int _identifier, const UpdateType &_type)
An object has been updated by another plugin.
virtual void noguiSupported()
virtual void slotViewChanged()
View has changed.
virtual void blockScenegraphUpdates(bool _block)
Tell the core to prevent scenegraph updates.
virtual void pluginsInitialized()
Initialize Plugin step 2.
virtual void slotAllCleared()
Called if the whole scene is cleared.
virtual void setRenderer(unsigned int _viewer, QString _rendererName)
Set a renderer for the given viewer.
virtual void slotSceneDrawn()
triggered after a scene has been drawn
virtual QString name()=0
Return a name for the plugin.
virtual void slotDrawModeChanged(int _viewerId)
A viewer changed its draw mode.
virtual void nodeVisibilityChanged(int _identifier)
A scenegraph node has been shown or hidden.
virtual QString description()=0
Return a description of what the plugin is doing.
virtual void updateView()
Update current view in Main Application.
virtual void slotObjectSelectionChanged(int _identifier)
The active object has changed.
virtual ~BaseInterface()
Destructor.
virtual QString version()
Return a version string for your plugin.
virtual void updatedObject(int _identifier, const UpdateType &_type)
An object has been changed or added by this plugin.
virtual void getCurrentRenderer(unsigned int _viewer, QString &_rendererName)
Get the current renderer for the given viewer.