Public Member Functions | Protected Attributes | Friends | List of all members
fVec4 Class Reference

#include <fMatrix4.h>

Inheritance diagram for fVec4:
Inheritance graph
[legend]

Public Member Functions

void add (const fVec4 &vec1, const fVec4 &vec2)
 
void cross (const fVec4 &vec1, const fVec4 &vec2)
 
 fVec4 ()
 
 fVec4 (const fVec4 &v)
 
 fVec4 (const fVec3 &v)
 
void mul (fVec4 &_vec, double d)
 
double & operator() (int i)
 
double operator() (int i) const
 
void operator*= (double)
 
void operator+= (const fVec4 &)
 
void operator-= (const fVec4 &)
 
void operator/= (double)
 
fVec4 operator= (const fVec4 &vec)
 
void operator= (double d)
 
double & Scalar ()
 
void set (const fVec3 &v, double s)
 
void set (double s1, double s2, double s3, double s4)
 
void sub (const fVec4 &vec1, const fVec4 &vec2)
 
fVec3Vec ()
 
void zero ()
 
 ~fVec4 ()
 

Protected Attributes

double m_scalar
 
fVec3 m_vec
 
double temp
 

Friends

class fMat44
 
double operator* (const fVec4 &, const fVec4 &)
 
fVec4 operator* (double, const fVec4 &)
 
fVec4 operator+ (const fVec4 &, const fVec4 &)
 
fVec4 operator- (const fVec4 &)
 
fVec4 operator- (const fVec4 &, const fVec4 &)
 
ostream & operator<< (ostream &ost, const fVec4 &mat)
 
double & Scalar (fVec4 &vec)
 
fVec3Vec (fVec4 &vec)
 

Detailed Description

Definition at line 90 of file fMatrix4.h.

Constructor & Destructor Documentation

fVec4::fVec4 ( )
inline

Definition at line 94 of file fMatrix4.h.

fVec4::fVec4 ( const fVec4 v)
inline

Definition at line 99 of file fMatrix4.h.

fVec4::fVec4 ( const fVec3 v)
inline

Definition at line 104 of file fMatrix4.h.

fVec4::~fVec4 ( )
inline

Definition at line 109 of file fMatrix4.h.

Member Function Documentation

void fVec4::add ( const fVec4 vec1,
const fVec4 vec2 
)

Definition at line 156 of file fMatrix4.cpp.

void fVec4::cross ( const fVec4 vec1,
const fVec4 vec2 
)

Definition at line 16 of file fMatrix4.cpp.

void fVec4::mul ( fVec4 _vec,
double  d 
)

Definition at line 162 of file fMatrix4.cpp.

double & fVec4::operator() ( int  i)

Definition at line 168 of file fMatrix4.cpp.

double fVec4::operator() ( int  i) const

Definition at line 182 of file fMatrix4.cpp.

void fVec4::operator*= ( double  d)

Definition at line 221 of file fMatrix4.cpp.

void fVec4::operator+= ( const fVec4 vec)

Definition at line 209 of file fMatrix4.cpp.

void fVec4::operator-= ( const fVec4 vec)

Definition at line 215 of file fMatrix4.cpp.

void fVec4::operator/= ( double  d)

Definition at line 227 of file fMatrix4.cpp.

fVec4 fVec4::operator= ( const fVec4 vec)

Definition at line 196 of file fMatrix4.cpp.

void fVec4::operator= ( double  d)

Definition at line 203 of file fMatrix4.cpp.

double& fVec4::Scalar ( )
inline

Definition at line 124 of file fMatrix4.h.

void fVec4::set ( const fVec3 v,
double  s 
)
inline

Definition at line 127 of file fMatrix4.h.

void fVec4::set ( double  s1,
double  s2,
double  s3,
double  s4 
)
inline

Definition at line 131 of file fMatrix4.h.

void fVec4::sub ( const fVec4 vec1,
const fVec4 vec2 
)

Definition at line 150 of file fMatrix4.cpp.

fVec3& fVec4::Vec ( )
inline

Definition at line 118 of file fMatrix4.h.

void fVec4::zero ( )

Definition at line 270 of file fMatrix4.cpp.

Friends And Related Function Documentation

friend class fMat44
friend

Definition at line 92 of file fMatrix4.h.

double operator* ( const fVec4 v1,
const fVec4 v2 
)
friend

Definition at line 241 of file fMatrix4.cpp.

fVec4 operator* ( double  d,
const fVec4 v 
)
friend

Definition at line 246 of file fMatrix4.cpp.

fVec4 operator+ ( const fVec4 v1,
const fVec4 v2 
)
friend

Definition at line 254 of file fMatrix4.cpp.

fVec4 operator- ( const fVec4 vec)
friend

Definition at line 233 of file fMatrix4.cpp.

fVec4 operator- ( const fVec4 v1,
const fVec4 v2 
)
friend

Definition at line 262 of file fMatrix4.cpp.

ostream& operator<< ( ostream &  ost,
const fVec4 mat 
)
friend

Definition at line 24 of file fMatrix4.cpp.

double& Scalar ( fVec4 vec)
friend

Definition at line 121 of file fMatrix4.h.

fVec3& Vec ( fVec4 vec)
friend

Definition at line 115 of file fMatrix4.h.

Member Data Documentation

double fVec4::m_scalar
protected

Definition at line 161 of file fMatrix4.h.

fVec3 fVec4::m_vec
protected

Definition at line 160 of file fMatrix4.h.

double fVec4::temp
protected

Definition at line 162 of file fMatrix4.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:43