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