TGLVector3 Class Reference

#include <TGLUtil.h>

Inheritance diagram for TGLVector3:

TGLVertex3 TGLVertex3 List of all members.

Public Member Functions

 TGLVector3 ()
 TGLVector3 (Double_t x, Double_t y, Double_t z)
 TGLVector3 (const Double_t *src)
 TGLVector3 (const TGLVector3 &other)
virtual ~TGLVector3 ()
TGLVector3operator= (const TGLVertex3 &v)
TGLVector3operator/= (Double_t val)
TGLVector3 operator- () const
Double_t Mag () const
void Normalise ()
 ClassDef (TGLVector3, 0)
 TGLVector3 ()
 TGLVector3 (Double_t x, Double_t y, Double_t z)
 TGLVector3 (const Double_t *src)
 TGLVector3 (const TGLVector3 &other)
virtual ~TGLVector3 ()
TGLVector3operator= (const TGLVertex3 &v)
TGLVector3operator/= (Double_t val)
TGLVector3 operator- () const
Double_t Mag () const
void Normalise ()
 ClassDef (TGLVector3, 0)

Detailed Description

Definition at line 267 of file TGLUtil.h.


Constructor & Destructor Documentation

TGLVector3::TGLVector3 (  ) 

Definition at line 143 of file TGLUtil.cxx.

Referenced by operator-().

TGLVector3::TGLVector3 ( Double_t  x,
Double_t  y,
Double_t  z 
)

Definition at line 150 of file TGLUtil.cxx.

TGLVector3::TGLVector3 ( const Double_t src  ) 

Definition at line 164 of file TGLUtil.cxx.

TGLVector3::TGLVector3 ( const TGLVector3 other  ) 

Definition at line 157 of file TGLUtil.cxx.

TGLVector3::~TGLVector3 (  )  [virtual]

Definition at line 171 of file TGLUtil.cxx.

TGLVector3::TGLVector3 (  ) 

TGLVector3::TGLVector3 ( Double_t  x,
Double_t  y,
Double_t  z 
)

TGLVector3::TGLVector3 ( const Double_t src  ) 

TGLVector3::TGLVector3 ( const TGLVector3 other  ) 

virtual TGLVector3::~TGLVector3 (  )  [virtual]


Member Function Documentation

TGLVector3& TGLVector3::operator= ( const TGLVertex3 v  )  [inline]

Reimplemented from TGLVertex3.

Definition at line 276 of file TGLUtil.h.

References TGLVertex3::fVals.

TGLVector3 & TGLVector3::operator/= ( Double_t  val  )  [inline]

Definition at line 305 of file TGLUtil.h.

References TGLVertex3::fVals.

TGLVector3 TGLVector3::operator- (  )  const [inline]

Reimplemented from TGLVertex3.

Definition at line 314 of file TGLUtil.h.

References TGLVertex3::fVals, and TGLVector3().

Double_t TGLVector3::Mag (  )  const [inline]

Definition at line 320 of file TGLUtil.h.

References TGLVertex3::fVals, and sqrt().

Referenced by TGLManip::CalcDrawScale(), TGLViewer::DrawDebugInfo(), TGLViewer::DrawGuides(), TGLUtil::DrawLine(), TGLUtil::DrawSimpleAxes(), TGLScaleManip::HandleMotion(), Intersection(), Normalise(), TGLBoundingBox::Overlap(), TGLOrthoCamera::Reset(), TGLClipPlane::Setup(), TGLAutoRotator::Start(), TGLLightSet::StdSetupLights(), TGLBoundingBox::UpdateCache(), and TGLCamera::UpdateInterest().

void TGLVector3::Normalise (  )  [inline]

Definition at line 326 of file TGLUtil.h.

References Error, TGLVertex3::fVals, and Mag().

Referenced by TGLRotateManip::CalculateAngleDelta(), TGLRotateManip::Draw(), TGLCameraOverlay::RenderAxis(), TGLCameraOverlay::RenderBar(), TGLMatrix::Rotate(), TGLMatrix::Set(), and TGLMatrix::TGLMatrix().

TGLVector3::ClassDef ( TGLVector3  ,
 
)

TGLVector3& TGLVector3::operator= ( const TGLVertex3 v  )  [inline]

Reimplemented from TGLVertex3.

Definition at line 276 of file TGLUtil.h.

References TGLVertex3::fVals.

TGLVector3& TGLVector3::operator/= ( Double_t  val  ) 

TGLVector3 TGLVector3::operator- (  )  const

Reimplemented from TGLVertex3.

Double_t TGLVector3::Mag (  )  const

void TGLVector3::Normalise (  ) 

TGLVector3::ClassDef ( TGLVector3  ,
 
)


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:16 2011 for ROOT_528-00b_version by  doxygen 1.5.1