![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Pcl ECV plugin interface. More...
#include <ecvPclPluginInterface.h>
Public Member Functions | |
| ccPclPluginInterface (const QString &resourcePath=QString()) | |
| Default constructor. More... | |
| virtual | ~ccPclPluginInterface ()=default |
| Destructor. More... | |
| virtual CC_PLUGIN_TYPE | getType () const override |
| Returns plugin type (standard or OpenGL filter) More... | |
| virtual void | setMainAppInterface (ecvMainAppInterface *app) |
| Sets application entry point. More... | |
| virtual ecvMainAppInterface * | getMainAppInterface () |
| A callback pointer to the main app interface for use by plugins. More... | |
| virtual QVector< QList< QAction * > > | getActions ()=0 |
| Get a list of actions for this plugin. More... | |
| virtual QVector< QString > | getModuleNames ()=0 |
| virtual void | onNewSelection (const ccHObject::Container &selectedEntities) |
| virtual void | dispToConsole (QString message, ecvMainAppInterface::ConsoleMessageLevel level=ecvMainAppInterface::STD_CONSOLE_MESSAGE) |
| Shortcut to ecvMainAppInterface::dispToConsole. More... | |
Public Member Functions inherited from ccDefaultPluginInterface | |
| virtual | ~ccDefaultPluginInterface () |
| virtual bool | isCore () const override |
| Is this plugin a core plugin? More... | |
| virtual QString | getName () const override |
| Returns (short) name (for menu entry, etc.) More... | |
| virtual QString | getDescription () const override |
| Returns long name/description (for tooltip, etc.) More... | |
| virtual QIcon | getIcon () const override |
| Returns icon. More... | |
| virtual ReferenceList | getReferences () const override |
| virtual ContactList | getAuthors () const override |
| virtual ContactList | getMaintainers () const override |
Public Member Functions inherited from ccPluginInterface | |
| virtual | ~ccPluginInterface ()=default |
| Virtual destructor. More... | |
| 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 Attributes | |
| ecvMainAppInterface * | m_app |
| Main application interface. More... | |
Additional Inherited Members | |
Public Types inherited from ccPluginInterface | |
| typedef QList< Contact > | ContactList |
| using | ReferenceList = QList< Reference > |
Protected Member Functions inherited from ccDefaultPluginInterface | |
| ccDefaultPluginInterface (const QString &resourcePath=QString()) | |
Pcl ECV plugin interface.
Version 1.4 The plugin is now responsible for its own actions (QAction ;) and the associated ecvMainAppInterface member should give it access to everything it needs in the main application.
|
inline |
Default constructor.
|
virtualdefault |
Destructor.
|
inlinevirtual |
Shortcut to ecvMainAppInterface::dispToConsole.
References ecvMainAppInterface::dispToConsole(), and m_app.
|
pure virtual |
Get a list of actions for this plugin.
Implemented in qPCL.
|
inlinevirtual |
A callback pointer to the main app interface for use by plugins.
Any plugin (and its tools) may need to access methods of this interface
References m_app.
|
pure virtual |
Implemented in qPCL.
|
inlineoverridevirtual |
Returns plugin type (standard or OpenGL filter)
Implements ccPluginInterface.
References ECV_PCL_ALGORITHM_PLUGIN.
|
inlinevirtual |
This method is called by the main application whenever the entity selection changes Does nothing by default. Should be re-implemented by the plugin if necessary.
| selectedEntities | currently selected entities |
Reimplemented in qPCL.
Referenced by ccPluginUIManager::handleSelectionChanged().
|
inlinevirtual |
Sets application entry point.
Called just after plugin creation by qCC
References ecvMainAppInterface::getUniqueIDGenerator(), m_app, and ccObject::SetUniqueIDGenerator().
Referenced by ccPluginUIManager::init().
|
protected |
Main application interface.
Referenced by qPCL::addPclModule(), dispToConsole(), getMainAppInterface(), qPCL::handleEntityChange(), qPCL::handleErrorMessage(), qPCL::handleNewEntity(), and setMainAppInterface().