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, FXfloat ww=1.0f) | |
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) |
FXVec4f | plane (const FXVec4f &vec) |
FXVec4f | plane (const FXVec3f &vec, FXfloat dist) |
FXVec4f | plane (const FXVec3f &vec, const FXVec3f &p) |
FXVec4f | plane (const FXVec3f &a, const FXVec3f &b, const FXVec3f &c) |
FXfloat | distance (const FXVec4f &plane, const FXVec3f &p) |
FXbool | crosses (const FXVec4f &plane, const FXVec3f &a, const FXVec3f &b) |
FXStream & | operator<< (FXStream &store, const FXVec4f &v) |
FXStream & | operator>> (FXStream &store, FXVec4f &v) |
|
Default constructor.
|
|
Copy constructor.
|
|
Construct with 3-vector and optional scalar.
|
|
Construct from array of floats.
|
|
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.
|
|
Subtracting.
|
|
Scaling.
|
|
Dot product.
|
|
Test if zero.
|
|
Equality tests.
|
|
Inequality tests.
|
|
Length and square of length.
|
|
Normalize vector.
|
|
Lowest or highest components.
|
|
Compute normalized plane equation ax+by+cz+d=0.
|
|
Signed distance normalized plane and point.
|
|
Return true if edge a-b crosses plane.
|
|
Save to a stream.
|
|
Load from a stream.
|
Copyright © 1997-2005 Jeroen van der Zijp |