ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccNote.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 represent notes created with qCompass
16 */
17 class ccNote : public ccPointPair {
18 public:
19  // ctors
20  ccNote(ccPointCloud* associatedCloud);
21  ccNote(ccPolyline* obj);
22 
23  // write metadata specific to this object
24  void updateMetadata() override;
25 
26  static bool isNote(ccHObject* obj);
27 };
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
ccPointPair.h
ccNote::updateMetadata
void updateMetadata() override
Definition: ccNote.cpp:17
ccNote
Definition: ccNote.h:17
ccPointPair
Definition: ccPointPair.h:23
ccNote::ccNote
ccNote(ccPointCloud *associatedCloud)
Definition: ccNote.cpp:11
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
ccNote::isNote
static bool isNote(ccHObject *obj)
Definition: ccNote.cpp:30
ecvPointCloud.h
ccPolyline
Colored polyline.
Definition: ecvPolyline.h:23