qCC version 2.13.alpha (Qt) - 31 May 2022
Main CloudCompare application (GUI & command line)
Signals | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
ccPointPropertiesDlg Class Reference

Dialog for simple point picking (information, distance, etc.) More...

#include <ccPointPropertiesDlg.h>

Inheritance diagram for ccPointPropertiesDlg:
Inheritance graph
[legend]
Collaboration diagram for ccPointPropertiesDlg:
Collaboration graph
[legend]

Signals

void newLabel (ccHObject *)
 Signal emitted when a new label is created.
 

Public Member Functions

 ccPointPropertiesDlg (ccPickingHub *pickingHub, QWidget *parent)
 Default constructor.
 
virtual ~ccPointPropertiesDlg ()
 Default destructor.
 
virtual bool start () override
 
virtual void stop (bool state) override
 
virtual bool linkWith (ccGLWindow *win) override
 
- Public Member Functions inherited from ccPointPickingGenericInterface
 ccPointPickingGenericInterface (ccPickingHub *pickingHub, QWidget *parent=nullptr)
 Default constructor.
 
 ~ccPointPickingGenericInterface () override=default
 Destructor.
 
bool linkWith (ccGLWindow *win) override
 
bool start () override
 
void stop (bool state) override
 
void onItemPicked (const PickedItem &pi) override
 Inherited from ccPickingListener.
 

Protected Types

enum  Mode { POINT_INFO , POINT_POINT_DISTANCE , POINTS_ANGLE , RECT_ZONE }
 Picking mode.
 

Protected Member Functions

void onClose ()
 
void activatePointPropertiesDisplay ()
 
void activateDistanceDisplay ()
 
void activateAngleDisplay ()
 
void activate2DZonePicking ()
 
void initializeState ()
 
void exportCurrentLabel ()
 
void update2DZone (int x, int y, Qt::MouseButtons buttons)
 
void processClickedPoint (int x, int y)
 
void close2DZone ()
 
void processPickedPoint (const PickedItem &picked) override
 Generic method to process picked points. More...
 
virtual void processPickedPoint (const PickedItem &picked)=0
 Generic method to process picked points. More...
 

Protected Attributes

Mode m_pickingMode
 Current picking mode.
 
cc2DLabel * m_label
 Associated 3D label.
 
cc2DViewportLabel * m_rect2DLabel
 Associated 2D label.
 
- Protected Attributes inherited from ccPointPickingGenericInterface
ccPickingHub * m_pickingHub
 Picking hub.
 

Detailed Description

Dialog for simple point picking (information, distance, etc.)

Member Function Documentation

◆ processPickedPoint()

void ccPointPropertiesDlg::processPickedPoint ( const PickedItem &  picked)
overrideprotectedvirtual

Generic method to process picked points.

Implements ccPointPickingGenericInterface.


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