Main Page
Namespaces
Classes
Files
Alphabetical List
Class List
Class Hierarchy
Class Members
Vector4T< T > Class Template Reference
#include <
Vector4.hpp
>
Collaboration diagram for Vector4T< T >:
[
legend
]
List of all members.
Public Member Functions
Vector4T
()
Vector4T
(float cx, float cy, float cz, float cw)
Vector4T
(double cx, double cy, double cz, double cw)
template<class S>
Vector4T
(const
Vector4T
< S > &v)
template<class S>
Vector4T
&
operator=
(const
Vector4T
< S > &v)
Vector4T
&
clear
(void)
bool
operator==
(const
Vector4T
&src) const
bool
operator!=
(const
Vector4T
&src) const
Vector4T
&
operator+=
(const
Vector4T
&v)
Vector4T
&
operator-=
(const
Vector4T
&v)
Vector4T
&
operator *=
(double s)
Vector4T
&
operator/=
(double s)
bool
isOne
(void) const
bool
isZero
(void) const
double
length
(void) const
double
lengthSqr
(void) const
Vector4T
&
normalize
(double len=1.0)
Vector4T
&
scale
(const
Vector4T
&v)
Vector4T
&
descale
(const
Vector4T
&v)
const
T
&
operator[]
(int i) const
T
&
operator[]
(int i)
Public Attributes
T
x
T
y
T
z
T
w
template<class T>
class Vector4T< T >
Constructor & Destructor Documentation
template<class T>
Vector4T
<
T
>::
Vector4T
(
)
[inline]
template<class T>
Vector4T
<
T
>::
Vector4T
(
float
cx
,
float
cy
,
float
cz
,
float
cw
)
[inline]
template<class T>
Vector4T
<
T
>::
Vector4T
(
double
cx
,
double
cy
,
double
cz
,
double
cw
)
[inline]
template<class T>
template<class S>
Vector4T
<
T
>::
Vector4T
(
const
Vector4T
< S > &
v
)
[inline]
Member Function Documentation
template<class T>
template<class S>
Vector4T
&
Vector4T
<
T
>::operator=
(
const
Vector4T
< S > &
v
)
[inline]
template<class T>
Vector4T
&
Vector4T
<
T
>::clear
(
void
)
[inline]
template<class T>
bool
Vector4T
<
T
>::operator==
(
const
Vector4T
<
T
> &
src
)
const
[inline]
template<class T>
bool
Vector4T
<
T
>::operator!=
(
const
Vector4T
<
T
> &
src
)
const
[inline]
template<class T>
Vector4T
&
Vector4T
<
T
>::operator+=
(
const
Vector4T
<
T
> &
v
)
[inline]
template<class T>
Vector4T
&
Vector4T
<
T
>::operator-=
(
const
Vector4T
<
T
> &
v
)
[inline]
template<class T>
Vector4T
&
Vector4T
<
T
>::operator *=
(
double
s
)
[inline]
template<class T>
Vector4T
&
Vector4T
<
T
>::operator/=
(
double
s
)
[inline]
template<class T>
bool
Vector4T
<
T
>::isOne
(
void
)
const
[inline]
template<class T>
bool
Vector4T
<
T
>::isZero
(
void
)
const
[inline]
template<class T>
double
Vector4T
<
T
>::length
(
void
)
const
[inline]
template<class T>
double
Vector4T
<
T
>::lengthSqr
(
void
)
const
[inline]
template<class T>
Vector4T
&
Vector4T
<
T
>::normalize
(
double
len
=
1.0
)
[inline]
template<class T>
Vector4T
&
Vector4T
<
T
>::scale
(
const
Vector4T
<
T
> &
v
)
[inline]
template<class T>
Vector4T
&
Vector4T
<
T
>::descale
(
const
Vector4T
<
T
> &
v
)
[inline]
template<class T>
const
T
&
Vector4T
<
T
>::operator[]
(
int
i
)
const
[inline]
template<class T>
T
&
Vector4T
<
T
>::operator[]
(
int
i
)
[inline]
Member Data Documentation
template<class T>
T
Vector4T
<
T
>::
x
template<class T>
T
Vector4T
<
T
>::
y
template<class T>
T
Vector4T
<
T
>::
z
template<class T>
T
Vector4T
<
T
>::
w
The documentation for this class was generated from the following file:
Vector4.hpp
Generated on Mon Mar 12 21:09:20 2007 for VEE - The Visual Effects Engine by
1.4.6