AI Watch A1
Multi-person 3D skeleton detection using Intel RealSense and OpenPose with Kafka support.
Points
Point3D.cpp
Go to the documentation of this file.
1
//
2
// Point3D.cpp
3
// AI Watch A1
4
//
5
// Created by Denny Caruso on 20/07/22.
6
//
7
8
// License: Apache 2.0. See LICENSE file in root directory.
9
// Copyright(c) 2022. All Rights Reserved.
10
11
#include "
Point3D.hpp
"
12
13
14
15
void
Point3D::setZ
(
float
z) {
16
this->z =
z
;
17
}
18
19
20
21
Point3D::Point3D
(
float
x,
float
y,
float
z,
Point
* decorated) :
Point
(x, y, decorated) {
22
setZ
(
z
);
23
}
24
25
float
Point3D::getZ
(
void
) {
26
return
this->
z
;
27
}
Point3D.hpp
Point3D::Point3D
Point3D(float x, float y, float z, Point *decorated=nullptr)
Construct a new Point 3D object.
Definition:
Point3D.cpp:21
Point3D::z
float z
Point's z coordinate.
Definition:
Point3D.hpp:28
Point3D::setZ
void setZ(float z)
Set the Point's z coordinate value.
Definition:
Point3D.cpp:15
Point3D::getZ
float getZ(void)
Get the Point's z coordinate value.
Definition:
Point3D.cpp:25
Point
Point class is used for point creations and manipulations.
Definition:
Point.hpp:21
Generated by
1.9.4