ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
ccMPlanePoint.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
// CV_DB_LIB
11
#include "
ecv2DLabel.h
"
12
13
class
ccMPlanePoint
{
14
public
:
15
explicit
ccMPlanePoint
(
cc2DLabel
* label)
16
: m_label(label), m_distance(0.0) {}
17
18
unsigned
int
getIndex
()
const
;
19
const
CCVector3
&
getCoordinates
()
const
;
20
cc2DLabel
*
getLabel
();
21
QString
getName
()
const
;
22
void
setName
(
const
QString& newName);
23
float
getDistance
()
const
;
24
void
setDistance
(
float
);
25
26
private
:
27
cc2DLabel
* m_label;
28
float
m_distance;
29
};
Vector3Tpl< PointCoordinateType >
cc2DLabel
2D label (typically attached to points)
Definition:
ecv2DLabel.h:22
ccMPlanePoint
Definition:
ccMPlanePoint.h:13
ccMPlanePoint::setDistance
void setDistance(float)
Definition:
ccMPlanePoint.cpp:31
ccMPlanePoint::getDistance
float getDistance() const
Definition:
ccMPlanePoint.cpp:29
ccMPlanePoint::getIndex
unsigned int getIndex() const
Definition:
ccMPlanePoint.cpp:13
ccMPlanePoint::ccMPlanePoint
ccMPlanePoint(cc2DLabel *label)
Definition:
ccMPlanePoint.h:15
ccMPlanePoint::getLabel
cc2DLabel * getLabel()
Definition:
ccMPlanePoint.cpp:21
ccMPlanePoint::getCoordinates
const CCVector3 & getCoordinates() const
Definition:
ccMPlanePoint.cpp:17
ccMPlanePoint::setName
void setName(const QString &newName)
Definition:
ccMPlanePoint.cpp:25
ccMPlanePoint::getName
QString getName() const
Definition:
ccMPlanePoint.cpp:23
ecv2DLabel.h
plugins
core
Standard
qMPlane
src
ccMPlanePoint.h
Generated on Wed Jan 28 2026 09:01:07 for ACloudViewer by
1.9.1