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

Graphical Polyline Tracing tool. More...

#include <ccTracePolylineTool.h>

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

Classes

struct  SegmentGLParams
 Viewport parameters (used for picking) More...
 

Public Member Functions

 ccTracePolylineTool (ccPickingHub *pickingHub, QWidget *parent)
 Default constructor.
 
virtual ~ccTracePolylineTool ()
 Destructor.
 
virtual bool linkWith (ccGLWindow *win) override
 
virtual bool start () override
 
virtual void stop (bool accepted) override
 

Protected Member Functions

void apply ()
 
void cancel ()
 
void exportLine ()
 
void continueEdition ()
 
void resetLine ()
 
void closePolyLine (int x=0, int y=0)
 
void updatePolyLineTip (int x, int y, Qt::MouseButtons buttons)
 
void onWidthSizeChanged (int)
 
void onShortcutTriggered (int)
 To capture overridden shortcuts (pause button, etc.)
 
virtual void onItemPicked (const PickedItem &pi) override
 Inherited from ccPickingListener.
 
void restart (bool reset)
 Restarts the edition mode.
 
ccPolyline * polylineOverSampling (unsigned steps) const
 Oversamples the active 3D polyline.
 

Protected Attributes

ccPolyline * m_polyTip
 2D polyline (for the currently edited part)
 
ccPointCloud * m_polyTipVertices
 2D polyline vertices
 
ccPolyline * m_poly3D
 3D polyline
 
ccPointCloud * m_poly3DVertices
 3D polyline vertices
 
std::vector< SegmentGLParamsm_segmentParams
 Viewport parameters use to draw each segment of the polyline.
 
bool m_done
 Current process state.
 
ccPickingHub * m_pickingHub
 Picking hub.
 
Ui::TracePolyLineDlg * m_ui
 

Detailed Description

Graphical Polyline Tracing tool.


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