ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvGenericAnnotationTool.cpp
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 
9 
10 #include "ecvPointCloud.h"
11 
13  : m_annotationMode(mode), m_associatedCloud(nullptr) {}
14 
16  return static_cast<ccPointCloud*>(m_associatedCloud);
17 }
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
ecvGenericAnnotationTool(AnnotationMode mode=AnnotationMode::BOUNDINGBOX)
AnnotationMode
Default constructor.
ccPointCloud * vertices()
Returns vertices.