ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
ccFitPlaneTool.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 <
DgmOctreeReferenceCloud.h
>
11
12
#include "
ccFitPlane.h
"
13
#include "
ccMouseCircle.h
"
14
#include "
ccTool.h
"
15
16
/*
17
Tool that is activated during "Plane Mode", generating fit planes from
18
point-picks
19
*/
20
class
ccFitPlaneTool
:
public
ccTool
{
21
public
:
22
ccFitPlaneTool
();
23
virtual
~ccFitPlaneTool
();
24
25
// called when the tool is set to active (for initialization)
26
void
toolActivated
()
override
;
27
28
// called when the tool is set to disactive (for cleanup)
29
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
38
// mouse circle element used for the selection
39
ccMouseCircle
*
m_mouseCircle
=
nullptr
;
40
};
DgmOctreeReferenceCloud.h
ccFitPlane.h
ccTool.h
Vector3Tpl< PointCoordinateType >
ccFitPlaneTool
Definition:
ccFitPlaneTool.h:20
ccFitPlaneTool::~ccFitPlaneTool
virtual ~ccFitPlaneTool()
Definition:
ccFitPlaneTool.cpp:15
ccFitPlaneTool::toolActivated
void toolActivated() override
Definition:
ccFitPlaneTool.cpp:25
ccFitPlaneTool::toolDisactivated
void toolDisactivated() override
Definition:
ccFitPlaneTool.cpp:34
ccFitPlaneTool::m_mouseCircle
ccMouseCircle * m_mouseCircle
Definition:
ccFitPlaneTool.h:39
ccFitPlaneTool::ccFitPlaneTool
ccFitPlaneTool()
Definition:
ccFitPlaneTool.cpp:13
ccFitPlaneTool::pointPicked
void pointPicked(ccHObject *insertPoint, unsigned itemIdx, ccPointCloud *cloud, const CCVector3 &P) override
Definition:
ccFitPlaneTool.cpp:43
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition:
ecvHObject.h:25
ccMouseCircle
Definition:
ccMouseCircle.h:24
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition:
ecvPointCloud.h:147
ccTool
Definition:
ccTool.h:18
ccMouseCircle.h
plugins
core
Standard
qCompass
include
ccFitPlaneTool.h
Generated on Wed Jan 28 2026 09:01:07 for ACloudViewer by
1.9.1