![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
PCL bridge plugin. More...
#include <qPCLBase.h>


Public Slots | |
| void | handleNewEntity (ccHObject *) |
| Handles new entity. More... | |
| void | handleEntityChange (ccHObject *) |
| Handles entity (visual) modification. More... | |
| void | handleErrorMessage (QString) |
| Handles new error message. More... | |
Public Member Functions | |
| qPCL (QObject *parent=nullptr) | |
| Default constructor. More... | |
| virtual | ~qPCL () override=default |
| Destructor. More... | |
| virtual void | onNewSelection (const ccHObject::Container &selectedEntities) override |
| virtual QVector< QList< QAction * > > | getActions () override |
| Get a list of actions for this plugin. More... | |
| virtual QVector< QString > | getModuleNames () override |
| virtual void | stop () override |
| Stops the plugin. More... | |
Public Member Functions inherited from ccPclPluginInterface | |
| 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 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 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 | |
| int | addPclModule (BasePclModule *module, QList< QAction * > &actions) |
| Adds a pcl module. More... | |
Protected Member Functions inherited from ccDefaultPluginInterface | |
| ccDefaultPluginInterface (const QString &resourcePath=QString()) | |
Protected Attributes | |
| std::vector< BasePclModule * > | m_modules |
| Loaded modules. More... | |
| QVector< QString > | m_moduleNames |
Protected Attributes inherited from ccPclPluginInterface | |
| ecvMainAppInterface * | m_app |
| Main application interface. More... | |
Additional Inherited Members | |
Public Types inherited from ccPluginInterface | |
| typedef QList< Contact > | ContactList |
| using | ReferenceList = QList< Reference > |
PCL bridge plugin.
Definition at line 19 of file qPCLBase.h.
| qPCL::qPCL | ( | QObject * | parent = nullptr | ) |
Default constructor.
Definition at line 48 of file qPCLBase.cpp.
|
overridevirtualdefault |
Destructor.
|
protected |
Adds a pcl module.
Definition at line 133 of file qPCLBase.cpp.
References BasePclModule::entityHasChanged(), BasePclModule::getAction(), handleEntityChange(), handleErrorMessage(), handleNewEntity(), ccPclPluginInterface::m_app, m_modules, BasePclModule::newEntity(), BasePclModule::newErrorMessage(), and BasePclModule::setMainAppInterface().
Referenced by getActions().
|
overridevirtual |
Get a list of actions for this plugin.
Implements ccPclPluginInterface.
Definition at line 75 of file qPCLBase.cpp.
References addPclModule(), m_moduleNames, and m_modules.
|
overridevirtual |
Implements ccPclPluginInterface.
Definition at line 131 of file qPCLBase.cpp.
References m_moduleNames.
|
slot |
Handles entity (visual) modification.
Definition at line 64 of file qPCLBase.cpp.
References ccPclPluginInterface::m_app, ecvMainAppInterface::refreshSelected(), and ecvMainAppInterface::updateUI().
Referenced by addPclModule().
|
slot |
Handles new error message.
Definition at line 70 of file qPCLBase.cpp.
References ecvMainAppInterface::dispToConsole(), ecvMainAppInterface::ERR_CONSOLE_MESSAGE, and ccPclPluginInterface::m_app.
Referenced by addPclModule().
|
slot |
Handles new entity.
Definition at line 58 of file qPCLBase.cpp.
References ecvMainAppInterface::addToDB(), ccPclPluginInterface::m_app, and ecvMainAppInterface::zoomOnEntities().
Referenced by addPclModule().
|
overridevirtual |
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 from ccPclPluginInterface.
Definition at line 158 of file qPCLBase.cpp.
References m_modules.
|
overridevirtual |
Stops the plugin.
Should be reimplemented if necessary. Used to stop a plugin previously started (see ccPluginInterface::start).
Reimplemented from ccPluginInterface.
Definition at line 51 of file qPCLBase.cpp.
References m_modules.
|
protected |
Definition at line 54 of file qPCLBase.h.
Referenced by getActions(), and getModuleNames().
|
protected |
Loaded modules.
Definition at line 53 of file qPCLBase.h.
Referenced by addPclModule(), getActions(), onNewSelection(), and stop().