AI Watch A1
Multi-person 3D skeleton detection using Intel RealSense and OpenPose with Kafka support.
Point3D.hpp
Go to the documentation of this file.
1//
2// Point3D.hpp
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#ifndef Point3D_hpp
12#define Point3D_hpp
13
14#include "Point.hpp"
15
16
17
23class Point3D : public Point {
24private:
28 float z;
29
30
31
36 void setZ (float z);
37public:
46 Point3D (float x, float y, float z, Point * decorated = nullptr);
47
52 float getZ (void);
53};
54
55#endif /* Point3D_hpp */
Point3D class is used for Point3D creations and manipulations.
Definition: Point3D.hpp:23
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
const Point * decorated
A pointer to Point.
Definition: Point.hpp:34
float x
Point's x coordinate.
Definition: Point.hpp:26
float y
Point's y coordinate.
Definition: Point.hpp:30