Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CVectorTex3 Class Reference

CVectorTex3d. More...

#include <CVectorTex3.h>

Inheritance diagram for CVectorTex3:

CVector3 List of all members.

Public Member Functions

 CVectorTex3 ()
 default costructor

 CVectorTex3 (zfloat valx, zfloat valy, zfloat valz, zfloat tex0, zfloat tex1)
 Constructor.

 CVectorTex3 (zfloat valx, zfloat valy, zfloat valz, zfloat tex0, zfloat tex1, zfloat nor0, zfloat nor1, zfloat nor2)
 Constructor.

 CVectorTex3 (const CVectorTex3 &v)
 Constructor.

 ~CVectorTex3 ()
 Distructor.

void Set (const CVectorTex3 &v)
 Sets the value of *this to CVectorTex3.

void SetNormal (zfloat valx, zfloat valy, zfloat valz)
 Sets the value of normal values.

CVectorTex3 operator= (const CVectorTex3 &v)
 = operator

CVectorTex3 operator= (const CVector3 &v)
 = operator

CVectorTex3 operator+= (const CVectorTex3 &v)
 += operator

CVectorTex3 operator-= (const CVectorTex3 &v)
 -= operator

CVectorTex3 operator *= (zfloat val)
 scalar product operator

CVectorTex3 operator/= (zfloat val)
 sclar division operator

CVectorTex3 operator *= (CVectorTex3 v)
 vector product operator

CVectorTex3 operator/= (CVectorTex3 v)
 vector division operator

CVectorTex3 operator+ ()
 unary + operator

CVectorTex3 operator- ()
 unary - operator


Public Attributes

zfloat fTexcoord [2]
 texture coordinates

zfloat fNormal [3]
 normal


Friends

CVectorTex3 operator+ (const CVectorTex3 &v1, const CVectorTex3 &v2)
 + operator

CVectorTex3 operator- (const CVectorTex3 &v1, const CVectorTex3 &v2)
 
  • operator


zfloat operator * (const CVectorTex3 &v1, const CVectorTex3 &v2)
 sclar product operator

CVectorTex3 operator% (const CVectorTex3 &v1, const CVectorTex3 &v2)
 vector product operator

CVectorTex3 operator * (const CVectorTex3 &v, zfloat val)
 multiply a vector with a scalar operator (zfloat)

CVectorTex3 operator * (zfloat val, const CVectorTex3 &v)
 multiply a vector with a scalar operator (zfloat)

CVectorTex3 operator * (const CVectorTex3 &v, zuint val)
 multiply a vector with a scalar operator (zuint)

CVectorTex3 operator * (zuint val, const CVectorTex3 &v)
 multiply a vector with a scalar operator (zuint)

CVectorTex3 operator/ (const CVectorTex3 &v, zfloat val)
 divide a vector with a scalar operator (zfloat)

CVectorTex3 operator/ (zfloat val, const CVectorTex3 &v)
 divide a vector with a scalar operator (zfloat)

CVectorTex3 operator/ (const CVectorTex3 &v, zuint val)
 divide a vector with a scalar operator (zuint)

CVectorTex3 operator/ (zuint val, const CVectorTex3 &v)
 divide a vector with a scalar operator (zuint)


Detailed Description

CVectorTex3d.

base vector 3d class for textured vector


Constructor & Destructor Documentation

CVectorTex3::CVectorTex3   [inline]
 

default costructor

CVectorTex3::CVectorTex3 zfloat    valx,
zfloat    valy,
zfloat    valz,
zfloat    tex0,
zfloat    tex1
[inline]
 

Constructor.

CVectorTex3::CVectorTex3 zfloat    valx,
zfloat    valy,
zfloat    valz,
zfloat    tex0,
zfloat    tex1,
zfloat    nor0,
zfloat    nor1,
zfloat    nor2
[inline]
 

Constructor.

CVectorTex3::CVectorTex3 const CVectorTex3 &    v [inline]
 

Constructor.

CVectorTex3::~CVectorTex3   [inline]
 

Distructor.


Member Function Documentation

CVectorTex3 CVectorTex3::operator *= CVectorTex3    v [inline]
 

vector product operator

CVectorTex3 CVectorTex3::operator *= zfloat    val [inline]
 

scalar product operator

Reimplemented from CVector3.

CVectorTex3 CVectorTex3::operator+   [inline]
 

unary + operator

Reimplemented from CVector3.

CVectorTex3 CVectorTex3::operator+= const CVectorTex3 &    v [inline]
 

+= operator

CVectorTex3 CVectorTex3::operator-   [inline]
 

unary - operator

Reimplemented from CVector3.

CVectorTex3 CVectorTex3::operator-= const CVectorTex3 &    v [inline]
 

-= operator

CVectorTex3 CVectorTex3::operator/= CVectorTex3    v [inline]
 

vector division operator

CVectorTex3 CVectorTex3::operator/= zfloat    val [inline]
 

sclar division operator

Reimplemented from CVector3.

CVectorTex3 CVectorTex3::operator= const CVector3   v [inline]
 

= operator

Reimplemented from CVector3.

CVectorTex3 CVectorTex3::operator= const CVectorTex3 &    v [inline]
 

= operator

void CVectorTex3::Set const CVectorTex3 &    v [inline]
 

Sets the value of *this to CVectorTex3.

void CVectorTex3::SetNormal zfloat    valx,
zfloat    valy,
zfloat    valz
[inline]
 

Sets the value of normal values.


Friends And Related Function Documentation

CVectorTex3 operator * zuint    val,
const CVectorTex3 &    v
[friend]
 

multiply a vector with a scalar operator (zuint)

CVectorTex3 operator * const CVectorTex3 &    v,
zuint    val
[friend]
 

multiply a vector with a scalar operator (zuint)

CVectorTex3 operator * zfloat    val,
const CVectorTex3 &    v
[friend]
 

multiply a vector with a scalar operator (zfloat)

CVectorTex3 operator * const CVectorTex3 &    v,
zfloat    val
[friend]
 

multiply a vector with a scalar operator (zfloat)

zfloat operator * const CVectorTex3 &    v1,
const CVectorTex3 &    v2
[friend]
 

sclar product operator

CVectorTex3 operator% const CVectorTex3 &    v1,
const CVectorTex3 &    v2
[friend]
 

vector product operator

CVectorTex3 operator+ const CVectorTex3 &    v1,
const CVectorTex3 &    v2
[friend]
 

+ operator

CVectorTex3 operator- const CVectorTex3 &    v1,
const CVectorTex3 &    v2
[friend]
 

  • operator

CVectorTex3 operator/ zuint    val,
const CVectorTex3 &    v
[friend]
 

divide a vector with a scalar operator (zuint)

CVectorTex3 operator/ const CVectorTex3 &    v,
zuint    val
[friend]
 

divide a vector with a scalar operator (zuint)

CVectorTex3 operator/ zfloat    val,
const CVectorTex3 &    v
[friend]
 

divide a vector with a scalar operator (zfloat)

CVectorTex3 operator/ const CVectorTex3 &    v,
zfloat    val
[friend]
 

divide a vector with a scalar operator (zfloat)


Member Data Documentation

zfloat CVectorTex3::fNormal[3]
 

normal

zfloat CVectorTex3::fTexcoord[2]
 

texture coordinates


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


SourceForge.net Logo