UnitRow Class Template Reference

#include <UnitVec.h>

Inheritance diagram for UnitRow:

Row< 3, Real, S >

List of all members.


Detailed Description

template<int S>
class SimTK::UnitRow< S >

This type is used for the transpose of UnitVec, and as the returned row type of a Rotation.

Don't construct these directly.

Public Types

typedef Row< 3, Real, S > BaseRow
typedef UnitVec< S > TransposeType

Public Member Functions

 UnitRow ()
 UnitRow (const UnitRow &u)
template<int S2>
 UnitRow (const UnitRow< S2 > &u)
UnitRowoperator= (const UnitRow &u)
template<int S2>
UnitRowoperator= (const UnitRow< S2 > &u)
 UnitRow (const BaseRow &v)
template<int S2>
 UnitRow (const Row< 3, Real, S2 > &v)
 UnitRow (const Real &x, const Real &y, const Real &z)
 UnitRow (int axis)
const BaseRowasRow3 () const
UnitRow< 1 > negate () const
UnitRow< 1 > operator- () const
const TransposeTypeoperator~ () const
TransposeTypeoperator~ ()
const Real & operator[] (int i) const
const Real & operator() (int i) const
UnitRow< 1 > abs () const
UnitRow< 1 > perp () const
 UnitRow (const BaseRow &v, bool)
template<int S2>
 UnitRow (const Row< 3, Real, S2 > &v, bool)


Member Typedef Documentation

typedef Row<3,Real,S> BaseRow

typedef UnitVec<S> TransposeType


Constructor & Destructor Documentation

UnitRow (  )  [inline]

UnitRow ( const UnitRow< S > &  u  )  [inline]

UnitRow ( const UnitRow< S2 > &  u  )  [inline]

UnitRow ( const BaseRow v  )  [inline, explicit]

UnitRow ( const Row< 3, Real, S2 > &  v  )  [inline, explicit]

UnitRow ( const Real &  x,
const Real &  y,
const Real &  z 
) [inline]

References SimTK::norm().

UnitRow ( int  axis  )  [inline, explicit]

UnitRow ( const BaseRow v,
bool   
) [inline]

UnitRow ( const Row< 3, Real, S2 > &  v,
bool   
) [inline]


Member Function Documentation

UnitRow& operator= ( const UnitRow< S > &  u  )  [inline]

UnitRow& operator= ( const UnitRow< S2 > &  u  )  [inline]

const BaseRow& asRow3 (  )  const [inline]

Referenced by SimTK::operator*().

UnitRow<1> negate (  )  const [inline]

Reimplemented from Row< 3, Real, S >.

UnitRow<1> operator- (  )  const [inline]

Reimplemented from Row< 3, Real, S >.

const TransposeType& operator~ (  )  const [inline]

Reimplemented from Row< 3, Real, S >.

References SimTK::operator~().

TransposeType& operator~ (  )  [inline]

Reimplemented from Row< 3, Real, S >.

References SimTK::operator~().

const Real& operator[] ( int  i  )  const [inline]

Reimplemented from Row< 3, Real, S >.

const Real& operator() ( int  i  )  const [inline]

Reimplemented from Row< 3, Real, S >.

UnitRow<1> abs (  )  const [inline]

Reimplemented from Row< 3, Real, S >.

Referenced by UnitRow::perp().

UnitRow< 1 > perp (  )  const [inline]

References UnitRow::abs().


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

Generated on Fri Sep 26 07:44:29 2008 for SimTKcore by  doxygen 1.5.6