ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
ccNoteTool.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 "
ccNote.h
"
14
#include "
ccTool.h
"
15
16
/*
17
Tool used to create notes and associated them with points in a cloud.
18
*/
19
class
ccNoteTool
:
public
ccTool
{
20
public
:
21
ccNoteTool
();
22
virtual
~ccNoteTool
();
23
24
// called when the tool is set to active (for initialization)
25
virtual
void
toolActivated
()
override
;
26
27
// called when the tool is set to disactive (for cleanup)
28
virtual
void
toolDisactivated
()
override
;
29
30
// called when a point in a point cloud gets picked while this tool is
31
// active
32
void
pointPicked
(
ccHObject
* insertPoint,
33
unsigned
itemIdx,
34
ccPointCloud
* cloud,
35
const
CCVector3
& P)
override
;
36
};
ccNote.h
ccTool.h
Vector3Tpl< PointCoordinateType >
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition:
ecvHObject.h:25
ccNoteTool
Definition:
ccNoteTool.h:19
ccNoteTool::~ccNoteTool
virtual ~ccNoteTool()
Definition:
ccNoteTool.cpp:12
ccNoteTool::toolActivated
virtual void toolActivated() override
Definition:
ccNoteTool.cpp:71
ccNoteTool::toolDisactivated
virtual void toolDisactivated() override
Definition:
ccNoteTool.cpp:76
ccNoteTool::pointPicked
void pointPicked(ccHObject *insertPoint, unsigned itemIdx, ccPointCloud *cloud, const CCVector3 &P) override
Definition:
ccNoteTool.cpp:15
ccNoteTool::ccNoteTool
ccNoteTool()
Definition:
ccNoteTool.cpp:10
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
ccNoteTool.h
Generated on Wed Jan 28 2026 09:01:07 for ACloudViewer by
1.9.1