![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Standard ECV plugin interface. More...
#include <ecvPluginInterface.h>

Classes | |
| struct | Contact |
| struct | Reference |
Public Types | |
| typedef QList< Contact > | ContactList |
| using | ReferenceList = QList< Reference > |
Public Member Functions | |
| virtual | ~ccPluginInterface ()=default |
| Virtual destructor. More... | |
| virtual CC_PLUGIN_TYPE | getType () const =0 |
| Returns plugin type (standard or OpenGL filter) More... | |
| virtual bool | isCore () const =0 |
| Is this plugin a core plugin? More... | |
| virtual QString | getName () const =0 |
| Returns (short) name (for menu entry, etc.) More... | |
| virtual QString | getDescription () const =0 |
| Returns long name/description (for tooltip, etc.) More... | |
| virtual QIcon | getIcon () const |
| Returns icon. More... | |
| virtual ReferenceList | getReferences () const |
| virtual ContactList | getAuthors () const |
| virtual ContactList | getMaintainers () const |
| virtual bool | start () |
| Starts the plugin. More... | |
| virtual void | stop () |
| Stops the plugin. More... | |
| virtual ccExternalFactory * | getCustomObjectsFactory () const |
| Returns the plugin's custom object factory (if any) More... | |
| virtual void | registerCommands (ccCommandLineInterface *cmd) |
| Optional: registers commands (for the command line mode) More... | |
Protected Member Functions | |
| virtual void | setIID (const QString &iid)=0 |
| virtual const QString & | IID () const =0 |
| Get the IID of the plugin. More... | |
| typedef QList<Contact> ccPluginInterface::ContactList |
Definition at line 41 of file ecvPluginInterface.h.
| using ccPluginInterface::ReferenceList = QList<Reference> |
Definition at line 50 of file ecvPluginInterface.h.
|
virtualdefault |
Virtual destructor.
|
inlinevirtual |
Returns a list of the authors' names and email addresses This is optional. See qDummyPlugin for a real example. Added in v3.1 of the plugin interface.
Reimplemented in ccDefaultPluginInterface.
Definition at line 83 of file ecvPluginInterface.h.
|
inlinevirtual |
Returns the plugin's custom object factory (if any)
Plugins may provide a factory to build custom objects. This allows qCC_db to properly code and decode the custom objects stream in BIN files. Custom objects must inherit the ccCustomHObject or ccCustomLeafObject interfaces.
Definition at line 111 of file ecvPluginInterface.h.
|
pure virtual |
Returns long name/description (for tooltip, etc.)
Implemented in ccDefaultPluginInterface.
|
inlinevirtual |
Returns icon.
Should be reimplemented if necessary
Reimplemented in ccDefaultPluginInterface.
Definition at line 71 of file ecvPluginInterface.h.
|
inlinevirtual |
Returns a list of the maintainers' names and email addresses This is optional. See qDummyPlugin for a real example. Added in v3.1 of the plugin interface.
Reimplemented in ccDefaultPluginInterface.
Definition at line 89 of file ecvPluginInterface.h.
|
pure virtual |
Returns (short) name (for menu entry, etc.)
Implemented in ccDefaultPluginInterface.
|
inlinevirtual |
Returns a list of references (articles and websites) for the plugin This is optional. See qDummyPlugin for a real example. Added in v3.1 of the plugin interface.
Reimplemented in ccDefaultPluginInterface.
Definition at line 77 of file ecvPluginInterface.h.
|
pure virtual |
Returns plugin type (standard or OpenGL filter)
Implemented in ccStdPluginInterface, ccPclPluginInterface, and ccIOPluginInterface.
|
protectedpure virtual |
Get the IID of the plugin.
|
pure virtual |
Is this plugin a core plugin?
Implemented in ccDefaultPluginInterface.
|
inlinevirtual |
Optional: registers commands (for the command line mode)
Does nothing by default.
Reimplemented in PythonPlugin, qPCV, qCSF, and q3DMASCPlugin.
Definition at line 121 of file ecvPluginInterface.h.
|
protectedpure virtual |
Set the IID of the plugin (which comes from Q_PLUGIN_METADATA). It is used to uniquely identify the plugin.
|
inlinevirtual |
Starts the plugin.
Should be reimplemented if necessary. Used when 'starting' a plugin from the command line (to start a background service, a thread, etc.)
Definition at line 96 of file ecvPluginInterface.h.
Referenced by ccCompass::estimateStructureNormals().
|
inlinevirtual |
Stops the plugin.
Should be reimplemented if necessary. Used to stop a plugin previously started (see ccPluginInterface::start).
Reimplemented in PythonPlugin, and qPCL.
Definition at line 103 of file ecvPluginInterface.h.