![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXHVec.h>
Inheritance diagram for FX::FXHVec:
Public Methods | |
FXHVec () | |
Default constructor. | |
FXHVec (const FXHVec &w) | |
Copy constructor. | |
FXHVec (const FXVec &w) | |
Initialize with 3-vector. | |
FXHVec (FXfloat x, FXfloat y, FXfloat z, FXfloat w=1.0f) | |
Initialize with components. | |
FXHVec (FXColor color) | |
Initialize with color. | |
FXfloat & | operator[] (FXint i) |
Return a non-const reference to the ith element. | |
const FXfloat & | operator[] (FXint i) const |
Return a const reference to the ith element. | |
FXHVec & | operator= (FXColor color) |
Assign color. | |
FXHVec & | operator= (const FXHVec &w) |
Assignment. | |
FXHVec & | operator= (const FXVec &w) |
FXHVec & | operator+= (const FXHVec &a) |
Assigning operators. | |
FXHVec & | operator-= (const FXHVec &a) |
FXHVec & | operator *= (FXfloat n) |
FXHVec & | operator/= (FXfloat n) |
operator FXfloat * () | |
Conversion to float array. | |
operator const FXfloat * () const | |
operator FXColor () const | |
Convert to color. | |
Friends | |
FXHVec | operator- (const FXHVec &a) |
Other operators. | |
FXHVec | operator! (const FXHVec &a) |
FXHVec | operator+ (const FXHVec &a, const FXHVec &b) |
FXHVec | operator- (const FXHVec &a, const FXHVec &b) |
FXHVec | operator * (const FXHVec &a, FXfloat n) |
FXHVec | operator * (FXfloat n, const FXHVec &a) |
FXHVec | operator/ (const FXHVec &a, FXfloat n) |
FXHVec | operator/ (FXfloat n, const FXHVec &a) |
FXfloat | operator * (const FXHVec &a, const FXHVec &b) |
Dot product. | |
int | operator== (const FXHVec &a, const FXHVec &b) |
Equality tests. | |
int | operator== (const FXHVec &a, FXfloat n) |
int | operator== (FXfloat n, const FXHVec &a) |
int | operator!= (const FXHVec &a, const FXHVec &b) |
int | operator!= (const FXHVec &a, FXfloat n) |
int | operator!= (FXfloat n, const FXHVec &a) |
FXAPI FXfloat | len (const FXHVec &a) |
Other functions. | |
FXAPI FXHVec | normalize (const FXHVec &a) |
FXAPI FXHVec | lo (const FXHVec &a, const FXHVec &b) |
FXAPI FXHVec | hi (const FXHVec &a, const FXHVec &b) |
FXAPI FXStream & | operator<< (FXStream &store, const FXHVec &v) |
Save to a stream. | |
FXAPI FXStream & | operator>> (FXStream &store, FXHVec &v) |
Load from a stream. |