AaronCameron.net
I can't believe how tired I am.
Not a Member? - Login or Create an Account...MC Offline
Thursday the 23rd of May 2013 @ 02:01am
Front Page Journal Projects Your Profile About
[]

LibN2L-4 Library Code Reference

Classes
Compounds
Files
Members
Method Index
Full Reference

n2l::cVector2< TComponent, TComponentDiff, TMagnitude > Class Template Reference

A template based implementation of a 2 dimentional vector containing any kind of components which support the basic mathmatical operators. More...

#include <cVector2.h>

List of all members.

Public Types

Public Member Functions

Friends


Detailed Description

template<class TComponent, class TComponentDiff, class TMagnitude>
class n2l::cVector2< TComponent, TComponentDiff, TMagnitude >

A template based implementation of a 2 dimentional vector containing any kind of components which support the basic mathmatical operators.

Definition at line 43 of file cVector2.h.


Member Typedef Documentation

template<class TComponent, class TComponentDiff, class TMagnitude>
typedef TComponent n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::tComponent
 

Definition at line 47 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
typedef TComponentDiff n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::tComponentDiff
 

Definition at line 48 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
typedef TMagnitude n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::tMagnitude
 

Definition at line 49 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
typedef cVector2<TComponent,TComponentDiff,TMagnitude> n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::tThisVector
 

Definition at line 46 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
typedef cVector2<TComponentDiff,TComponentDiff,TMagnitude> n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::tVectorDiff
 

Definition at line 51 of file cVector2.h.


Constructor & Destructor Documentation

template<class TComponent, class TComponentDiff, class TMagnitude>
n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::cVector2  )  [inline]
 

Definition at line 57 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::cVector2 const tThisVector iV  )  [inline]
 

Definition at line 64 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::cVector2 const tComponent  iX,
const tComponent  iY
[inline]
 

Definition at line 71 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
template<typename TOtherVector>
n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::cVector2 const TOtherVector &  iV  )  [inline]
 

Definition at line 80 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::~cVector2  )  [inline]
 

Definition at line 87 of file cVector2.h.


Member Function Documentation

template<class TComponent, class TComponentDiff, class TMagnitude>
const tString n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::dump  )  const [inline]
 

Definition at line 237 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
void n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::get tComponent o_x,
tComponent o_y
const [inline]
 

Definition at line 124 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
const tComponent n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::getX  )  const [inline]
 

Definition at line 114 of file cVector2.h.

Referenced by n2l::cSurfaceProperties::asString().

template<class TComponent, class TComponentDiff, class TMagnitude>
const tComponent n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::getY  )  const [inline]
 

Definition at line 115 of file cVector2.h.

Referenced by n2l::cSurfaceProperties::asString().

template<class TComponent, class TComponentDiff, class TMagnitude>
void n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::glTexCoord2f  )  const [inline]
 

Definition at line 260 of file cVector2.h.

Referenced by n2l::cRWavefrontModel::render(), and n2l::cRVisualTriMesh::render().

template<class TComponent, class TComponentDiff, class TMagnitude>
void n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::glTranslatef  )  const [inline]
 

Definition at line 266 of file cVector2.h.

Referenced by n2l::cVector2< tFloat, tFloat, tFloat >::glTranslatef().

template<class TComponent, class TComponentDiff, class TMagnitude>
void n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::glVertex2f  )  const [inline]
 

Definition at line 248 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
void n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::glVertex3f  )  const [inline]
 

Definition at line 254 of file cVector2.h.

Referenced by n2l::cVector2< tFloat, tFloat, tFloat >::glVertex3f().

template<class TComponent, class TComponentDiff, class TMagnitude>
const tMagnitude n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::magnitude  )  const [inline]
 

Definition at line 178 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
const tMagnitude n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::maxComp  )  const [inline]
 

Definition at line 184 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
const tThisVector n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator * const tThisVector iV  )  const [inline]
 

Definition at line 166 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
const tThisVector n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator * const tMagnitude  i_mag  )  const [inline]
 

Definition at line 144 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
template<typename TOtherVector>
void n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator *= const TOtherVector &  iOtherVector  )  [inline]
 

Definition at line 215 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
void n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator *= const tMagnitude  i_mag  )  [inline]
 

Definition at line 151 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator tVectorDiff  )  const [inline]
 

Definition at line 190 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
template<typename TOtherVector>
const tBool n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator!= const TOtherVector &  iOtherVector  )  [inline]
 

Definition at line 231 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
const tVectorDiff n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator+ const tThisVector i_v  )  const [inline]
 

Definition at line 130 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
template<typename TOtherVector>
void n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator+= const TOtherVector &  iOtherVector  )  [inline]
 

Definition at line 206 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
const tVectorDiff n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator- const tThisVector i_v  )  const [inline]
 

Definition at line 137 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
template<typename TOtherVector>
void n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator-= const TOtherVector &  iOtherVector  )  [inline]
 

Definition at line 197 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
const tThisVector n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator/ const tThisVector iV  )  const [inline]
 

Definition at line 172 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
const tThisVector n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator/ const tMagnitude  i_mag  )  const [inline]
 

Definition at line 159 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
tThisVector& n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator= const tThisVector iV  )  [inline]
 

Definition at line 99 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
template<typename TOtherVector>
const tBool n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::operator== const TOtherVector &  iOtherVector  )  [inline]
 

Definition at line 223 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
void n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::set const tComponent  i_x,
const tComponent  i_y
[inline]
 

Definition at line 107 of file cVector2.h.

Referenced by n2l::cGuiSButtonSelectBox::clearButtons(), n2l::cGuiButtonSelectBox::clearButtons(), n2l::cRWavefrontModel::load(), and n2l::cEventManager::mouseSystemToLocal().

template<class TComponent, class TComponentDiff, class TMagnitude>
tThisVector& n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::setX const tComponent  i_x  )  [inline]
 

Definition at line 92 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
tThisVector& n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::setY const tComponent  i_y  )  [inline]
 

Definition at line 93 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
tComponent& n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::x  )  [inline]
 

Definition at line 120 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
const tComponent& n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::x  )  const [inline]
 

Definition at line 117 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
tComponent& n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::x const tComponent  i_x  )  [inline]
 

Definition at line 95 of file cVector2.h.

Referenced by n2l::cRSkyMobile::addSprite(), n2l::cParticle::alive(), n2l::cSurfaceCommonImp::blit(), n2l::cGLTexture::cGLTexture(), n2l::cGuiInteractive::collides(), n2l::cGuiSlider::dimensionChanged(), n2l::cTextureFont::draw(), n2l::cParticle::draw(), n2l::cGuiTextDisplay::draw(), n2l::cGuiProgressBar::draw(), n2l::cRectangle2< TComponent, TComponentDiff, TMagnitude >::dump(), n2l::cSurface::literalCopyBlit(), n2l::cGuiSlider::mouseClickAt(), n2l::cGuiInteractive::mouseClickAt(), n2l::cGuiInteractive::mouseClickOutside(), n2l::cGuiSlider::mouseMove(), n2l::cGuiInteractive::mouseMove(), n2l::cGuiInteractive::mouseMoveOutside(), n2l::cEventManager::mousePos(), n2l::cGuiElement::prop(), n2l::cGuiTextDisplay::propertyChanged(), n2l::cOpenGLDisplay::resetViewport(), n2l::cOpenGLDisplay::resizeTo(), n2l::cFramebufferDisplay::resizeTo(), n2l::cGuiCanvas::systemEvent(), n2l::cParticle::update(), n2l::cOpenGLDisplay::viewport(), n2l::cRectangle2< TComponent, TComponentDiff, TMagnitude >::w(), n2l::cDisplayCommonImp::warpMouseLocation(), n2l::cRectangle2< TComponent, TComponentDiff, TMagnitude >::x(), and n2l::cRectangle2< TComponent, TComponentDiff, TMagnitude >::x2().

template<class TComponent, class TComponentDiff, class TMagnitude>
tComponent& n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::y  )  [inline]
 

Definition at line 121 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
const tComponent& n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::y  )  const [inline]
 

Definition at line 118 of file cVector2.h.

template<class TComponent, class TComponentDiff, class TMagnitude>
tComponent& n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::y const tComponent  i_y  )  [inline]
 

Definition at line 96 of file cVector2.h.

Referenced by n2l::cGuiSButtonSelectBox::addButton(), n2l::cGuiButtonSelectBox::addButton(), n2l::cRSkyMobile::addSprite(), n2l::cParticle::alive(), n2l::cSurfaceCommonImp::blit(), n2l::cTextureFont::buildGlyphs(), n2l::cGLTexture::cGLTexture(), n2l::cGuiInteractive::collides(), n2l::cGuiTextDisplay::dimensionChanged(), n2l::cGuiSlider::dimensionChanged(), n2l::cTextureFont::draw(), n2l::cParticle::draw(), n2l::cGuiTextDisplay::draw(), n2l::cGuiProgressBar::draw(), n2l::cRectangle2< TComponent, TComponentDiff, TMagnitude >::dump(), n2l::cRectangle2< TComponent, TComponentDiff, TMagnitude >::h(), n2l::cSurface::literalCopyBlit(), n2l::cGuiSlider::mouseClickAt(), n2l::cGuiInteractive::mouseClickAt(), n2l::cGuiInteractive::mouseClickOutside(), n2l::cGuiSlider::mouseMove(), n2l::cGuiInteractive::mouseMove(), n2l::cGuiInteractive::mouseMoveOutside(), n2l::cEventManager::mousePos(), n2l::cGuiElement::prop(), n2l::cGuiTextDisplay::propertyChanged(), n2l::cOpenGLDisplay::resetViewport(), n2l::cOpenGLDisplay::resizeTo(), n2l::cFramebufferDisplay::resizeTo(), n2l::cGuiCanvas::systemEvent(), n2l::cParticle::update(), n2l::cOpenGLDisplay::viewport(), n2l::cDisplayCommonImp::warpMouseLocation(), n2l::cRectangle2< TComponent, TComponentDiff, TMagnitude >::y(), and n2l::cRectangle2< TComponent, TComponentDiff, TMagnitude >::y2().


Friends And Related Function Documentation

template<class TComponent, class TComponentDiff, class TMagnitude>
friend class cVector3< TComponent, TComponentDiff, TMagnitude > [friend]
 

Definition at line 53 of file cVector2.h.


The documentation for this class was generated from the following file:
©2013 Aaron Cameron