18 std::vector <Point3D *> * newPoints =
new std::vector <Point3D *>;
19 for (
unsigned char i = 0; i < bodyKeyPointsMap.size(); i++) {
20 if (!bodyKeyPointsMap.at(i)) {
23 newPoints->push_back(
new Point3D(
26 - (std::abs(pointsToMap.at(i)->getZ()) + std::abs(zOrigin) +
getRoom().getDistanceCameraFromBackWall()),
BodyKeyPoint class is used for body keypoint creations and manipulations.
The CoordinateMappingManager class is a class that is responsible for converting coordinates values f...
float transformWidthCoordinate(float widthCoordinate)
Converts width value.
float transformHeightCoordinate(float heightCoordinate)
Converts height value.
Room getRoom(void)
Returns the room object.
Point3D class is used for Point3D creations and manipulations.
Room class represents the Room abstraction. A Room object has different specifications,...
std::vector< Point3D * > * mapToMeters(std::vector< Point3D * > pointsToMap, std::vector< bool > bodyKeyPointsMap, float xOrigin, float zOrigin) override
This method requires pointers' Point3D's vector, the related vector map, and the original coordinates...
UnityCoordinateMappingManager(Room room)
Construct a new Unity Coordinate Mapping Manager object.