ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccSNECloud.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 <ccMeasurement.h>
11 #include <ecvPointCloud.h>
12 
13 /*
14 Class for representing/drawing lineations measured with qCompass.
15 */
16 class ccSNECloud : public ccPointCloud, public ccMeasurement {
17 public:
18  // ctors
19  ccSNECloud();
21 
22  // write metadata specific to this object
23  void updateMetadata();
24 
25  // returns true if the given ccHObject is/was a ccLineation (as defined by
26  // the objects metadata)
27  static bool isSNECloud(ccHObject* obj);
28 
29 protected:
30  // overidden from ccHObject
31  virtual void drawMeOnly(CC_DRAW_CONTEXT& context) override;
32 };
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
static bool isSNECloud(ccHObject *obj)
Definition: ccSNECloud.cpp:36
virtual void drawMeOnly(CC_DRAW_CONTEXT &context) override
Draws the entity only (not its children)
Definition: ccSNECloud.cpp:45
void updateMetadata()
Definition: ccSNECloud.cpp:28
ImGuiContext * context
Definition: Window.cpp:76
Display context.