geolib2
Public Member Functions | Protected Attributes | Friends | List of all members
geo::Transform Class Reference

#include <matrix.h>

Public Member Functions

Matrix3x3 getBasis () const
 
Vector3 getOrigin () const
 
Transform inverse () const
 
Transform operator* (const Transform &t) const
 
Vector3 operator* (const Vector3 &v) const
 
void setRPY (real roll, real pitch, real yaw)
 
 Transform ()
 
 Transform (const Matrix3x3 &r, const Vector3 &v)
 
 Transform (real m11, real m12, real m13, real m21, real m22, real m23, real m31, real m32, real m33, real x, real y, real z)
 
 Transform (real x, real y, real z, real roll=0, real pitch=0, real yaw=0)
 

Protected Attributes

real o_ [3]
 
real r_ [9]
 

Friends

std::ostreamoperator<< (std::ostream &out, const Transform &t)
 

Detailed Description

Definition at line 170 of file matrix.h.

Constructor & Destructor Documentation

◆ Transform() [1/4]

geo::Transform::Transform ( )
inline

Definition at line 174 of file matrix.h.

◆ Transform() [2/4]

geo::Transform::Transform ( real  x,
real  y,
real  z,
real  roll = 0,
real  pitch = 0,
real  yaw = 0 
)
inline

Definition at line 176 of file matrix.h.

◆ Transform() [3/4]

geo::Transform::Transform ( real  m11,
real  m12,
real  m13,
real  m21,
real  m22,
real  m23,
real  m31,
real  m32,
real  m33,
real  x,
real  y,
real  z 
)
inline

Definition at line 181 of file matrix.h.

◆ Transform() [4/4]

geo::Transform::Transform ( const Matrix3x3 r,
const Vector3 v 
)
inline

Definition at line 192 of file matrix.h.

Member Function Documentation

◆ getBasis()

Matrix3x3 geo::Transform::getBasis ( ) const
inline

Definition at line 217 of file matrix.h.

◆ getOrigin()

Vector3 geo::Transform::getOrigin ( ) const
inline

Definition at line 213 of file matrix.h.

◆ inverse()

Transform geo::Transform::inverse ( ) const
inline

Definition at line 221 of file matrix.h.

◆ operator*() [1/2]

Transform geo::Transform::operator* ( const Transform t) const
inline

Definition at line 203 of file matrix.h.

◆ operator*() [2/2]

Vector3 geo::Transform::operator* ( const Vector3 v) const
inline

Definition at line 197 of file matrix.h.

◆ setRPY()

void geo::Transform::setRPY ( real  roll,
real  pitch,
real  yaw 
)
inline

Definition at line 231 of file matrix.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream out,
const Transform t 
)
friend

Definition at line 248 of file matrix.h.

Member Data Documentation

◆ o_

real geo::Transform::o_[3]
protected

Definition at line 257 of file matrix.h.

◆ r_

real geo::Transform::r_[9]
protected

Definition at line 258 of file matrix.h.


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