ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccLineation.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 Class for representing/drawing lineations measured with qCompass.
16 */
17 class ccLineation : public ccPointPair {
18 public:
19  // ctors
20  ccLineation(ccPointCloud* associatedCloud);
21  ccLineation(ccPolyline* obj);
22 
23  // write metadata specific to this object
24  void updateMetadata() override;
25 
26  // returns true if the given ccHObject is/was a ccLineation (as defined by
27  // the objects metadata)
28  static bool isLineation(ccHObject* obj);
29 };
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
void updateMetadata() override
Definition: ccLineation.cpp:20
ccLineation(ccPointCloud *associatedCloud)
Definition: ccLineation.cpp:11
static bool isLineation(ccHObject *obj)
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Colored polyline.
Definition: ecvPolyline.h:24