TinyRobotics
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Frame3D Class Reference

Represents a 3D coordinate frame in a hierarchical frame tree. More...

#include <FrameMgr3D.h>

Collaboration diagram for Frame3D:
Collaboration graph
[legend]

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)
 
Frame3DgetParent () const
 
const Transform3DgetTransform () const
 
FrameType getType () const
 
int getIndex () const
 

Protected Attributes

FrameType type
 
int index
 
Frame3Dparent
 
Transform3D tf
 

Detailed Description

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).


The documentation for this class was generated from the following file: