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 };
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
Definition: ccNote.h:17
ccNote(ccPointCloud *associatedCloud)
Definition: ccNote.cpp:11
void updateMetadata() override
Definition: ccNote.cpp:17
static bool isNote(ccHObject *obj)
Definition: ccNote.cpp:30
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Colored polyline.
Definition: ecvPolyline.h:24