Plugin interface
Interface for all viewer plugins
Plugin interface Documentation

Introduction

The Plugin interface contains a single class: BasicPlugin . All viewer plugins must derive from this class.

A default (do nothing) implementation is provided for all methods, so most plugins need to override very few methods (typically onPluginLoad(), onObjectAdd(), and a subset of preFrame(), postFrame, drawScene() and paintGL().

Within a plugin, you can use the scene() and camera() methods to access the Scene and the Camera . You can also access the GLWidget with glwidget().

Check the BasicPlugin class reference for futher information about the methods that can be overriden.

Check also the plugin examples in the plugins/ folder.

Rules

Please remember that you should not modify the interface itself. * The plugins you write must work with the original, unmodified files.