|
TinyRobotics
|
Represents a 3D coordinate frame in a hierarchical frame tree. More...
#include <FrameMgr3D.h>

Public Member Functions | |
| Frame3D (FrameType type, int index=0, Frame3D *parent=nullptr, const Transform3D &tf=Transform3D::identity()) | |
| void | setParent (Frame3D *p) |
| void | setTransform (const Transform3D &t) |
| Frame3D * | getParent () const |
| const Transform3D & | getTransform () const |
| FrameType | getType () const |
| int | getIndex () const |
Protected Attributes | |
| FrameType | type |
| int | index |
| Frame3D * | parent |
| Transform3D | tf |
Represents a 3D coordinate frame in a hierarchical frame tree.
Frame3D models a reference frame in 3D space, such as a robot base, sensor, or world frame. Each frame can have a parent frame, forming a tree structure for managing relative poses. The pose of the frame relative to its parent is described by a Transform3D (translation and quaternion rotation).