![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
A point-clouds filtering algorithm utilize cloth simulation process. More...
#include <qCSF.h>


Public Member Functions | |
| qCSF (QObject *parent=nullptr) | |
| Default constructor. More... | |
| virtual | ~qCSF ()=default |
| virtual void | onNewSelection (const ccHObject::Container &selectedEntities) override |
| virtual QList< QAction * > | getActions () override |
| Get a list of actions for this plugin. More... | |
| virtual void | registerCommands (ccCommandLineInterface *cmd) override |
| Optional: registers commands (for the command line mode) More... | |
Public Member Functions inherited from ccStdPluginInterface | |
| 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 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... | |
Protected Slots | |
| void | doAction () |
| Slot called when associated ation is triggered. More... | |
Protected Attributes | |
| QAction * | m_action |
| Associated action. More... | |
Protected Attributes inherited from ccStdPluginInterface | |
| 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()) | |
A point-clouds filtering algorithm utilize cloth simulation process.
|
explicit |
|
virtualdefault |
|
protectedslot |
Slot called when associated ation is triggered.
Definition at line 64 of file qCSF.cpp.
References ccHObject::addChild(), cloudViewer::ReferenceCloud::addPointIndex(), ecvMainAppInterface::addToDB(), CSF::Parameters::bSloopSmooth, CSF::Parameters::class_threshold, class_threshold, CSF::Parameters::cloth_resolution, cloth_resolution, ccMesh::computePerVertexNormals(), count, ecvMainAppInterface::dispToConsole(), CSF::do_filtering(), ecvMainAppInterface::ERR_CONSOLE_MESSAGE, ecvMainAppInterface::getMainWindow(), ccObject::getName(), cloudViewer::PointCloudTpl< T >::getPoint(), ecvMainAppInterface::getSelectedEntities(), ecvMainAppInterface::haveOneSelection(), ccObject::isA(), CSF::Parameters::iterations, CSF::Parameters::k_nearest_points, ccStdPluginInterface::m_app, MaxIteration, CSF::params, ccPointCloud::partialClone(), CV_TYPES::POINT_CLOUD, cloudViewer::ReferenceCloud::reserve(), CSF::Parameters::rigidness, ccObject::setEnabled(), ccObject::setName(), ccDrawableObject::setVisible(), ccGenericMesh::showNormals(), cloudViewer::PointCloudTpl< T >::size(), ecvMainAppInterface::STD_CONSOLE_MESSAGE, CSF::Parameters::time_step, ecvMainAppInterface::WRN_CONSOLE_MESSAGE, Tuple3Tpl< Type >::x, wl::Point::x, Tuple3Tpl< Type >::y, wl::Point::y, Tuple3Tpl< Type >::z, and wl::Point::z.
Referenced by getActions().
|
overridevirtual |
Get a list of actions for this plugin.
Implements ccStdPluginInterface.
Definition at line 52 of file qCSF.cpp.
References doAction(), ccDefaultPluginInterface::getDescription(), ccDefaultPluginInterface::getIcon(), ccDefaultPluginInterface::getName(), and m_action.
|
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 ccStdPluginInterface.
Definition at line 46 of file qCSF.cpp.
References m_action, and CV_TYPES::POINT_CLOUD.
|
overridevirtual |
Optional: registers commands (for the command line mode)
Does nothing by default.
Reimplemented from ccPluginInterface.
Definition at line 256 of file qCSF.cpp.
References ccCommandLineInterface::registerCommand().
|
protected |
Associated action.
Definition at line 37 of file qCSF.h.
Referenced by getActions(), and onNewSelection().