RelativeQuantity.hh
Go to the documentation of this file.
164 detail::SOSpace<Scalar, Dim, Eigen::Matrix<Scalar, Dim, Dim>>>;
193 detail::VectorSpace<Scalar, (Dim*(Dim-1))/2>>;
Q & RelativeToParent()
Get the value of this RelativeQuantity relative to its parent frame. To get the value of this Relativ...
RelativeQuaternion< float > RelativeQuaternionf
Definition: RelativeQuantity.hh:175
CoordinateSpace Space
The mathematical space which defines how this quantity is transformed between reference frames...
Definition: RelativeQuantity.hh:106
const FrameID & ParentFrame() const
Get the ID of this RelativeQuantity's parent frame.
void MoveToNewParentFrame(const FrameID &_newParentFrame)
This function will change the parent frame of your RelativeQuantity.
The FrameData struct fully describes the kinematic state of a Frame with "Dim" dimensions and "Scalar...
Definition: FrameData.hh:42
Eigen::Transform< Scalar, Dim, Eigen::Isometry > Pose
This is used by ignition-physics to represent rigid body transforms in 2D or 3D simulations. The precision can be chosen as float or scalar.
Definition: Geometry.hh:44
std::size_t Dim std::ostream & operator<<(std::ostream &stream, const FrameData< Scalar, Dim > &_frame)
Definition: FrameData.hh:74
Q Quantity
The underlying type of the quantity that is being expressed.
Definition: RelativeQuantity.hh:102
Definition: RelativeQuantity.hh:110
Vector< Scalar,(Dim *(Dim-1))/2 > AngularVector
Definition: Geometry.hh:56
The RelativeQuantity class is a wrapper for classes that represent mathematical quantities (e...
Definition: RelativeQuantity.hh:48
RelativeQuaternion< double > RelativeQuaterniond
Definition: RelativeQuantity.hh:174
RelativeQuantity(const FrameID &_parentID, Args &&... _args)
This constructor will specify the parent frame and then forward the remaining arguments to the constr...
STL class.
Container for specifying Frame IDs. We do not want to use a generic integer type for this...
Definition: FrameID.hh:46
IGN_PHYSICS_MAKE_ALL_TYPE_COMBOS(FrameData) template< typename Scalar