Visit Cem Yuksel's web site

Files

Class List

Class Members

Class Hierarchy

cySpatialMatrix6f Class Reference

#include <cySpatial.h>

List of all members.


Detailed Description

6D spatial matrix.

This is the general class for 6D spatial matrices. For representing coordinate transformation matrices use cySpatialTrans6f instead, since it is more efficient. However, cySpatialTrans6f cannot be used for general matrix operations that do not correspond to a coordinate transformation.


Assignment operators

void operator *= (const cySpatialMatrix6f &mat)
void operator+= (const cySpatialMatrix6f &mat)
void operator-= (const cySpatialMatrix6f &mat)
void operator *= (float t)
void SetMatrix (cyMatrix3f &m, const cyPoint3f &p1, const cyPoint3f &p2)

Public Member Functions

Constructors
 cySpatialMatrix6f (const cySpatialMatrix6f &mat)
 cySpatialMatrix6f (const cyMatrix3f &_R, const cyPoint3f &_r)
 cySpatialMatrix6f (const cyMatrix3f &m11, const cyMatrix3f &m21, const cyMatrix3f &m12, const cyMatrix3f &m22)
 cySpatialMatrix6f (const cySpatialVector6f &p1, const cySpatialVector6f &p2)
 cySpatialMatrix6f (const cySpatialTrans6f &tm)
Initialization methods
void Set (const cyMatrix3f &_R, const cyPoint3f &_r)
void Set (const cyMatrix3f &m11, const cyMatrix3f &m21, const cyMatrix3f &m12, const cyMatrix3f &m22)
void Set (const cySpatialTrans6f &tm)
void Set (const cySpatialVector6f &p1, const cySpatialVector6f &p2)
 Sets the matrix as the outer product of two vectors.
void SetIdentity ()
void Zero ()
Unary operators
cySpatialMatrix6f operator- () const
Unary operators
cySpatialVector6f operator * (const cySpatialVector6f &p) const
cySpatialMatrix6f operator * (const cySpatialMatrix6f &mat) const
cySpatialMatrix6f operator+ (const cySpatialMatrix6f &mat) const
cySpatialMatrix6f operator- (const cySpatialMatrix6f &mat) const
cySpatialMatrix6f operator * (float t) const
cySpatialMatrix6f operator/ (float t) const

Public Attributes

cyMatrix3f m [4]
 Matrix data in column major order.

Visit Cem Yuksel's website!