AI Watch A1
Multi-person 3D skeleton detection using Intel RealSense and OpenPose with Kafka support.
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
15void Point3D::setZ (float z) {
16 this->z = z;
17}
18
19
20
21Point3D::Point3D (float x, float y, float z, Point * decorated) : Point(x, y, decorated) {
22 setZ(z);
23}
24
25float Point3D::getZ (void) {
26 return this->z;
27}
Point3D(float x, float y, float z, Point *decorated=nullptr)
Construct a new Point 3D object.
Definition: Point3D.cpp:21
float z
Point's z coordinate.
Definition: Point3D.hpp:28
void setZ(float z)
Set the Point's z coordinate value.
Definition: Point3D.cpp:15
float getZ(void)
Get the Point's z coordinate value.
Definition: Point3D.cpp:25
Point class is used for point creations and manipulations.
Definition: Point.hpp:21