From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a03375.html | 1785 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1785 insertions(+) create mode 100644 docs/doxygen/nel/a03375.html (limited to 'docs/doxygen/nel/a03375.html') diff --git a/docs/doxygen/nel/a03375.html b/docs/doxygen/nel/a03375.html new file mode 100644 index 00000000..443a0d1e --- /dev/null +++ b/docs/doxygen/nel/a03375.html @@ -0,0 +1,1785 @@ + + +NeL: NL3D::CShadowPolyReceiver::CVectorId class Reference + + + +
+

NL3D::CShadowPolyReceiver::CVectorId Class Reference

Inheritance diagram for NL3D::CShadowPolyReceiver::CVectorId: +

+ +NLMISC::CVector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

std::string asString () const
 CVectorId (const CVector &v)
 CVectorId ()
std::string toString () const
 Returns the contents as a printable string "x y z".

Misc.
void cartesianToSpheric (float &r, float &theta, float &phi) const
bool isNull () const
void maxof (const CVector &a, const CVector &b)
 Set all vector x/y/z as maximum of a/b x/y/z (respectively).

void minof (const CVector &a, const CVector &b)
 Set all vector x/y/z as minimum of a/b x/y/z (respectively).

bool operator!= (const CVector &v) const
bool operator< (const CVector &v) const
 This operator is here just for map/set insertion (no meaning). comparison order is x,y,z.

bool operator== (const CVector &v) const
void serial (IStream &f)
 serial.

void set (float _x, float _y, float _z)
void sphericToCartesian (float r, float theta, float phi)
Advanced Maths.
float norm () const
 Return the norm of the vector.

void normalize ()
 Normalize the vector.

CVector normed () const
 Return the vector normalized.

float operator * (const CVector &v) const
 Dot product.

CVector operator^ (const CVector &v) const
float sqrnorm () const
 Return the square of the norm of the vector.

Base Maths.
CVector operator * (float f) const
CVectoroperator *= (float f)
CVector operator+ (const CVector &v) const
CVectoroperator+= (const CVector &v)
CVector operator- () const
CVector operator- (const CVector &v) const
CVectoroperator-= (const CVector &v)
CVector operator/ (float f) const
CVectoroperator/= (float f)
Misc.
void cartesianToSpheric (float &r, float &theta, float &phi) const
bool isNull () const
void maxof (const CVector &a, const CVector &b)
 Set all vector x/y/z as maximum of a/b x/y/z (respectively).

void minof (const CVector &a, const CVector &b)
 Set all vector x/y/z as minimum of a/b x/y/z (respectively).

bool operator!= (const CVector &v) const
bool operator< (const CVector &v) const
 This operator is here just for map/set insertion (no meaning). comparison order is x,y,z.

bool operator== (const CVector &v) const
void serial (IStream &f)
 serial.

void set (float _x, float _y, float _z)
void sphericToCartesian (float r, float theta, float phi)
Advanced Maths.
float norm () const
 Return the norm of the vector.

void normalize ()
 Normalize the vector.

CVector normed () const
 Return the vector normalized.

float operator * (const CVector &v) const
 Dot product.

CVector operator^ (const CVector &v) const
float sqrnorm () const
 Return the square of the norm of the vector.

Base Maths.
CVector operator * (float f) const
CVectoroperator *= (float f)
CVector operator+ (const CVector &v) const
CVectoroperator+= (const CVector &v)
CVector operator- () const
CVector operator- (const CVector &v) const
CVectoroperator-= (const CVector &v)
CVector operator/ (float f) const
CVectoroperator/= (float f)
Misc.
void cartesianToSpheric (float &r, float &theta, float &phi) const
bool isNull () const
void maxof (const CVector &a, const CVector &b)
 Set all vector x/y/z as maximum of a/b x/y/z (respectively).

void minof (const CVector &a, const CVector &b)
 Set all vector x/y/z as minimum of a/b x/y/z (respectively).

bool operator!= (const CVector &v) const
bool operator< (const CVector &v) const
 This operator is here just for map/set insertion (no meaning). comparison order is x,y,z.

bool operator== (const CVector &v) const
void serial (IStream &f)
 serial.

void set (float _x, float _y, float _z)
void sphericToCartesian (float r, float theta, float phi)
Advanced Maths.
float norm () const
 Return the norm of the vector.

void normalize ()
 Normalize the vector.

CVector normed () const
 Return the vector normalized.

float operator * (const CVector &v) const
 Dot product.

CVector operator^ (const CVector &v) const
float sqrnorm () const
 Return the square of the norm of the vector.

Base Maths.
CVector operator * (float f) const
CVectoroperator *= (float f)
CVector operator+ (const CVector &v) const
CVectoroperator+= (const CVector &v)
CVector operator- () const
CVector operator- (const CVector &v) const
CVectoroperator-= (const CVector &v)
CVector operator/ (float f) const
CVectoroperator/= (float f)

Data Fields

uint8 Flags
uint8 RefCount
sint16 VBIdx
float x
float y
float z

Static Public Attributes

const CVector I
 I vector (1,0,0).

const CVector J
 J vector (0,1,0).

const CVector K
 K vector (0,0,1).

const CVector Null
 Null vector (0,0,0).


Friends

CVector operator * (float f, const CVector &v0)
+

Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CShadowPolyReceiver::CVectorId::CVectorId  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 92 of file shadow_poly_receiver.h. +

+

00092 {RefCount=0;}
+
+

+ + + + +
+ + + + + + + + + + +
NL3D::CShadowPolyReceiver::CVectorId::CVectorId const CVector v  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 93 of file shadow_poly_receiver.h. +

+References v. +

+

00093 {(*(CVector*)this)= v; RefCount=0;}
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
std::string NLMISC::CVector::asString  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Returns the contents as a printable string "x y z" undeprecated, use the generic function toString() +

+Definition at line 139 of file vector.h. +

+References NLMISC::CVector::toString(). +

+

00139 { return toString(); }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void NLMISC::CVector::cartesianToSpheric float &  r,
float &  theta,
float &  phi
const [inline, inherited]
+
+ + + + + +
+   + + +

+Get the sphreic coordinates of the vector. See sphericToCartesian() to know coordinates conventions.

See also:
sphericToCartesian()
+ +

+Definition at line 161 of file vector_inline.h. +

+References NLMISC::clamp(), NLMISC::CVector::norm(), NLMISC::CVector::normed(), r, and v. +

+

00162 {
+00163         CVector v;
+00164 
+00165         r= norm();
+00166         v= normed();
+00167 
+00168         // phi E [-PI/2 et PI/2]
+00169         clamp(v.z, -1.0f, 1.0f);
+00170         phi= (float)asin(v.z);
+00171 
+00172         // theta [-PI,PI]
+00173         theta= (float)atan2(v.y,v.x);
+00174 }
+
+

+ + + + +
+ + + + + + + + + +
bool NLMISC::CVector::isNull  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Get the sphreic coordinates of the vector. See sphericToCartesian() to know coordinates conventions.

See also:
sphericToCartesian()
+ +

+Definition at line 148 of file vector_inline.h. +

+Referenced by NLMISC::CMatrix::normalize(), NLSOUND::CSimpleSource::setDirection(), NLPACS::CGlobalRetriever::testBBoxMove(), and NLPACS::CGlobalRetriever::testCylinderMove(). +

+

00149 {
+00150         return *this==CVector::Null;
+00151 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLMISC::CVector::maxof const CVector a,
const CVector b
[inline, inherited]
+
+ + + + + +
+   + + +

+Set all vector x/y/z as maximum of a/b x/y/z (respectively). +

+ +

+Definition at line 192 of file vector_inline.h. +

+References NLMISC::CVector::x, x, NLMISC::CVector::y, y, NLMISC::CVector::z, and z. +

+Referenced by NL3D::CLodCharacterShape::addAnim(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::build(), NLPACS::CEdgeQuad::build(), NLPACS::CChainQuad::build(), NL3D::CPatch::buildBBoxFromBezierPatch(), NLMISC::CAABBox::computeAABBoxUnion(), NL3D::CPSLocated::computeBBox(), NLMISC::CAABBox::computeIntersection(), NL3D::CSkeletonModel::computeWorldBBoxForShadow(), NLMISC::CAABBox::extend(), and NL3D::CZoneLighter::light(). +

+

00193 {
+00194         x= std::max(a.x, b.x);
+00195         y= std::max(a.y, b.y);
+00196         z= std::max(a.z, b.z);
+00197 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLMISC::CVector::minof const CVector a,
const CVector b
[inline, inherited]
+
+ + + + + +
+   + + +

+Set all vector x/y/z as minimum of a/b x/y/z (respectively). +

+ +

+Definition at line 186 of file vector_inline.h. +

+References min, NLMISC::CVector::x, x, NLMISC::CVector::y, y, NLMISC::CVector::z, and z. +

+Referenced by NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::build(), NLPACS::CEdgeQuad::build(), NLPACS::CChainQuad::build(), NL3D::CPatch::buildBBoxFromBezierPatch(), NLMISC::CAABBox::computeIntersection(), NL3D::CSkeletonModel::computeWorldBBoxForShadow(), NLMISC::CAABBox::extend(), NL3D::CZoneLighter::light(), NLPACS::CQuadGrid< uint32 >::selectQuads(), and NL3D::CQuadGrid< CWaterShape * >::selectQuads(). +

+

00187 {
+00188         x= std::min(a.x, b.x);
+00189         y= std::min(a.y, b.y);
+00190         z= std::min(a.z, b.z);
+00191 }
+
+

+ + + + +
+ + + + + + + + + +
float NLMISC::CVector::norm  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Return the norm of the vector. +

+ +

+Definition at line 115 of file vector_inline.h. +

+References x, y, and z. +

+Referenced by NLSOUND::CClusteredSound::addAudibleCluster(), NL3D::CVegetableManager::addInstance(), NL3D::CPatchDLMContext::addPointLightInfluence(), NL3D::CMRMSewingMesh::build(), NL3D::CMRMBuilder::buildMeshBuildMrm(), NL3D::BuildSlice(), NL3D::BuildTangentSpace(), NL3D::CCloud::calcBill(), NLMISC::CVector::cartesianToSpheric(), NL3D::CMaterial::decompUserTexMat(), NL3D::CPSFaceLookAtHelper::drawLookAt(), NL3D::CPSEmitterConic::emit(), NLMISC::CPolygon::getBestTriplet(), NLSOUND::CClusteredSound::getPolyNearestPos(), NLMISC::CAABBox::getRadius(), NLLIGO::CPrimZone::getSegmentDist(), NLSOUND::CClusteredSound::interpolateSourceDirection(), NL3D::CBezierPatch::make(), NL3D::CZoneTgtSmoother::makeVerticesCoplanar(), NL3D::CCameraCol::minimizeDistanceAgainstTri(), NLMISC::CVector::normalize(), NLMISC::CPlane::normalize(), NL3D::CPSZoneRectangle::performMotion(), NL3D::CPSZoneCylinder::performMotion(), NL3D::CPSZoneDisc::performMotion(), NL3D::CPSZoneSphere::performMotion(), NL3D::CPSZonePlane::performMotion(), NL3D::CVegetableManager::render(), NL3D::CMeshVPWindTree::setupPerMesh(), NL3D::CTessFacePriorityList::shift(), NL3D::CZoneSmoother::smoothTangent(), NL3D::CMiniCol::testMove(), NL3D::CClipTrav::traverse(), NL3D::CParticleSystem::updateLODRatio(), and NL3D::CTessFace::updateRefineSplit(). +

+

00116 {
+00117         return (float)sqrt(x*x + y*y + z*z);
+00118 }
+
+

+ + + + +
+ + + + + + + + + +
void NLMISC::CVector::normalize  )  [inline, inherited]
+
+ + + + + +
+   + + +

+Normalize the vector. +

+ +

+Definition at line 119 of file vector_inline.h. +

+References NLMISC::CVector::norm(). +

+Referenced by NL3D::CVegetableManager::addInstance(), NL3D::CLodCharacterManager::addRenderCharacterKey(), NL3D::CRenderTrav::beginVPLightSetup(), NL3D::CMRMSewingMesh::build(), NL3D::CPSUtil::buildSchmidtBasis(), NL3D::BuildTangentSpace(), NL3D::CZoneLighter::buildZoneInformation(), NL3D::CCloud::calcBill(), NL3D::CLodCharacterShapeBuild::compile(), NLMISC::CTriangle::computeGradient(), NL3D::CShadowMapManager::computeShadowDirection(), NL3D::CInstanceLighter::computeSunContribution(), NL3D::CPatch::computeTileLightmapPixelAutomatic(), NL3D::CRenderTrav::CRenderTrav(), NL3D::CTextureEmboss::CTextureEmboss(), NL3D::CMaterial::decompUserTexMat(), NL3D::CPSUtil::displaySphere(), NL3D::CTextureEmboss::doGenerate(), NL3D::CPSRadialEmitter::emit(), NL3D::CPSSphericalEmitter::emit(), NL3D::CPSEmitterConic::emit(), NL3D::CBezierPatch::evalNormal(), NL3D::CSkeletonModel::generateShadowMap(), NL3D::CMeshInstance::generateShadowMap(), NL3D::CPatch::generateTileVegetable(), NL3D::CMRMBuilder::getDeltaFaceNormals(), NL3D::CEvent3dMouseListener::getViewMatrix(), H_AUTO_DECL(), NL3D::ITransformable::lookAt(), NL3D::CBezierPatch::make(), NL3D::NEL3DCalcBase(), NLMISC::CMatrix::normalize(), NLMISC::CVector::normed(), NL3D::CEvent3dMouseListener::operator()(), NL3D::CHeatHaze::performHeatHaze(), NL3D::CPSZoneCylinder::performMotion(), NL3D::CZoneLighter::processZonePointLightRT(), NL3D::CSkeletonModel::renderCLod(), NL3D::CRenderTrav::resetLightSetup(), NL3D::CVegetableManager::setDirectionalLight(), NL3D::CScene::setGlobalWindDirection(), NL3D::CRenderTrav::setSunDirection(), NLMISC::CBSphere::setUnion(), NL3D::CLandscape::setupAutomaticLightDir(), NL3D::CPointLight::setupSpotDirection(), NL3D::CVegetableManager::setWind(), NL3D::CZoneSmoother::smoothTangent(), NL3D::CVisualCollisionEntity::snapToGround(), NL3D::CMiniCol::testMove(), and NL3D::CVegetableManager::updateInstanceLighting(). +

+

00120 {
+00121         float   n=norm();
+00122         if(n)
+00123                 *this/=n;
+00124 }
+
+

+ + + + +
+ + + + + + + + + +
CVector NLMISC::CVector::normed  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Return the vector normalized. +

+ +

+Definition at line 125 of file vector_inline.h. +

+References NLMISC::CVector::normalize(). +

+Referenced by NL3D::CCameraCol::build(), NL3D::BuildCubeMapTex(), NL3D::BuildCubeMapTexLuminance(), NL3D::CShadowMap::buildProjectionInfos(), NLMISC::CVector::cartesianToSpheric(), NL3D::CPSFaceLookAtHelper::computeOrientationVectors(), NL3D::CVegetableManager::CVegetableManager(), NL3D::CBezierPatch::evalTangentS(), NL3D::CBezierPatch::evalTangentT(), NL3D::CTargetAnimCtrl::execute(), NLMISC::CQuatT< float >::getAxis(), NLSOUND::CClusteredSound::interpolateSourceDirection(), NLMISC::CPlane::make(), NL3D::CVegetableManager::render(), and NLSOUND::CClusteredSound::soundTraverse(). +

+

00126 {
+00127         CVector ret;
+00128         ret= *this;
+00129         ret.normalize();
+00130         return ret;
+00131 }
+
+

+ + + + +
+ + + + + + + + + + +
float NLMISC::CVector::operator * const CVector v  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Dot product. +

+ +

+Definition at line 97 of file vector_inline.h. +

+References v, x, y, and z. +

+

00098 {
+00099         return x*v.x + y*v.y + z*v.z;
+00100 }
+
+

+ + + + +
+ + + + + + + + + + +
CVector NLMISC::CVector::operator * float  f  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 75 of file vector_inline.h. +

+References x, y, and z. +

+

00076 {
+00077         CVector ret(x*f, y*f, z*f);
+00078         return ret;
+00079 }
+
+

+ + + + +
+ + + + + + + + + + +
CVector & NLMISC::CVector::operator *= float  f  )  [inline, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 54 of file vector_inline.h. +

+References x, y, and z. +

+

00055 {
+00056         x*=f;
+00057         y*=f;
+00058         z*=f;
+00059         return *this;
+00060 }
+
+

+ + + + +
+ + + + + + + + + + +
bool NLMISC::CVector::operator!= const CVector v  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Get the sphreic coordinates of the vector. See sphericToCartesian() to know coordinates conventions.

See also:
sphericToCartesian()
+ +

+Definition at line 144 of file vector_inline.h. +

+References v. +

+

00145 {
+00146         return !(*this==v);
+00147 }
+
+

+ + + + +
+ + + + + + + + + + +
CVector NLMISC::CVector::operator+ const CVector v  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 65 of file vector_inline.h. +

+References v, x, y, and z. +

+

00066 {
+00067         CVector ret(x+v.x, y+v.y, z+v.z);
+00068         return ret;
+00069 }
+
+

+ + + + +
+ + + + + + + + + + +
CVector & NLMISC::CVector::operator+= const CVector v  )  [inline, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 40 of file vector_inline.h. +

+References v, x, y, and z. +

+

00041 {
+00042         x+=v.x;
+00043         y+=v.y;
+00044         z+=v.z;
+00045         return *this;
+00046 }
+
+

+ + + + +
+ + + + + + + + + +
CVector NLMISC::CVector::operator-  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 84 of file vector_inline.h. +

+References NLMISC::CVector::CVector(), x, y, and z. +

+

00085 {
+00086         return CVector(-x,-y,-z);
+00087 }
+
+

+ + + + +
+ + + + + + + + + + +
CVector NLMISC::CVector::operator- const CVector v  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 70 of file vector_inline.h. +

+References v, x, y, and z. +

+

00071 {
+00072         CVector ret(x-v.x, y-v.y, z-v.z);
+00073         return ret;
+00074 }
+
+

+ + + + +
+ + + + + + + + + + +
CVector & NLMISC::CVector::operator-= const CVector v  )  [inline, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 47 of file vector_inline.h. +

+References v, x, y, and z. +

+

00048 {
+00049         x-=v.x;
+00050         y-=v.y;
+00051         z-=v.z;
+00052         return *this;
+00053 }
+
+

+ + + + +
+ + + + + + + + + + +
CVector NLMISC::CVector::operator/ float  f  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 80 of file vector_inline.h. +

+

00081 {
+00082         return *this*(1.0f/f);
+00083 }
+
+

+ + + + +
+ + + + + + + + + + +
CVector & NLMISC::CVector::operator/= float  f  )  [inline, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 61 of file vector_inline.h. +

+

00062 {
+00063         return *this*= (1.0f/f);
+00064 }
+
+

+ + + + +
+ + + + + + + + + + +
bool NLMISC::CVector::operator< const CVector v  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+This operator is here just for map/set insertion (no meaning). comparison order is x,y,z. +

+ +

+Definition at line 152 of file vector_inline.h. +

+References v, x, y, and z. +

+

00153 {
+00154         if(x!=v.x)
+00155                 return x<v.x;
+00156         if(y!=v.y)
+00157                 return y<v.y;
+00158         return z<v.z;
+00159 }
+
+

+ + + + +
+ + + + + + + + + + +
bool NLMISC::CVector::operator== const CVector v  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Get the sphreic coordinates of the vector. See sphericToCartesian() to know coordinates conventions.

See also:
sphericToCartesian()
+ +

+Definition at line 140 of file vector_inline.h. +

+References v, x, y, and z. +

+

00141 {
+00142         return x==v.x && y==v.y && z==v.z;
+00143 }
+
+

+ + + + +
+ + + + + + + + + + +
CVector NLMISC::CVector::operator^ const CVector v  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Cross product. compute the cross product *this ^ v. +

+Definition at line 101 of file vector_inline.h. +

+References v, x, NLMISC::CVector::x, NLMISC::CVector::y, y, NLMISC::CVector::z, and z. +

+

00102 {
+00103         CVector ret;
+00104 
+00105         ret.x= y*v.z - z*v.y;
+00106         ret.y= z*v.x - x*v.z;
+00107         ret.z= x*v.y - y*v.x;
+00108 
+00109         return ret;
+00110 }
+
+

+ + + + +
+ + + + + + + + + + +
void NLMISC::CVector::serial IStream f  )  [inline, inherited]
+
+ + + + + +
+   + + +

+serial. +

+ +

+Definition at line 198 of file vector_inline.h. +

+References NLMISC::IStream::serial(), x, y, and z. +

+

00199 {
+00200         f.serial(x,y,z);
+00201 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void NLMISC::CVector::set float  _x,
float  _y,
float  _z
[inline, inherited]
+
+ + + + + +
+   + + +

+Get the sphreic coordinates of the vector. See sphericToCartesian() to know coordinates conventions.

See also:
sphericToCartesian()
+ +

+Definition at line 136 of file vector_inline.h. +

+References x, y, and z. +

+Referenced by NL3D::BuildHermiteVector(), NL3D::BuildLinearVector(), NL3D::CZoneLighter::buildZoneInformation(), NL3D::CCloud::calcBill(), NL3D::CEvent3dMouseListener::CEvent3dMouseListener(), NL3D::CZoneLighter::CLightDesc::CLightDesc(), NL3D::CInstanceLighter::CLightDesc::CLightDesc(), NLMISC::CAABBox::clipBack(), NLMISC::CAABBox::clipFront(), NL3D::CMeshBase::CMeshBaseBuild::CMeshBaseBuild(), NLMISC::CTriangle::computeGradient(), NL3D::CTessFace::computeTesselatedPos(), NLMISC::CVectorD::copyTo(), NL3D::CPointLight::CPointLight(), NL3D::CPointLightModel::CPointLightModel(), NL3D::CQuadTree< T >::CQuadTree(), NL3D::CRenderTrav::CRenderTrav(), NL3D::CScene::CScene(), NL3D::CTextureEmboss::CTextureEmboss(), NL3D::CVegetableManager::CVegetableManager(), NL3D::CDriverUser::drawBitmap(), NL3D::CDriverUser::drawQuad(), NL3D::CDriverUser::drawTriangle(), NL3D::CBezierPatch::eval(), NL3D::CBezierPatch::evalNormal(), NL3D::CBezierPatch::evalTangentS(), NL3D::CBezierPatch::evalTangentT(), NLSOUND::CSourceDSound::getDirection(), NLSOUND::CSourceAL::getDirection(), NLSOUND::CListenerDSound::getOrientation(), NLSOUND::CListenerAL::getOrientation(), NLMISC::CMatrix::getRot(), NL3D::CTessFace::getTesselatedPos(), NLSOUND::CSourceDSound::getVelocity(), NLSOUND::CSourceAL::getVelocity(), NLSOUND::CListenerDSound::getVelocity(), NLSOUND::CListenerAL::getVelocity(), NL3D::CZoneLighter::init(), NL3D::CPSBrownianForce::initPrecalc(), NL3D::CPSBrownianForce::integrate(), NLMISC::CPolygon2D::isConvex(), NL3D::CPSPlaneBasisFollowSpeed::make(), NL3D::CHeatHaze::performHeatHaze(), NL3D::CVegetableManager::render(), NL3D::CPointLight::serial(), NLPACS::ULocalPosition::setKeepZ(), and NLMISC::CAABBox::transformAABBox(). +

+

00137 {
+00138         x=_x; y=_y; z=_z;
+00139 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void NLMISC::CVector::sphericToCartesian float  r,
float  theta,
float  phi
[inline, inherited]
+
+ + + + + +
+   + + +

+Setup the vector with spheric coordinates. sphericToCartesian(1,0,0) build the I vector ((1,0,0)). the formula is:
+ x= r*cos(theta)*cos(phi)
+ y= r*sin(theta)*cos(phi)
+ z= r*sin(phi)
+

See also:
cartesianToSpheric()
+ +

+Definition at line 175 of file vector_inline.h. +

+References r, x, y, and z. +

+

00176 {
+00177         double  ct= cos(theta);
+00178         double  st= sin(theta);
+00179         double  cp= cos(phi);
+00180         double  sp= sin(phi);
+00181 
+00182         x= (float)(r*ct*cp);
+00183         y= (float)(r*st*cp);
+00184         z= (float)(r*sp);
+00185 }
+
+

+ + + + +
+ + + + + + + + + +
float NLMISC::CVector::sqrnorm  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Return the square of the norm of the vector. +

+ +

+Definition at line 111 of file vector_inline.h. +

+References x, y, and z. +

+Referenced by NLMISC::CBSphere::applyTransform(), NL3D::CTessFace::computeSplitPoint(), NLSOUND::CClusteredSound::getPolyNearestPos(), NLMISC::CBSphere::include(), NL3D::CCameraCol::minimizeDistanceAgainstTri(), NLMISC::CLine::project(), NL3D::CTessFace::updateErrorMetric(), NL3D::CTessFace::updateRefineSplit(), and NLSOUND::CSourceDSound::updateVolume(). +

+

00112 {
+00113         return (float)(x*x + y*y + z*z);
+00114 }
+
+

+ + + + +
+ + + + + + + + + +
string NLMISC::CVector::toString  )  const [inherited]
+
+ + + + + +
+   + + +

+Returns the contents as a printable string "x y z". +

+ +

+Definition at line 45 of file vector.cpp. +

+References NLMISC::toString(), x, y, and z. +

+Referenced by NLMISC::CVector::asString(). +

+

00046 {
+00047         string str;
+00048         str = NLMISC::toString(x) + " " + NLMISC::toString(y) + " " + NLMISC::toString(z);
+00049         return str;
+00050 }
+
+


Friends And Related Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
CVector operator * float  f,
const CVector v0
[friend, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 88 of file vector_inline.h. +

+

00089 {
+00090         CVector ret(v.x*f, v.y*f, v.z*f);
+00091         return ret;
+00092 }
+
+


Field Documentation

+

+ + + + +
+ + +
uint8 NL3D::CShadowPolyReceiver::CVectorId::Flags +
+
+ + + + + +
+   + + +

+ +

+Definition at line 89 of file shadow_poly_receiver.h.

+

+ + + + +
+ + +
const CVector NLMISC::CVector::I [static, inherited] +
+
+ + + + + +
+   + + +

+I vector (1,0,0). +

+

+

+ + + + +
+ + +
const CVector NLMISC::CVector::J [static, inherited] +
+
+ + + + + +
+   + + +

+J vector (0,1,0). +

+

+

+ + + + +
+ + +
const CVector NLMISC::CVector::K [static, inherited] +
+
+ + + + + +
+   + + +

+K vector (0,0,1). +

+

+

+ + + + +
+ + +
const CVector NLMISC::CVector::Null [static, inherited] +
+
+ + + + + +
+   + + +

+Null vector (0,0,0). +

+

+

+ + + + +
+ + +
uint8 NL3D::CShadowPolyReceiver::CVectorId::RefCount +
+
+ + + + + +
+   + + +

+ +

+Definition at line 88 of file shadow_poly_receiver.h.

+

+ + + + +
+ + +
sint16 NL3D::CShadowPolyReceiver::CVectorId::VBIdx +
+
+ + + + + +
+   + + +

+ +

+Definition at line 90 of file shadow_poly_receiver.h.

+

+ + + + +
+ + +
float NLMISC::CVector::x [inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 51 of file vector.h. +

+Referenced by NL3D::CVisualCollisionManager::CStaticGrid::add(), NL3D::CLodCharacterShape::addAnim(), NLSOUND::CBackgroundSoundManager::addFxZone(), NL3D::CVegetableManager::addInstance(), NL3D::CLodCharacterManager::addRenderCharacterKey(), NLSOUND::CBackgroundSoundManager::addSampleBank(), NLSOUND::CBackgroundSoundManager::addSound(), NLPACS::CSurfaceQuadTree::addVertex(), NL3D::CZone::applyHeightField(), NL3D::CZoneLighter::attenuation(), NL3D::CStaticQuadGrid< T >::build(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::build(), NL3D::CLandscapeCollisionGrid::build(), NLPACS::CEdgeQuad::build(), NLPACS::CChainQuad::build(), NL3D::CMRMBuilder::buildBlendShapes(), NL3D::CShadowMap::buildCasterCameraMatrix(), NL3D::BuildHermiteVector(), NL3D::BuildLinearVector(), NL3D::BuildSlice(), NL3D::CCloud::calcBill(), NL3D::CDriverGL::cleanLightSetup(), NLMISC::CAABBox::clipBack(), NLMISC::CAABBox::clipFront(), NL3D::CLodCharacterShapeBuild::compile(), NL3D::CBone::compute(), NL3D::CZone::computeBBScaleBias(), NLMISC::CTriangle::computeGradient(), NLPACS::CLocalRetriever::computeLoopsAndTips(), NLPACS::computeRetriever(), NL3D::ComputeRibbonSlice(), NLPACS::computeSurfaceQuadTree(), NL3D::CTessFace::computeTesselatedPos(), NL3D::CZoneLighter::computeTileFlagsForPositionTowardWater(), NL3D::CSkeletonModel::computeWorldBBoxForShadow(), NLMISC::CPolygon2D::CPolygon2D(), NLMISC::CRandomGrid3D::CRandomGrid3D(), NL3D::CVisualCollisionManager::CStaticGrid::create(), NL3D::CMaterial::decompUserTexMat(), NL3D::CCloud::dispBill(), NL3D::CPSUtil::displayBBox(), NL3D::CPSUtil::displayCylinder(), NL3D::CPSLocatedBindable::displayIcon2d(), NL3D::CCloud::dispXYZ(), NL3D::CVisualCollisionEntity::doComputeLandscape(), NL3D::CTextureEmboss::doGenerate(), NLPACS::CGlobalRetriever::doMove(), NL3D::CWaterModel::doSimpleRender(), NL3D::CPSFaceHelper::drawFaces(), NL3D::CPSFaceLookAtHelper::drawLookAt(), NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion(), NL3D::DrawPoly2D(), NLPACS::CLocalRetriever::dumpSurface(), NL3D::CPSEmitterRectangle::emit(), NLMISC::CRandomGrid3D::evalBiLinear(), NLMISC::CRandomGrid3D::evalNearest(), NLPACS::CGlobalRetriever::findCollisionChains(), NLPACS::CLocalRetriever::findPath(), NL3D::CCloud::genBill(), NL3D::CVegetable::generateGroupEx(), NL3D::CVegetable::generateInstance(), NL3D::CSkeletonModel::generateShadowMap(), NL3D::CMeshInstance::generateShadowMap(), NL3D::CPatch::generateTileVegetable(), NLLIGO::CPrimZone::getAABox(), NLSOUND::CClusteredSound::getAABoxNearestPos(), NLPACS::CRetrieverInstance::getDoubleGlobalPosition(), NLPACS::CRetrieverInstance::getGlobalPosition(), NLPACS::CEdgeQuad::getGridBounds(), NLPACS::CChainQuad::getGridBounds(), NL3D::CMiniCol::getGroundNormal(), NLPACS::CLocalRetriever::getHeight(), NL3D::CLandscape::getHeightFieldDeltaZ(), NL3D::CPSUtil::getInterpolatedNoise(), NLPACS::CSurfaceQuadTree::getInterpZ(), NLPACS::CSurfaceQuadTree::getLeaf(), NLPACS::CRetrieverInstance::getLocalPosition(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::getNormal(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::getPos(), NL3D::CViewport::getRayWithPoint(), NL3D::CCloud::getSizeX(), NL3D::CZoneLighter::getSkyContribution(), NL3D::CSurfaceLightGrid::getStaticLightSetup(), NL3D::CTessFace::getTesselatedPos(), NL3D::CPatch::getTileLightMapUvInfo(), NL3D::CLandscape::getTileLightMapUvInfo(), NL3D::CPatch::getTileUvInfo(), NLSOUND::CListenerAL::getVelocity(), NL3D::CCloud::getX(), NL3D::CLandscapeUser::getZoneName(), H_AUTO_DECL(), NLMISC::CAABBox::include(), NL3D::CQuadTree< T >::CQuadNode::includeBoxQuad(), NL3D::CQuadGridClipClusterQTreeNode::init(), NL3D::CCloud::init(), NL3D::CTessFace::initTileUvLightmap(), NL3D::CTessFace::initTileUvRGBA(), InitZBuffer(), NL3D::CQuadTree< T >::insert(), NLPACS::CFaceGrid::CFaceGridBuild::insert(), NL3D::CQuadGridClipClusterQTreeNode::insertModel(), NLPACS::CLocalRetriever::insurePosition(), NL3D::CPSBrownianForce::integrate(), NL3D::CPSGravity::integrate(), NL3D::CPSLocated::integrateSingle(), NL3D::CPSBrownianForce::integrateSingle(), NL3D::CPSGravity::integrateSingle(), NLMISC::CAABBox::intersect(), NL3D::CQuadTree< T >::CQuadNode::intersectBox(), NL3D::CQuadTree< T >::CQuadNode::intersectBoxQuad(), NLPACS::isStrictlyGreater(), isStrictlyGreater(), NLPACS::isStrictlyLess(), isStrictlyLess(), NL3D::CZoneLighter::light(), NL3D::CInstanceLighter::light(), NL3D::CZoneLighter::lightWater(), NLPACS::CCollisionMeshBuild::link(), NL3D::CQuadGridClipManager::linkModel(), NL3D::CLandscapeUser::loadAllZonesAround(), NLPACS::CRetrieverInstance::make(), NL3D::CPSPlaneBasisFollowSpeed::make(), NL3D::CCloudScape::makeHalfCloud(), NL3D::MakeProj(), NL3D::CZoneLighter::makeQuadGridFromWaterShapes(), NLMISC::CVector::maxof(), NLMISC::CVector::minof(), NL3D::mulAdd(), NL3D::CMatrix3x4::mulAddPoint(), NL3D::CMatrix3x4::mulAddVector(), NLMISC::CMatrix::mulPoint(), NL3D::CMatrix3x4::mulSetPoint(), NL3D::CMatrix3x4::mulSetVector(), NLMISC::CMatrix::mulVector(), NLSOUND::NLMISC_COMMAND(), NLMISC::CMatrix::normalize(), NLMISC::CPlane::operator *(), NL3D::CEvent3dMouseListener::operator()(), NLMISC::CVector::operator^(), NL3D::CVector3s::pack(), NL3D::CPSBrownianForce::performDynamic(), NL3D::CPSGravity::performDynamic(), NL3D::CHeatHaze::performHeatHaze(), NL3D::CQuadGridClipManager::profile(), NL3D::CFrustum::project(), NL3D::CCubeGrid< TCell >::project(), NL3D::CFrustum::projectZ(), NL3D::PSBinOpModulate(), NLLIGO::ReadVector(), NL3D::CLandscapeUser::refreshAllZonesAround(), NL3D::CLandscapeUser::refreshZonesAround(), NL3D::CVegetableManager::render(), NL3D::CCloudScape::render(), NL3D::CComputedString::render2D(), NL3D::CComputedString::render2DClip(), NL3D::CComputedString::render2DUnProjected(), NL3D::CCloud::reset(), NLPACS::CLocalRetriever::retrieveAccuratePosition(), NLPACS::CLocalRetriever::retrievePosition(), NLPACS::CGlobalRetriever::retrievePosition(), NL3D::CVisualCollisionManager::CStaticGrid::select(), NL3D::CQuadTree< T >::select(), NL3D::CLandscapeCollisionGrid::select(), NLPACS::CFaceGrid::select(), NLPACS::CEdgeQuad::selectEdges(), NLPACS::CChainQuad::selectEdges(), NL3D::CStaticQuadGrid< const CTriangle * >::selectPoint(), NL3D::CTessFacePriorityList::selectQuadrant(), NLSOUND::CSourceDSound::setDirection(), NLSOUND::CSourceAL::setDirection(), NLPACS::ULocalPosition::setKeepZ(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::setNormal(), NLSOUND::CListenerDSound::setOrientation(), NLSOUND::CListenerAL::setOrientation(), NL3D::CZoneSymmetrisation::setOrientedTileState(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::setPos(), NLMISC::CMatrix::setRot(), NL3D::CCloud::setSizeX(), NL3D::CZoneSymmetrisation::setTileState(), NL3D::CWaterModel::setupMaterialNVertexShader(), NL3D::CVegetableManager::setupVertexProgramConstants(), NL3D::SetupWaterVertex(), NLSOUND::CSourceDSound::setVelocity(), NLSOUND::CSourceAL::setVelocity(), NLSOUND::CListenerDSound::setVelocity(), NLSOUND::CListenerAL::setVelocity(), NL3D::CCloud::setX(), NLMISC::CMatrix::slowInvert33(), NL3D::CMiniCol::snapToGround(), NL3D::CQuadTree< T >::CQuadNode::split(), NLMISC::CQuatT< T >::squadrev(), NLPACS::CGlobalRetriever::testBBoxMove(), NLPACS::CGlobalRetriever::testBBoxRot(), NLPACS::CGlobalRetriever::testCylinderMove(), NLPACS::CLocalRetriever::testPosition(), NLMISC::CPolygon::toConvexPolygonsLocalAndBSP(), NLMISC::CAABBox::transformAABBox(), NLPACS::IQuadNode::translate(), NL3D::CWaveMakerModel::traverseAnimDetail(), NL3D::CWaterModel::traverseRender(), NL3D::CFlareModel::traverseRender(), NL3D::CVisualCollisionEntity::triangleIntersect(), NL3D::CVisualCollisionEntity::triangleIntersect2DCeil(), NL3D::CVisualCollisionEntity::triangleIntersect2DGround(), NL3D::CVector3s::unpack(), NL3D::CFrustum::unProject(), NL3D::CFrustum::unProjectZ(), NLSOUND::CClusteredSound::update(), NLSOUND::CBackgroundSoundManager::updateBackgroundStatus(), NL3D::CQuadGridClipManager::updateClustersFromCamera(), NL3D::CWaterModel::updateDiffuseMapMatrix(), NLMISC::CAABBoxExt::updateRadius(), NL3D::CSpinnerFunctor::updateSamples(), and NLLIGO::WriteVector().

+

+ + + + +
+ + +
float NLMISC::CVector::y [inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 51 of file vector.h. +

+Referenced by NL3D::CVisualCollisionManager::CStaticGrid::add(), NL3D::CLodCharacterShape::addAnim(), NLSOUND::CBackgroundSoundManager::addFxZone(), NL3D::CVegetableManager::addInstance(), NL3D::CLodCharacterManager::addRenderCharacterKey(), NLSOUND::CBackgroundSoundManager::addSampleBank(), NLSOUND::CBackgroundSoundManager::addSound(), NLPACS::CSurfaceQuadTree::addVertex(), NL3D::CZone::applyHeightField(), NL3D::CZoneLighter::attenuation(), NL3D::CStaticQuadGrid< T >::build(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::build(), NL3D::CLandscapeCollisionGrid::build(), NLPACS::CEdgeQuad::build(), NLPACS::CChainQuad::build(), NL3D::CMRMBuilder::buildBlendShapes(), NL3D::CShadowMap::buildCasterCameraMatrix(), NL3D::BuildHermiteVector(), NL3D::BuildLinearVector(), NL3D::BuildSlice(), NL3D::CCloud::calcBill(), NL3D::CDriverGL::cleanLightSetup(), NLMISC::CAABBox::clipBack(), NLMISC::CAABBox::clipFront(), NL3D::CLodCharacterShapeBuild::compile(), NL3D::CBone::compute(), NL3D::CZone::computeBBScaleBias(), NLMISC::CTriangle::computeGradient(), NLPACS::CLocalRetriever::computeLoopsAndTips(), NLPACS::computeRetriever(), NL3D::ComputeRibbonSlice(), NLPACS::computeSurfaceQuadTree(), NL3D::CTessFace::computeTesselatedPos(), NL3D::CZoneLighter::computeTileFlagsForPositionTowardWater(), NL3D::CSkeletonModel::computeWorldBBoxForShadow(), NLMISC::CPolygon2D::CPolygon2D(), NLMISC::CRandomGrid3D::CRandomGrid3D(), NL3D::CVisualCollisionManager::CStaticGrid::create(), NL3D::CMaterial::decompUserTexMat(), NL3D::CCloud::dispBill(), NL3D::CPSUtil::displayBBox(), NL3D::CPSUtil::displayCylinder(), NL3D::CInstanceGroup::displayDebugClusters(), NL3D::CPSLocatedBindable::displayIcon2d(), NL3D::CCloud::dispXYZ(), NL3D::CVisualCollisionEntity::doComputeLandscape(), NL3D::CDeform2d::doDeform(), NL3D::CTextureEmboss::doGenerate(), NLPACS::CGlobalRetriever::doMove(), NL3D::CWaterModel::doSimpleRender(), NL3D::CPSFaceHelper::drawFaces(), NL3D::CPSFaceLookAtHelper::drawLookAt(), NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion(), NL3D::DrawPoly2D(), NLPACS::CLocalRetriever::dumpSurface(), NL3D::CPSEmitterRectangle::emit(), NLMISC::CRandomGrid3D::evalBiLinear(), NLMISC::CRandomGrid3D::evalNearest(), NLPACS::CGlobalRetriever::findCollisionChains(), NLPACS::CLocalRetriever::findPath(), NL3D::CCloud::genBill(), NL3D::CVegetable::generateGroupEx(), NL3D::CVegetable::generateInstance(), NL3D::CSkeletonModel::generateShadowMap(), NL3D::CMeshInstance::generateShadowMap(), NL3D::CPatch::generateTileVegetable(), NLLIGO::CPrimZone::getAABox(), NLSOUND::CClusteredSound::getAABoxNearestPos(), NLPACS::CRetrieverInstance::getDoubleGlobalPosition(), NLPACS::CRetrieverInstance::getGlobalPosition(), NLPACS::CEdgeQuad::getGridBounds(), NLPACS::CChainQuad::getGridBounds(), NL3D::CMiniCol::getGroundNormal(), NLPACS::CLocalRetriever::getHeight(), NL3D::CLandscape::getHeightFieldDeltaZ(), NL3D::CPSUtil::getInterpolatedNoise(), NLPACS::CSurfaceQuadTree::getInterpZ(), NLPACS::CSurfaceQuadTree::getLeaf(), NLPACS::CRetrieverInstance::getLocalPosition(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::getNormal(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::getPos(), NL3D::CViewport::getRayWithPoint(), NL3D::CCloud::getSizeY(), NL3D::CZoneLighter::getSkyContribution(), NL3D::CSurfaceLightGrid::getStaticLightSetup(), NL3D::CTessFace::getTesselatedPos(), NL3D::CPatch::getTileLightMapUvInfo(), NL3D::CLandscape::getTileLightMapUvInfo(), NL3D::CPatch::getTileUvInfo(), NLSOUND::CListenerAL::getVelocity(), NL3D::CCloud::getY(), NL3D::CLandscapeUser::getZoneName(), H_AUTO_DECL(), NLMISC::CAABBox::include(), NL3D::CQuadGridClipClusterQTreeNode::init(), NL3D::CCloud::init(), NL3D::CTessFace::initTileUvLightmap(), NL3D::CTessFace::initTileUvRGBA(), InitZBuffer(), NL3D::CQuadTree< T >::insert(), NL3D::CQuadTree< T >::CQuadNode::insert(), NLPACS::CFaceGrid::CFaceGridBuild::insert(), NL3D::CQuadGridClipClusterQTreeNode::insertModel(), NLPACS::CLocalRetriever::insurePosition(), NL3D::CPSBrownianForce::integrate(), NL3D::CPSGravity::integrate(), NL3D::CPSLocated::integrateSingle(), NL3D::CPSBrownianForce::integrateSingle(), NL3D::CPSGravity::integrateSingle(), NLMISC::CAABBox::intersect(), NL3D::CQuadTree< T >::CQuadNode::intersectBox(), NLPACS::isStrictlyGreater(), isStrictlyGreater(), NLPACS::isStrictlyLess(), isStrictlyLess(), NL3D::CZoneLighter::light(), NL3D::CInstanceLighter::light(), NL3D::CZoneLighter::lightWater(), NLPACS::CCollisionMeshBuild::link(), NL3D::CQuadGridClipManager::linkModel(), NL3D::CLandscapeUser::loadAllZonesAround(), NLPACS::CRetrieverInstance::make(), NL3D::CPSPlaneBasisFollowSpeed::make(), NL3D::CCloudScape::makeHalfCloud(), NL3D::MakeProj(), NL3D::CZoneLighter::makeQuadGridFromWaterShapes(), NLMISC::CVector::maxof(), NLMISC::CVector::minof(), NL3D::mulAdd(), NL3D::CMatrix3x4::mulAddPoint(), NL3D::CMatrix3x4::mulAddVector(), NLMISC::CMatrix::mulPoint(), NL3D::CMatrix3x4::mulSetPoint(), NL3D::CMatrix3x4::mulSetVector(), NLMISC::CMatrix::mulVector(), NLSOUND::NLMISC_COMMAND(), NLMISC::CMatrix::normalize(), NLMISC::CPlane::operator *(), NL3D::CEvent3dMouseListener::operator()(), NLMISC::CVector::operator^(), NL3D::CVector3s::pack(), NL3D::CPSBrownianForce::performDynamic(), NL3D::CPSGravity::performDynamic(), NL3D::CQuadGridClipManager::profile(), NL3D::CFrustum::project(), NL3D::CCubeGrid< TCell >::project(), NL3D::CFrustum::projectZ(), NL3D::PSBinOpModulate(), NLLIGO::ReadVector(), NL3D::CLandscapeUser::refreshAllZonesAround(), NL3D::CLandscapeUser::refreshZonesAround(), NL3D::CVegetableManager::render(), NL3D::CCloudScape::render(), NL3D::CComputedString::render2DUnProjected(), NL3D::CCloud::reset(), NLPACS::CLocalRetriever::retrieveAccuratePosition(), NLPACS::CLocalRetriever::retrievePosition(), NLPACS::CGlobalRetriever::retrievePosition(), NL3D::CVisualCollisionManager::CStaticGrid::select(), NL3D::CQuadTree< T >::select(), NL3D::CLandscapeCollisionGrid::select(), NLPACS::CFaceGrid::select(), NLPACS::CEdgeQuad::selectEdges(), NLPACS::CChainQuad::selectEdges(), NL3D::CStaticQuadGrid< const CTriangle * >::selectPoint(), NL3D::CTessFacePriorityList::selectQuadrant(), NLSOUND::CSourceDSound::setDirection(), NLSOUND::CSourceAL::setDirection(), NLPACS::ULocalPosition::setKeepZ(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::setNormal(), NLSOUND::CListenerDSound::setOrientation(), NLSOUND::CListenerAL::setOrientation(), NL3D::CZoneSymmetrisation::setOrientedTileState(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::setPos(), NLMISC::CMatrix::setRot(), NL3D::CCloud::setSizeY(), NL3D::CZoneSymmetrisation::setTileState(), NL3D::CWaterModel::setupMaterialNVertexShader(), NL3D::CVegetableManager::setupVertexProgramConstants(), NL3D::SetupWaterVertex(), NLSOUND::CSourceDSound::setVelocity(), NLSOUND::CSourceAL::setVelocity(), NLSOUND::CListenerDSound::setVelocity(), NLSOUND::CListenerAL::setVelocity(), NL3D::CCloud::setY(), NLMISC::CMatrix::slowInvert33(), NL3D::CMiniCol::snapToGround(), NLMISC::CQuatT< T >::squadrev(), NLPACS::CGlobalRetriever::testBBoxMove(), NLPACS::CGlobalRetriever::testBBoxRot(), NLPACS::CGlobalRetriever::testCylinderMove(), NLPACS::CLocalRetriever::testPosition(), NLMISC::CPolygon::toConvexPolygonsLocalAndBSP(), NLMISC::CAABBox::transformAABBox(), NLPACS::IQuadNode::translate(), NL3D::CWaveMakerModel::traverseAnimDetail(), NL3D::CWaterModel::traverseRender(), NL3D::CFlareModel::traverseRender(), NL3D::CVisualCollisionEntity::triangleIntersect(), NL3D::CVisualCollisionEntity::triangleIntersect2DCeil(), NL3D::CVisualCollisionEntity::triangleIntersect2DGround(), NL3D::CVector3s::unpack(), NL3D::CFrustum::unProject(), NL3D::CFrustum::unProjectZ(), NLSOUND::CClusteredSound::update(), NLSOUND::CBackgroundSoundManager::updateBackgroundStatus(), NL3D::CQuadGridClipManager::updateClustersFromCamera(), NL3D::CWaterModel::updateDiffuseMapMatrix(), NLMISC::CAABBoxExt::updateRadius(), NL3D::CSpinnerFunctor::updateSamples(), and NLLIGO::WriteVector().

+

+ + + + +
+ + +
float NLMISC::CVector::z [inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 51 of file vector.h. +

+Referenced by NL3D::CLodCharacterShape::addAnim(), NL3D::CVegetableManager::addInstance(), NL3D::CLodCharacterManager::addRenderCharacterKey(), NL3D::CZoneLighter::attenuation(), NL3D::CStaticQuadGrid< T >::build(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::build(), NL3D::CMRMBuilder::buildBlendShapes(), NL3D::CShadowMap::buildCasterCameraMatrix(), NL3D::BuildHermiteVector(), NL3D::BuildLinearVector(), NL3D::BuildSlice(), NL3D::CCloud::calcBill(), NL3D::CDriverGL::cleanLightSetup(), NLMISC::CAABBox::clipBack(), NLMISC::CAABBox::clipFront(), NL3D::CLodCharacterShapeBuild::compile(), NL3D::CBone::compute(), NL3D::CZone::computeBBScaleBias(), NLMISC::CTriangle::computeGradient(), NLPACS::CLocalRetriever::computeLoopsAndTips(), NLPACS::computeRetriever(), NL3D::ComputeRibbonSlice(), NL3D::CTessFace::computeTesselatedPos(), NL3D::CZoneLighter::computeTileFlagsForPositionTowardWater(), NL3D::ComputeUpMatrix(), NL3D::CSkeletonModel::computeWorldBBoxForShadow(), NLMISC::CRandomGrid3D::CRandomGrid3D(), NL3D::CInstanceLighter::dilateLightingOnSurfaceCells(), NL3D::CCloud::dispBill(), NL3D::CPSUtil::displayBBox(), NL3D::CPSUtil::displayCylinder(), NL3D::CCloud::dispXYZ(), NL3D::CVisualCollisionEntity::doComputeLandscape(), NL3D::CTextureEmboss::doGenerate(), NLPACS::CGlobalRetriever::doMove(), NL3D::CWaterModel::doSimpleRender(), NL3D::CPSFaceHelper::drawFaces(), NL3D::CPSFaceLookAtHelper::drawLookAt(), NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion(), NL3D::DrawPoly2D(), NLPACS::CLocalRetriever::dumpSurface(), NL3D::CPSEmitterRectangle::emit(), NLMISC::CRandomGrid3D::evalBiLinear(), NLMISC::CRandomGrid3D::evalNearest(), NL3D::CCloud::genBill(), NL3D::CVegetable::generateGroupEx(), NL3D::CVegetable::generateInstance(), NL3D::CSkeletonModel::generateShadowMap(), NL3D::CMeshInstance::generateShadowMap(), NLSOUND::CClusteredSound::getAABoxNearestPos(), NLPACS::CGlobalRetriever::getBorders(), NLPACS::CRetrieverInstance::getDoubleGlobalPosition(), NLPACS::CRetrieverInstance::getGlobalPosition(), NL3D::CMiniCol::getGroundNormal(), NL3D::CWaterModel::getHeight(), NLPACS::CLocalRetriever::getHeight(), NL3D::CLandscape::getHeightFieldDeltaZ(), NL3D::CPSUtil::getInterpolatedNoise(), NLPACS::CRetrieverInstance::getLocalPosition(), NLPACS::CGlobalRetriever::getMeanHeight(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::getNormal(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::getPos(), NL3D::CViewport::getRayWithPoint(), NL3D::CCloud::getSizeZ(), NL3D::CZoneLighter::getSkyContribution(), NL3D::CPatch::getTileLightMapUvInfo(), NL3D::CLandscape::getTileLightMapUvInfo(), NL3D::CPatch::getTileUvInfo(), NLSOUND::CListenerAL::getVelocity(), NL3D::CCloud::getZ(), H_AUTO_DECL(), NLMISC::CAABBox::include(), NL3D::CQuadTree< T >::CQuadNode::includeBoxQuad(), NL3D::CCloud::init(), NL3D::CTessFace::initTileUvLightmap(), NL3D::CTessFace::initTileUvRGBA(), InitZBuffer(), NL3D::CQuadTree< T >::insert(), NL3D::CPSBrownianForce::integrate(), NL3D::CPSGravity::integrate(), NL3D::CPSLocated::integrateSingle(), NL3D::CPSBrownianForce::integrateSingle(), NL3D::CPSGravity::integrateSingle(), NLMISC::CAABBox::intersect(), NL3D::CQuadTree< T >::CQuadNode::intersectBox(), NL3D::CQuadTree< T >::CQuadNode::intersectBoxQuad(), NLPACS::isStrictlyGreater(), isStrictlyGreater(), NLPACS::isStrictlyLess(), isStrictlyLess(), NL3D::CZoneLighter::light(), NL3D::CInstanceLighter::light(), NLPACS::CCollisionMeshBuild::link(), NL3D::CQuadGridClipManager::linkModel(), NL3D::CPSPlaneBasisFollowSpeed::make(), NL3D::CCloudScape::makeHalfCloud(), NLPACS::CGlobalRetriever::makeInstance(), NL3D::MakeProj(), NLMISC::CVector::maxof(), NLMISC::CVector::minof(), NL3D::mulAdd(), NL3D::CMatrix3x4::mulAddPoint(), NL3D::CMatrix3x4::mulAddVector(), NLMISC::CMatrix::mulPoint(), NL3D::CMatrix3x4::mulSetPoint(), NL3D::CMatrix3x4::mulSetVector(), NLMISC::CMatrix::mulVector(), NLSOUND::NLMISC_COMMAND(), NLMISC::CMatrix::normalize(), NLMISC::CPlane::operator *(), NL3D::CEvent3dMouseListener::operator()(), NLMISC::CVector::operator^(), NL3D::CVector3s::pack(), NL3D::CPSGravity::performDynamic(), NL3D::CHeatHaze::performHeatHaze(), NL3D::CFrustum::project(), NL3D::CCubeGrid< TCell >::project(), NL3D::CFrustum::projectZ(), NL3D::PSBinOpModulate(), NLLIGO::ReadVector(), NL3D::CCloudScape::render(), NL3D::CComputedString::render2D(), NL3D::CComputedString::render2DClip(), NL3D::CComputedString::render2DUnProjected(), NL3D::CCloud::reset(), NLPACS::CRetrieverInstance::retrievePosition(), NL3D::CQuadTree< T >::select(), NL3D::CMiniCol::setCenter(), NLSOUND::CSourceDSound::setDirection(), NLSOUND::CSourceAL::setDirection(), NLPACS::CPrimitiveWorldImage::CPosition::setGlobalPos(), NL3D::CScene::setGlobalWindDirection(), NLPACS::ULocalPosition::setKeepZ(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::setNormal(), NLSOUND::CListenerDSound::setOrientation(), NLSOUND::CListenerAL::setOrientation(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::setPos(), NLMISC::CMatrix::setRot(), NL3D::CCloud::setSizeZ(), NL3D::CWaterModel::setupMaterialNVertexShader(), NL3D::CMeshVPWindTree::setupPerMesh(), NL3D::CVegetableManager::setupVertexProgramConstants(), NLSOUND::CSourceDSound::setVelocity(), NLSOUND::CSourceAL::setVelocity(), NLSOUND::CListenerDSound::setVelocity(), NLSOUND::CListenerAL::setVelocity(), NL3D::CVegetableManager::setWind(), NL3D::CCloud::setZ(), NLMISC::CMatrix::slowInvert33(), NLPACS::CRetrieverInstance::snap(), NL3D::CMiniCol::snapToGround(), NLPACS::CLocalRetriever::snapToInteriorGround(), NL3D::CVisualCollisionEntity::snapToLandscapeCurrentTesselation(), NL3D::CQuadTree< T >::CQuadNode::split(), NLMISC::CQuatT< T >::squadrev(), NLPACS::CGlobalRetriever::testCollisionWithCollisionChains(), NLPACS::CGlobalRetriever::testMovementWithCollisionChains(), NLMISC::CAABBox::transformAABBox(), NLPACS::IQuadNode::translate(), NL3D::CWaterModel::traverseRender(), NL3D::CFlareModel::traverseRender(), NL3D::CVisualCollisionEntity::triangleIntersect(), NL3D::CVector3s::unpack(), NL3D::CFrustum::unProject(), NL3D::CFrustum::unProjectZ(), NLSOUND::CClusteredSound::update(), NLSOUND::CBackgroundSoundManager::updateBackgroundStatus(), NLPACS::CGlobalRetriever::updateHeight(), NLMISC::CAABBoxExt::updateRadius(), NL3D::CSpinnerFunctor::updateSamples(), and NLLIGO::WriteVector().

+


The documentation for this class was generated from the following file: +
Generated on Tue Mar 16 07:43:43 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1