Logo Search packages:      
Sourcecode: openexr version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes

Imath::Euler< T > Class Template Reference

Inheritance diagram for Imath::Euler< T >:
Inheritance graph
[legend]
Collaboration diagram for Imath::Euler< T >:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Axis { X = 0, Y = 1, Z = 2 }
typedef T BaseType
enum  InputLayout { XYZLayout, IJKLayout }
enum  Order {
  XYZ = 0x0101, XZY = 0x0001, YZX = 0x1101, YXZ = 0x1001,
  ZXY = 0x2101, ZYX = 0x2001, XZX = 0x0011, XYX = 0x0111,
  YXY = 0x1011, YZY = 0x1111, ZYZ = 0x2011, ZXZ = 0x2111,
  XYZr = 0x2000, XZYr = 0x2100, YZXr = 0x1000, YXZr = 0x1100,
  ZXYr = 0x0000, ZYXr = 0x0100, XZXr = 0x2110, XYXr = 0x2010,
  YXYr = 0x1110, YZYr = 0x1010, ZYZr = 0x0110, ZXZr = 0x0010,
  Legal, Min = 0x0000, Max = 0x2111, Default = XYZ
}

Public Member Functions

void angleMapping (int &i, int &j, int &k) const
void angleOrder (int &i, int &j, int &k) const
Vec3 cross (const Vec3 &v) const
dot (const Vec3 &v) const
bool equalWithAbsError (const Vec3< T > &v, T e) const
bool equalWithRelError (const Vec3< T > &v, T e) const
 Euler (const Matrix44< T > &, Order o=Default)
 Euler (const Vec3< T > &v, Order o=Default, InputLayout l=IJKLayout)
 Euler (const Euler &)
 Euler (T i, T j, T k, Order o=Default, InputLayout l=IJKLayout)
 Euler (Order p)
 Euler (const Euler< T > &euler, Order newp)
 Euler (const Matrix33< T > &, Order o=Default)
void extract (const Matrix44< T > &)
void extract (const Quat< T > &)
void extract (const Matrix33< T > &)
bool frameStatic () const
template<class S >
void getValue (S &a, S &b, S &c) const
template<class S >
void getValue (Vec3< S > &v) const
T * getValue ()
const T * getValue () const
Axis initialAxis () const
bool initialRepeated () const
template<>
int length () const
length () const
template<>
short length () const
template<>
int length () const
template<>
short length () const
length2 () const
void makeNear (const Euler< T > &target)
const Vec3negate ()
const Vec3normalize ()
template<>
const Vec3< short > & normalize ()
template<>
const Vec3< int > & normalize ()
template<>
const Vec3< short > & normalize ()
template<>
const Vec3< int > & normalize ()
Vec3< T > normalized () const
template<>
Vec3< short > normalized () const
template<>
Vec3< int > normalized () const
template<>
Vec3< short > normalized () const
template<>
Vec3< int > normalized () const
template<>
Vec3< short > normalizedExc () const throw(Iex::MathExc)
Vec3< T > normalizedExc () const throw (Iex::MathExc)
template<>
Vec3< int > normalizedExc () const throw(Iex::MathExc)
template<>
Vec3< short > normalizedExc () const throw(Iex::MathExc)
template<>
Vec3< int > normalizedExc () const throw(Iex::MathExc)
template<>
Vec3< int > normalizedNonNull () const
Vec3< T > normalizedNonNull () const
template<>
Vec3< short > normalizedNonNull () const
template<>
Vec3< short > normalizedNonNull () const
template<>
Vec3< int > normalizedNonNull () const
template<>
const Vec3< int > & normalizeExc () throw(Iex::MathExc)
template<>
const Vec3< short > & normalizeExc () throw(Iex::MathExc)
template<>
const Vec3< int > & normalizeExc () throw(Iex::MathExc)
template<>
const Vec3< short > & normalizeExc () throw(Iex::MathExc)
const Vec3normalizeExc () throw (Iex::MathExc)
template<>
const Vec3< short > & normalizeNonNull ()
const Vec3normalizeNonNull ()
template<>
const Vec3< int > & normalizeNonNull ()
template<>
const Vec3< int > & normalizeNonNull ()
template<>
const Vec3< short > & normalizeNonNull ()
template<class S >
bool operator!= (const Vec3< S > &v) const
Vec3 operator% (const Vec3 &v) const
const Vec3operator%= (const Vec3 &v)
Vec3 operator* (const Vec3 &v) const
Vec3 operator* (T a) const
const Vec3operator*= (T a)
const Vec3operator*= (const Vec3 &v)
Vec3 operator+ (const Vec3 &v) const
const Vec3operator+= (const Vec3 &v)
Vec3 operator- (const Vec3 &v) const
Vec3 operator- () const
const Vec3operator-= (const Vec3 &v)
Vec3 operator/ (const Vec3 &v) const
Vec3 operator/ (T a) const
const Vec3operator/= (T a)
const Vec3operator/= (const Vec3 &v)
const Euler< T > & operator= (const Euler< T > &)
const Euler< T > & operator= (const Vec3< T > &)
template<class S >
bool operator== (const Vec3< S > &v) const
const T & operator[] (int i) const
T & operator[] (int i)
operator^ (const Vec3 &v) const
Order order () const
bool parityEven () const
void set (Axis initial, bool relative, bool parityEven, bool firstRepeats)
void setOrder (Order)
template<class S >
void setValue (const Vec3< S > &v)
template<class S >
void setValue (S a, S b, S c)
void setXYZVector (const Vec3< T > &)
Matrix33< T > toMatrix33 () const
Matrix44< T > toMatrix44 () const
Quat< T > toQuat () const
Vec3< T > toXYZVector () const

Static Public Member Functions

static float angleMod (T angle)
static T baseTypeEpsilon ()
static T baseTypeMax ()
static T baseTypeMin ()
static T baseTypeSmallest ()
static unsigned int dimensions ()
static bool legal (Order)
static void nearestRotation (Vec3< T > &xyzRot, const Vec3< T > &targetXyzRot, Order order=XYZ)
static void simpleXYZRotation (Vec3< T > &xyzRot, const Vec3< T > &targetXyzRot)

Public Attributes

x
y
z

Protected Attributes

bool _frameStatic: 1
Axis _initialAxis: 2
bool _initialRepeated: 1
bool _parityEven: 1

Detailed Description

template<class T>
class Imath::Euler< T >

Definition at line 143 of file ImathEuler.h.


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

Generated by  Doxygen 1.6.0   Back to index