ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
ccPinchNodeTool.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - CloudViewer: www.cloudViewer.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.cloudViewer.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include <qinputdialog.h>
11
#include <qmainwindow.h>
12
13
#include "
ccGeoObject.h
"
14
#include "
ccPinchNode.h
"
15
#include "
ccTool.h
"
16
17
/*
18
Tool used to create PinchNodes.
19
*/
20
class
ccPinchNodeTool
:
public
ccTool
{
21
public
:
22
ccPinchNodeTool
();
23
virtual
~ccPinchNodeTool
();
24
25
// called when the tool is set to active (for initialization)
26
virtual
void
toolActivated
()
override
;
27
28
// called when the tool is set to disactive (for cleanup)
29
virtual
void
toolDisactivated
()
override
;
30
31
// called when a point in a point cloud gets picked while this tool is
32
// active
33
void
pointPicked
(
ccHObject
* insertPoint,
34
unsigned
itemIdx,
35
ccPointCloud
* cloud,
36
const
CCVector3
& P)
override
;
37
};
ccGeoObject.h
ccPinchNode.h
ccTool.h
Vector3Tpl< PointCoordinateType >
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition:
ecvHObject.h:25
ccPinchNodeTool
Definition:
ccPinchNodeTool.h:20
ccPinchNodeTool::toolActivated
virtual void toolActivated() override
Definition:
ccPinchNodeTool.cpp:47
ccPinchNodeTool::ccPinchNodeTool
ccPinchNodeTool()
Definition:
ccPinchNodeTool.cpp:10
ccPinchNodeTool::pointPicked
void pointPicked(ccHObject *insertPoint, unsigned itemIdx, ccPointCloud *cloud, const CCVector3 &P) override
Definition:
ccPinchNodeTool.cpp:15
ccPinchNodeTool::~ccPinchNodeTool
virtual ~ccPinchNodeTool()
Definition:
ccPinchNodeTool.cpp:12
ccPinchNodeTool::toolDisactivated
virtual void toolDisactivated() override
Definition:
ccPinchNodeTool.cpp:52
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition:
ecvPointCloud.h:147
ccTool
Definition:
ccTool.h:18
plugins
core
Standard
qCompass
include
ccPinchNodeTool.h
Generated on Wed Jan 28 2026 09:01:07 for ACloudViewer by
1.9.1