fvec4 Struct Reference

Represent 4 float values for SIMD operations. More...

#include <fvec4.h>

List of all members.

Public Member Functions

 fvec4 ()
 fvec4 (__m128 a)
 fvec4 (const fvec4 &a)
 fvec4 (float a)
 fvec4 (float a, float b, float c, float d)
fvec4 operator= (const fvec4 &a)
fvec4 operator= (const __m128 a)
fvec4 operator= (float a)
fvec4 operator+= (const fvec4 &a)
fvec4 operator-= (const fvec4 &a)
fvec4 operator*= (const fvec4 &a)
fvec4 operator/= (const fvec4 &a)
float & operator[] (int i)
const float & operator[] (int i) const
 operator vec4_32i ()
float horizontal_max ()
int horizontal_max_index ()

Public Attributes

__m128 data

Static Public Attributes

static const int size = 4


Detailed Description

Represent 4 float values for SIMD operations.

Definition at line 39 of file fvec4.h.


Constructor & Destructor Documentation

fvec4::fvec4 (  )  [inline]

Definition at line 43 of file fvec4.h.

fvec4::fvec4 ( __m128  a  )  [inline]

Definition at line 44 of file fvec4.h.

References data.

fvec4::fvec4 ( const fvec4 a  )  [inline]

Definition at line 45 of file fvec4.h.

References data.

fvec4::fvec4 ( float  a  )  [inline]

Definition at line 46 of file fvec4.h.

References data.

fvec4::fvec4 ( float  a,
float  b,
float  c,
float  d 
) [inline]

Definition at line 47 of file fvec4.h.

References data.


Member Function Documentation

float fvec4::horizontal_max (  )  [inline]

Definition at line 62 of file fvec4.h.

References max().

int fvec4::horizontal_max_index (  )  [inline]

Definition at line 67 of file fvec4.h.

Referenced by ransac_h4().

fvec4::operator vec4_32i (  )  [inline]

Definition at line 60 of file fvec4.h.

References data.

fvec4 fvec4::operator*= ( const fvec4 a  )  [inline]

Definition at line 55 of file fvec4.h.

References data.

fvec4 fvec4::operator+= ( const fvec4 a  )  [inline]

Definition at line 53 of file fvec4.h.

References data.

fvec4 fvec4::operator-= ( const fvec4 a  )  [inline]

Definition at line 54 of file fvec4.h.

References data.

fvec4 fvec4::operator/= ( const fvec4 a  )  [inline]

Definition at line 56 of file fvec4.h.

References data.

fvec4 fvec4::operator= ( float  a  )  [inline]

Definition at line 51 of file fvec4.h.

References data.

fvec4 fvec4::operator= ( const __m128  a  )  [inline]

Definition at line 50 of file fvec4.h.

References data.

fvec4 fvec4::operator= ( const fvec4 a  )  [inline]

Definition at line 49 of file fvec4.h.

References data.

const float& fvec4::operator[] ( int  i  )  const [inline]

Definition at line 58 of file fvec4.h.

References data.

float& fvec4::operator[] ( int  i  )  [inline]

Definition at line 57 of file fvec4.h.

References data.


Member Data Documentation

__m128 fvec4::data

const int fvec4::size = 4 [static]

Definition at line 41 of file fvec4.h.


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

Generated on Tue Mar 30 15:53:25 2010 for Polyora by  doxygen 1.5.9