Public Member Functions
rtc::Vec4< T > Class Template Reference

#include <rtcVec4.h>

Inheritance diagram for rtc::Vec4< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void set (const T x0, const T x1, const T x2, const T x3)
 Vec4 ()
 Vec4 (const T *d)
 Vec4 (const T a)
 Vec4 (const T x0, const T x1, const T x2, const T x3)
 Vec4 (const Vec< T, 4 > &v)
template<class U >
 Vec4 (const Vec< U, 4 > &v)

Detailed Description

template<class T>
class rtc::Vec4< T >

A 4-D vector.

Definition at line 37 of file rtcVec4.h.


Constructor & Destructor Documentation

template<class T >
rtc::Vec4< T >::Vec4 ( ) [inline]

Ctor that doesn't initialize.

Definition at line 77 of file rtcVec4.h.

template<class T>
rtc::Vec4< T >::Vec4 ( const T *  d) [inline]

Ctor that intalizes from array.

Definition at line 82 of file rtcVec4.h.

template<class T>
rtc::Vec4< T >::Vec4 ( const T  a) [inline]

Ctor that intalizes all elements from a scalar.

Definition at line 87 of file rtcVec4.h.

template<class T>
rtc::Vec4< T >::Vec4 ( const T  x0,
const T  x1,
const T  x2,
const T  x3 
) [inline]

Ctor that initializes vector with given values.

Definition at line 92 of file rtcVec4.h.

template<class T>
rtc::Vec4< T >::Vec4 ( const Vec< T, 4 > &  v) [inline]

Ctor that initializes an Vec4<T> with an Vec<T,4>.

Definition at line 100 of file rtcVec4.h.

template<class T >
template<class U >
rtc::Vec4< T >::Vec4 ( const Vec< U, 4 > &  v) [inline]

Casting Ctor that initializes an Vec4<T> with a Vec<U,4>.

Definition at line 107 of file rtcVec4.h.


Member Function Documentation

template<class T>
void rtc::Vec4< T >::set ( const T  x0,
const T  x1,
const T  x2,
const T  x3 
) [inline]

Set vector.

Definition at line 114 of file rtcVec4.h.


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


rtc
Author(s): Benjamin Pitzer
autogenerated on Thu Jan 2 2014 11:04:54