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

Dialog to create (or edit the parameters) of a plane. More...

#include <ecvPlaneEditDlg.h>

Inheritance diagram for ccPlaneEditDlg:
Collaboration diagram for ccPlaneEditDlg:

Public Slots

void pickPointAsCenter (bool)
 
void onDipDirChanged (double)
 
void onDipDirModified (bool)
 
void onNormalChanged (double)
 

Public Member Functions

 ccPlaneEditDlg (ccPickingHub *pickingHub, QWidget *parent)
 Default constructor. More...
 
virtual ~ccPlaneEditDlg ()
 Destructor. More...
 
void initWithPlane (ccPlane *plane)
 Links this dialog with an existing plane. More...
 
void updatePlane (ccPlane *plane)
 Updates a plane with the current parameters. More...
 
virtual void onItemPicked (const PickedItem &pi)
 Inherited from ccPickingListener. More...
 
- Public Member Functions inherited from ccPickingListener
virtual ~ccPickingListener ()=default
 

Protected Slots

void saveParamsAndAccept ()
 

Protected Attributes

ccPlanem_associatedPlane
 Associated plane (if any) More...
 
ccPickingHubm_pickingHub
 Picking hub. More...
 

Detailed Description

Dialog to create (or edit the parameters) of a plane.

Definition at line 26 of file ecvPlaneEditDlg.h.

Constructor & Destructor Documentation

◆ ccPlaneEditDlg()

ccPlaneEditDlg::ccPlaneEditDlg ( ccPickingHub pickingHub,
QWidget *  parent 
)
explicit

◆ ~ccPlaneEditDlg()

ccPlaneEditDlg::~ccPlaneEditDlg ( )
virtual

Destructor.

Definition at line 89 of file ecvPlaneEditDlg.cpp.

Member Function Documentation

◆ initWithPlane()

void ccPlaneEditDlg::initWithPlane ( ccPlane plane)

◆ onDipDirChanged

void ccPlaneEditDlg::onDipDirChanged ( double  )
slot

◆ onDipDirModified

void ccPlaneEditDlg::onDipDirModified ( bool  )
slot

Definition at line 130 of file ecvPlaneEditDlg.cpp.

References onDipDirChanged().

Referenced by ccPlaneEditDlg().

◆ onItemPicked()

void ccPlaneEditDlg::onItemPicked ( const PickedItem pi)
virtual

◆ onNormalChanged

void ccPlaneEditDlg::onNormalChanged ( double  )
slot

◆ pickPointAsCenter

void ccPlaneEditDlg::pickPointAsCenter ( bool  state)
slot

◆ saveParamsAndAccept

◆ updatePlane()

Member Data Documentation

◆ m_associatedPlane

ccPlane* ccPlaneEditDlg::m_associatedPlane
protected

Associated plane (if any)

Definition at line 60 of file ecvPlaneEditDlg.h.

Referenced by initWithPlane(), and saveParamsAndAccept().

◆ m_pickingHub

ccPickingHub* ccPlaneEditDlg::m_pickingHub
protected

Picking hub.

Definition at line 63 of file ecvPlaneEditDlg.h.

Referenced by pickPointAsCenter().


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