Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXVec4f.h>
Inheritance diagram for FX::FXVec4f:
Public Member Functions | |
FXVec4f () | |
FXVec4f (const FXVec4f &v) | |
FXVec4f (const FXVec3f &v) | |
FXVec4f (const FXfloat v[]) | |
FXVec4f (FXfloat xx, FXfloat yy, FXfloat zz, FXfloat ww=1.0f) | |
FXVec4f (FXColor color) | |
FXfloat & | operator[] (FXint i) |
const FXfloat & | operator[] (FXint i) const |
FXVec4f & | operator= (FXColor color) |
FXVec4f & | operator= (const FXVec3f &v) |
FXVec4f & | operator= (const FXVec4f &v) |
FXVec4f & | operator= (const FXfloat v[]) |
FXVec4f & | operator *= (FXfloat n) |
FXVec4f & | operator/= (FXfloat n) |
FXVec4f & | operator+= (const FXVec4f &v) |
FXVec4f & | operator-= (const FXVec4f &v) |
operator FXfloat * () | |
operator const FXfloat * () const | |
operator FXVec3f & () | |
operator const FXVec3f & () const | |
operator FXColor () const | |
Public Attributes | |
FXfloat | x |
FXfloat | y |
FXfloat | z |
FXfloat | w |
Friends | |
FXVec4f | operator+ (const FXVec4f &v) |
FXVec4f | operator- (const FXVec4f &v) |
FXVec4f | operator+ (const FXVec4f &a, const FXVec4f &b) |
FXVec4f | operator- (const FXVec4f &a, const FXVec4f &b) |
FXVec4f | operator * (const FXVec4f &a, FXfloat n) |
FXVec4f | operator * (FXfloat n, const FXVec4f &a) |
FXVec4f | operator/ (const FXVec4f &a, FXfloat n) |
FXVec4f | operator/ (FXfloat n, const FXVec4f &a) |
FXfloat | operator * (const FXVec4f &a, const FXVec4f &b) |
int | operator! (const FXVec4f &a) |
int | operator== (const FXVec4f &a, const FXVec4f &b) |
int | operator!= (const FXVec4f &a, const FXVec4f &b) |
int | operator== (const FXVec4f &a, FXfloat n) |
int | operator!= (const FXVec4f &a, FXfloat n) |
int | operator== (FXfloat n, const FXVec4f &a) |
int | operator!= (FXfloat n, const FXVec4f &a) |
int | operator< (const FXVec4f &a, const FXVec4f &b) |
int | operator<= (const FXVec4f &a, const FXVec4f &b) |
int | operator> (const FXVec4f &a, const FXVec4f &b) |
int | operator>= (const FXVec4f &a, const FXVec4f &b) |
int | operator< (const FXVec4f &a, FXfloat n) |
int | operator<= (const FXVec4f &a, FXfloat n) |
int | operator> (const FXVec4f &a, FXfloat n) |
int | operator>= (const FXVec4f &a, FXfloat n) |
int | operator< (FXfloat n, const FXVec4f &a) |
int | operator<= (FXfloat n, const FXVec4f &a) |
int | operator> (FXfloat n, const FXVec4f &a) |
int | operator>= (FXfloat n, const FXVec4f &a) |
FXfloat | len2 (const FXVec4f &a) |
FXfloat | len (const FXVec4f &a) |
FXVec4f | normalize (const FXVec4f &a) |
FXVec4f | lo (const FXVec4f &a, const FXVec4f &b) |
FXVec4f | hi (const FXVec4f &a, const FXVec4f &b) |
FXStream & | operator<< (FXStream &store, const FXVec4f &v) |
FXStream & | operator>> (FXStream &store, FXVec4f &v) |
|
Default constructor.
|
|
Copy constructor.
|
|
Construct with 3-vector.
|
|
Construct from components.
|
|
Construct from color.
|
|
Return a non-const reference to the ith element.
|
|
Return a const reference to the ith element.
|
|
Assign color.
|
|
Assignment.
|
|
Assignment from array of floats.
|
|
Assigning operators.
|
|
Conversion.
|
|
Convert to color.
|
|
Unary.
|
|
Adding.
|
|
Substracting.
|
|
Scaling.
|
|
Dot product.
|
|
Test if zero.
|
|
Equality tests.
|
|
Inequality tests.
|
|
Length and square of length.
|
|
Normalize vector.
|
|
Lowest or highest components.
|
|
Save to a stream.
|
|
Load from a stream.
|
Copyright © 1997-2004 Jeroen van der Zijp |