![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Standard ECV plugin interface. More...
#include <ecvStdPluginInterface.h>
Public Member Functions | |
| ccStdPluginInterface (const QString &resourcePath=QString()) | |
| Default constructor. More... | |
| virtual | ~ccStdPluginInterface () override=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 QList< QAction * > | getActions ()=0 |
| Get a list of actions for this plugin. More... | |
| 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()) | |
Standard ECV plugin interface.
Version 1.5 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.
|
overridevirtualdefault |
Destructor.
|
inlinevirtual |
Shortcut to ecvMainAppInterface::dispToConsole.
References ecvMainAppInterface::dispToConsole(), and m_app.
|
pure virtual |
Get a list of actions for this plugin.
Implemented in PythonPlugin, qMPlane, qPCV, q3DMASCPlugin, qSRA, and qCSF.
|
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.
|
inlineoverridevirtual |
Returns plugin type (standard or OpenGL filter)
Implements ccPluginInterface.
References ECV_STD_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 qMPlane, qPCV, q3DMASCPlugin, qSRA, and qCSF.
Referenced by ccPluginUIManager::handleSelectionChanged().
|
inlinevirtual |
Sets application entry point.
Called just after plugin creation by qCC
Reimplemented in PythonPlugin.
References ecvMainAppInterface::getUniqueIDGenerator(), m_app, and ccObject::SetUniqueIDGenerator().
Referenced by ccPluginUIManager::init(), and PythonPlugin::setMainAppInterface().
|
protected |
Main application interface.
Referenced by ccCompass::addGeoObject(), qFacets::classifyFacetsByAngle(), ccCompass::cleanupBeforeToolChange(), qSRA::computeCloud2ProfileRadialDist(), ccCompass::convertToPointCloud(), qFacets::createFacets(), dispToConsole(), ccCompass::distributeSelection(), qCSF::doAction(), qPoissonRecon::doAction(), qCork::doAction(), qMPlane::doAction(), qPCV::doAction(), qCloudLayers::doAction(), ccCompass::doAction(), qTreeIso::doAction(), qRansacSD::doAction(), q3DMASCPlugin::doClassifyAction(), qCanupoPlugin::doClassifyAction(), qSRA::doComputeRadialDists(), qSRA::doProjectCloudDistsInGrid(), q3DMASCPlugin::doTrainAction(), qCanupoPlugin::doTrainAction(), ccCompass::enableMapMode(), ccCompass::enableMeasureMode(), ccCompass::estimateP21(), ccCompass::estimateStrain(), ccCompass::estimateStructureNormals(), JsonRPCPlugin::execute(), qFacets::exportFacets(), qFacets::exportFacetsInfo(), ccCompass::exportToSVG(), qFacets::extractFacets(), qTreeIso::final_segs(), ccCompass::fitPlaneToGeoObject(), qFacets::getFacetsInCurrentSelection(), ccCompass::getInsertPoint(), getMainAppInterface(), ccCompass::importFoliations(), ccCompass::importLineations(), qTreeIso::init_segs(), qTreeIso::intermediate_segs(), qSRA::loadProfile(), ccCompass::mergeGeoObjects(), q3DMASCPlugin::onNewSelection(), ccCompass::onSave(), ccCompass::pointPicked(), qSRA::projectCloudDistsInGrid(), ccCompass::recalculateFitPlanes(), ccCompass::recalculateSelectedTraces(), ccCompass::setLineation(), PythonPlugin::setMainAppInterface(), setMainAppInterface(), ccCompass::setPick(), ccCompass::setPlane(), ccCompass::setThickness(), ccCompass::setTrace(), ccCompass::setYoungerThan(), ccCompass::showHelp(), qFacets::showStereogram(), ccCompass::startMeasuring(), ccCompass::startPicking(), ccCompass::stopMeasuring(), ccCompass::stopPicking(), ccCompass::toggleLabels(), ccCompass::toggleNormals(), ccCompass::toggleStipple(), ccCompass::tryLoading(), and ccCompass::writeToXML().