ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
qMPlane Class Reference

#include <qMPlane.h>

Inheritance diagram for qMPlane:
Collaboration diagram for qMPlane:

Public Member Functions

 qMPlane (QObject *parent=nullptr)
 
 ~qMPlane () override=default
 
void onNewSelection (const ccHObject::Container &selectedEntities) override
 
QList< QAction * > getActions () override
 Get a list of actions for this plugin. 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 ecvMainAppInterfacegetMainAppInterface ()
 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 ccExternalFactorygetCustomObjectsFactory () 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 Slots

void doAction ()
 

Additional Inherited Members

- Public Types inherited from ccPluginInterface
typedef QList< ContactContactList
 
using ReferenceList = QList< Reference >
 
- Protected Member Functions inherited from ccDefaultPluginInterface
 ccDefaultPluginInterface (const QString &resourcePath=QString())
 
- Protected Attributes inherited from ccStdPluginInterface
ecvMainAppInterfacem_app
 Main application interface. More...
 

Detailed Description

Definition at line 26 of file qMPlane.h.

Constructor & Destructor Documentation

◆ qMPlane()

qMPlane::qMPlane ( QObject *  parent = nullptr)
explicit

Definition at line 21 of file qMPlane.cpp.

◆ ~qMPlane()

qMPlane::~qMPlane ( )
overridedefault

Member Function Documentation

◆ doAction

void qMPlane::doAction ( )
protectedslot

Definition at line 53 of file qMPlane.cpp.

References ccStdPluginInterface::m_app.

Referenced by getActions().

◆ getActions()

QList< QAction * > qMPlane::getActions ( )
overridevirtual

Get a list of actions for this plugin.

Implements ccStdPluginInterface.

Definition at line 26 of file qMPlane.cpp.

References doAction(), ccDefaultPluginInterface::getDescription(), ccDefaultPluginInterface::getIcon(), and ccDefaultPluginInterface::getName().

◆ onNewSelection()

void qMPlane::onNewSelection ( const ccHObject::Container selectedEntities)
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.

Parameters
selectedEntitiescurrently selected entities

Reimplemented from ccStdPluginInterface.

Definition at line 37 of file qMPlane.cpp.

References ccObject::isKindOf(), and CV_TYPES::POINT_CLOUD.


The documentation for this class was generated from the following files: