Home
FAQ
Player
Utilities
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

Vector.hh File Reference

#include <math.h>
#include "Global.hh"

Go to the source code of this file.

Functions

GzVector GzVectorZero ()
GzVector GzVectorSet (double x, double y, double z)
GzVector GzVectorSetQuatern (GzQuatern q)
GzVector GzVectorAdd (GzVector b, GzVector a)
GzVector GzVectorSub (GzVector b, GzVector a)
GzVector GzVectorMul (double s, GzVector a)
double GzVectorMag (GzVector a)
GzVector GzVectorUnit (GzVector a)
GzVector GzVectorCross (GzVector a, GzVector b)
double GzVectorDot (GzVector a, GzVector b)
bool GzVectorFinite (GzVector a)
GzQuatern GzQuaternIdent ()
GzQuatern GzQuaternSet (double u, double x, double y, double z)
GzQuatern GzQuaternSetVector (GzVector v)
GzQuatern GzQuaternInverse (GzQuatern a)
GzQuatern GzQuaternNormal (GzQuatern a)
GzQuatern GzQuaternFromAxis (double x, double y, double z, double a)
GzQuatern GzQuaternFromEuler (double roll, double pitch, double yaw)
GzVector GzQuaternToEuler (GzQuatern q)
GzQuatern GzQuaternToAxis (GzQuatern a)
GzQuatern GzQuaternMul (GzQuatern a, GzQuatern b)
GzQuatern GzQuaternScale (double s, GzQuatern a)
bool GzQuaternFinite (GzQuatern a)
GzPose GzPoseSet (GzVector pos, GzQuatern rot)
GzPose GzPosePointAt (GzVector pos, GzVector at, GzVector up)
 Create a pose from a triplet of vectors.
bool GzPoseFinite (GzPose a)
GzPose GzCoordPoseAdd (GzPose bpose, GzPose apose)
GzPose GzCoordPoseSub (GzPose bpose, GzPose apose)
GzPose GzCoordPoseSolve (GzPose ba, GzPose b)
GzVector GzCoordPositionAdd (GzVector bpos, GzVector apos, GzQuatern arot)
GzVector GzCoordPositionSub (GzVector bpos, GzVector apos, GzQuatern arot)
GzQuatern GzCoordRotationAdd (GzQuatern b, GzQuatern a)
GzQuatern GzCoordRotationSub (GzQuatern b, GzQuatern a)
GzHomo GzHomoFromQuatern (GzQuatern q)
 Compute a homogeneous transform matrix from a Quatern.
GzHomo GzHomoInverse (GzHomo a)
 Compute the inverse of the given transform matrix.
GzVector GzHomoMul (GzHomo m, GzVector a)
 Apply a homogeneous transform.


Function Documentation

GzVector GzVectorZero (   ) 
 

GzVector GzVectorSet (  double  x,
double  y,
double  z
) 
 

GzVector GzVectorSetQuatern (  GzQuatern  q  ) 
 

GzVector GzVectorAdd (  GzVector  b,
GzVector  a
) 
 

GzVector GzVectorSub (  GzVector  b,
GzVector  a
) 
 

GzVector GzVectorMul (  double  s,
GzVector  a
) 
 

double GzVectorMag (  GzVector  a  ) 
 

GzVector GzVectorUnit (  GzVector  a  ) 
 

GzVector GzVectorCross (  GzVector  a,
GzVector  b
) 
 

double GzVectorDot (  GzVector  a,
GzVector  b
) 
 

bool GzVectorFinite (  GzVector  a  ) 
 

GzQuatern GzQuaternIdent (   ) 
 

GzQuatern GzQuaternSet (  double  u,
double  x,
double  y,
double  z
) 
 

GzQuatern GzQuaternSetVector (  GzVector  v  ) 
 

GzQuatern GzQuaternInverse (  GzQuatern  a  ) 
 

GzQuatern GzQuaternNormal (  GzQuatern  a  ) 
 

GzQuatern GzQuaternFromAxis (  double  x,
double  y,
double  z,
double  a
) 
 

GzQuatern GzQuaternFromEuler (  double  roll,
double  pitch,
double  yaw
) 
 

GzVector GzQuaternToEuler (  GzQuatern  q  ) 
 

GzQuatern GzQuaternToAxis (  GzQuatern  a  ) 
 

GzQuatern GzQuaternMul (  GzQuatern  a,
GzQuatern  b
) 
 

GzQuatern GzQuaternScale (  double  s,
GzQuatern  a
) 
 

bool GzQuaternFinite (  GzQuatern  a  ) 
 

GzPose GzPoseSet (  GzVector  pos,
GzQuatern  rot
) 
 

GzPose GzPosePointAt (  GzVector  pos,
GzVector  at,
GzVector  up
) 
 

Create a pose from a triplet of vectors.

Parameters:
pos specifies the object position.
at specifies the point to look at (x axis).
up Specifies the "up" direction (z axis).

bool GzPoseFinite (  GzPose  a  ) 
 

GzPose GzCoordPoseAdd (  GzPose  bpose,
GzPose  apose
) 
 

GzPose GzCoordPoseSub (  GzPose  bpose,
GzPose  apose
) 
 

GzPose GzCoordPoseSolve (  GzPose  ba,
GzPose  b
) 
 

GzVector GzCoordPositionAdd (  GzVector  bpos,
GzVector  apos,
GzQuatern  arot
) 
 

GzVector GzCoordPositionSub (  GzVector  bpos,
GzVector  apos,
GzQuatern  arot
) 
 

GzQuatern GzCoordRotationAdd (  GzQuatern  b,
GzQuatern  a
) 
 

GzQuatern GzCoordRotationSub (  GzQuatern  b,
GzQuatern  a
) 
 

GzHomo GzHomoFromQuatern (  GzQuatern  q  ) 
 

Compute a homogeneous transform matrix from a Quatern.

GzHomo GzHomoInverse (  GzHomo  a  ) 
 

Compute the inverse of the given transform matrix.

GzVector GzHomoMul (  GzHomo  m,
GzVector  a
) 
 

Apply a homogeneous transform.

Apply a homogeneous transform



Last updated $Date: 2004/12/21 01:49:15 $
Generated on Sun May 22 18:39:08 2005 for Gazebo by doxygen 1.4.2