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

#include <ccCloudLayersDlg.h>

Inheritance diagram for ccCloudLayersDlg:
Collaboration diagram for ccCloudLayersDlg:

Public Member Functions

 ccCloudLayersDlg (ecvMainAppInterface *app, QWidget *parent=nullptr)
 Default constructor. More...
 
virtual ~ccCloudLayersDlg ()
 Destructor. More...
 
bool start () override
 inherited from ccOverlayDialog More...
 
void stop (bool accepted) override
 Stops process/dialog. More...
 
void setPointCloud (ccPointCloud *cloud)
 
- Public Member Functions inherited from ccOverlayDialog
 ccOverlayDialog (QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::FramelessWindowHint|Qt::Tool)
 Default constructor. More...
 
 ~ccOverlayDialog () override
 Destructor. More...
 
virtual bool linkWith (QWidget *win)
 Links the overlay dialog with a MDI window. More...
 
void reject () override
 
void addOverridenShortcut (Qt::Key key)
 
bool started () const
 Returns whether the tool is currently started or not. More...
 

Additional Inherited Members

- Signals inherited from ccOverlayDialog
void processFinished (bool accepted)
 Signal emitted when process is finished. More...
 
void shortcutTriggered (int key)
 Signal emitted when an overridden key shortcut is pressed. More...
 
void shown ()
 Signal emitted when a 'show' event is detected. More...
 
- Protected Slots inherited from ccOverlayDialog
virtual void onLinkedWindowDeletion (QObject *object=nullptr)
 Slot called when the linked window is deleted (calls 'onClose') More...
 
- Protected Member Functions inherited from ccOverlayDialog
bool eventFilter (QObject *obj, QEvent *e) override
 
- Protected Attributes inherited from ccOverlayDialog
QWidget * m_associatedWin
 Associated (MDI) window. More...
 
bool m_processing
 Running/processing state. More...
 
QList< int > m_overriddenKeys
 Overridden keys. More...
 

Detailed Description

Definition at line 39 of file ccCloudLayersDlg.h.

Constructor & Destructor Documentation

◆ ccCloudLayersDlg()

ccCloudLayersDlg::ccCloudLayersDlg ( ecvMainAppInterface app,
QWidget *  parent = nullptr 
)
explicit

◆ ~ccCloudLayersDlg()

ccCloudLayersDlg::~ccCloudLayersDlg ( )
virtual

Destructor.

Definition at line 79 of file ccCloudLayersDlg.cpp.

References setPointCloud().

Member Function Documentation

◆ setPointCloud()

void ccCloudLayersDlg::setPointCloud ( ccPointCloud cloud)

◆ start()

bool ccCloudLayersDlg::start ( )
overridevirtual

◆ stop()

void ccCloudLayersDlg::stop ( bool  accepted)
overridevirtual

Stops process/dialog.

Automatically emits the 'processFinished' signal (with input state as argument).

Parameters
acceptedprocess/dialog result

Reimplemented from ccOverlayDialog.

Definition at line 119 of file ccCloudLayersDlg.cpp.

References ecvMainAppInterface::freezeUI(), ccDrawableObject::isVisible(), ccCloudLayersHelper::keepCurrentSFVisible(), setPointCloud(), and ccOverlayDialog::stop().


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