Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
|
Class representing both real and virtual objects as nodes in the World tree. More...
#include <worldobject.h>
Public Member Functions | |
WorldObject (WorldObject *parent) | |
WorldObject () | |
cv::Vec3d | getRelativePosition () |
cv::Vec3d | getAbsolutePosition () |
Protected Attributes | |
WorldObject * | parent |
Transformation | parentRelation |
cv::Vec3d | relativePosition |
Class representing both real and virtual objects as nodes in the World tree.
SR::WorldObject::WorldObject | ( | WorldObject * | parent | ) |
Construct a WorldObject
parent | indicates that the object is related to another WorldObject |
SR::WorldObject::WorldObject | ( | ) |
Construct a root WorldObject to represent an object in the real world that is not dependent on another for it's position
Alternatively, the position of this object may not be relevant Previously Worldobject(nullptr) was used to imply this
cv::Vec3d SR::WorldObject::getAbsolutePosition | ( | ) |
cv::Vec3d SR::WorldObject::getRelativePosition | ( | ) |
|
protected |
|
protected |
|
protected |
Suppressing warning because if we don't want to export everything then solving the underlying problem requires modification of the API Warning Description: 'type' : class 'type1' needs to have dll-interface to be used by clients of class 'type2' Candidate for deprecation