55 "Picking mechanism already in use. Close the tool using it "
81 "[Item picking] Picked point is not in pickable entities "
89 CVLog::Warning(
"[Item picking] 'POINT_PICKING' mode only for now!");
static bool Warning(const char *format,...)
Prints out a formatted warning message in console.
static bool Error(const char *format,...)
Display an error dialog with formatted message.
bool isKindOf(CV_CLASS_ENUM type) const
Generic overlay dialog interface.
virtual void stop(bool accepted)
Stops process/dialog.
virtual bool start()
Starts process.
bool m_processing
Running/processing state.
virtual bool linkWith(QWidget *win)
Links the overlay dialog with a MDI window.
Point/triangle picking hub.
void removeListener(ccPickingListener *listener, bool autoStopPickingIfLast=true)
Removes a listener.
bool addListener(ccPickingListener *listener, bool exclusive=false, bool autoStartPicking=true, ecvDisplayTools::PICKING_MODE mode=ecvDisplayTools::POINT_OR_TRIANGLE_PICKING)
Adds a listener.
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
void stop(bool state) override
Stops process/dialog.
ccPointPickingGenericInterface(ccPickingHub *pickingHub, QWidget *parent=nullptr)
Default constructor.
virtual void processPickedPoint(ccPointCloud *cloud, unsigned pointIndex, int x, int y)=0
Generic method to process picked points.
bool linkWith(QWidget *win) override
Links the overlay dialog with a MDI window.
void onItemPicked(const PickedItem &pi) override
Inherited from ccPickingListener.
ccPickingHub * m_pickingHub
Picking hub.
bool start() override
Starts process.