ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
ccPinchNode.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 <
ecvPointCloud.h
>
11
12
#include "
ccPointPair.h
"
13
14
/*
15
Simple class used to create/represent/draw pinch-nodes created using qCompass
16
*/
17
class
ccPinchNode
:
public
ccPointPair
{
18
public
:
19
// ctors
20
ccPinchNode
(
ccPointCloud
* associatedCloud);
21
ccPinchNode
(
ccPolyline
* obj);
22
23
// write metadata specific to this object
24
void
updateMetadata
()
override
;
25
26
// returns true if obj is/was a pinchNode (as recorded by its metadata)
27
static
bool
isPinchNode
(
ccHObject
* obj);
28
};
ccPointPair.h
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition:
ecvHObject.h:25
ccPinchNode
Definition:
ccPinchNode.h:17
ccPinchNode::ccPinchNode
ccPinchNode(ccPointCloud *associatedCloud)
Definition:
ccPinchNode.cpp:11
ccPinchNode::updateMetadata
void updateMetadata() override
Definition:
ccPinchNode.cpp:20
ccPinchNode::isPinchNode
static bool isPinchNode(ccHObject *obj)
Definition:
ccPinchNode.cpp:34
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition:
ecvPointCloud.h:147
ccPointPair
Definition:
ccPointPair.h:23
ccPolyline
Colored polyline.
Definition:
ecvPolyline.h:24
ecvPointCloud.h
plugins
core
Standard
qCompass
include
ccPinchNode.h
Generated on Wed Jan 28 2026 09:01:07 for ACloudViewer by
1.9.1