 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
35 QWidget* parent =
nullptr);
40 bool linkWith(QWidget* win)
override;
41 bool start()
override;
42 void stop(
bool state)
override;
bool isKindOf(CV_CLASS_ENUM type) const
Definition: ecvObject.h:128
normal_z x
Definition: my_point_types.h:165
QPoint clickPoint
Definition: ecvPickingListener.h:29
@ MESH
Definition: CVTypes.h:105
bool addListener(ccPickingListener *listener, bool exclusive=false, bool autoStartPicking=true, ecvDisplayTools::PICKING_MODE mode=ecvDisplayTools::POINT_OR_TRIANGLE_PICKING)
Adds a listener.
Definition: ecvPickingHub.cpp:104
@ POINT_CLOUD
Definition: CVTypes.h:104
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
Point/triangle picking listener interface.
Definition: ecvPickingListener.h:21
virtual bool linkWith(QWidget *win)
Links the overlay dialog with a MDI window.
Definition: ecvOverlayDialog.cpp:32
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
normal_z y
Definition: my_point_types.h:168
ccHObject * entity
Definition: ecvPickingListener.h:30
bool linkWith(QWidget *win) override
Links the overlay dialog with a MDI window.
Definition: ecvPointPickingGenericInterface.cpp:30
virtual bool start()
Starts process.
Definition: ecvOverlayDialog.cpp:80
ccPointPickingGenericInterface(ccPickingHub *pickingHub, QWidget *parent=nullptr)
Default constructor.
Definition: ecvPointPickingGenericInterface.cpp:24
bool m_processing
Running/processing state.
Definition: ecvOverlayDialog.h:87
virtual void stop(bool accepted)
Stops process/dialog.
Definition: ecvOverlayDialog.cpp:91
void stop(bool state) override
Stops process/dialog.
Definition: ecvPointPickingGenericInterface.cpp:64
unsigned itemIndex
Definition: ecvPickingListener.h:31
static bool Warning(const char *format,...)
Prints out a formatted warning message in console.
Definition: CVLog.cpp:133
Generic overlay dialog interface.
Definition: ecvOverlayDialog.h:17
~ccPointPickingGenericInterface() override=default
Destructor.
Point/triangle picking hub.
Definition: ecvPickingHub.h:29
void onItemPicked(const PickedItem &pi) override
Inherited from ccPickingListener.
Definition: ecvPointPickingGenericInterface.cpp:73
virtual void processPickedPoint(ccPointCloud *cloud, unsigned pointIndex, int x, int y)=0
Generic method to process picked points.
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
ccPickingHub * m_pickingHub
Picking hub.
Definition: ecvPointPickingGenericInterface.h:60
Picked item.
Definition: ecvPickingListener.h:26
bool start() override
Starts process.
Definition: ecvPointPickingGenericInterface.cpp:45
void removeListener(ccPickingListener *listener, bool autoStopPickingIfLast=true)
Removes a listener.
Definition: ecvPickingHub.cpp:165
Definition: ecvPointPickingGenericInterface.h:28