class TGLVector3: public TGLVertex3


TGLVector3

3 component (x/y/z) vector class

 This is part of collection of utility classes for GL in TGLUtil.h/cxx
These provide const and non-const accessors Arr() / CArr() to a GL
 compatible internal field - so can be used directly with OpenGL C API
calls. They are not intended to be fully featured just provide
minimum required.

Function Members (Methods)

public:
TGLVector3()
TGLVector3(const Double_t* src)
TGLVector3(const TGLVector3& other)
TGLVector3(Double_t x, Double_t y, Double_t z)
virtual~TGLVector3()
Double_t*TGLVertex3::Arr()
const Double_t*TGLVertex3::CArr() const
static TClass*Class()
voidTGLVertex3::Dump() const
voidTGLVertex3::Fill(Double_t val)
virtual TClass*IsA() const
Double_tMag() const
voidTGLVertex3::Maximum(const TGLVertex3& other)
voidTGLVertex3::Minimum(const TGLVertex3& other)
voidTGLVertex3::Negate()
voidNormalise()
TGLVertex3&TGLVertex3::operator*=(Double_t f)
const TGLVertex3&TGLVertex3::operator+=(const TGLVector3& vec)
TGLVector3operator-() const
const TGLVertex3&TGLVertex3::operator-=(const TGLVector3& vec)
TGLVector3&operator/=(Double_t val)
TGLVector3&operator=(const TGLVertex3& v)
TGLVector3&operator=(const TGLVector3&)
Bool_tTGLVertex3::operator==(const TGLVertex3& rhs) const
Double_t&TGLVertex3::operator[](Int_t index)
const Double_t&TGLVertex3::operator[](Int_t index) const
voidTGLVertex3::Set(const TGLVertex3& other)
voidTGLVertex3::Set(Double_t x, Double_t y, Double_t z)
voidTGLVertex3::Shift(TGLVector3& shift)
voidTGLVertex3::Shift(Double_t xDelta, Double_t yDelta, Double_t zDelta)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
Double_tTGLVertex3::X() const
Double_t&TGLVertex3::X()
Double_tTGLVertex3::Y() const
Double_t&TGLVertex3::Y()
Double_tTGLVertex3::Z() const
Double_t&TGLVertex3::Z()
protected:
Bool_tTGLVertex3::ValidIndex(UInt_t index) const

Data Members

protected:
Double_tTGLVertex3::fVals[3]

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLVector3()
 Construct a default (0.0, 0.0, 0.0) vector
TGLVector3(Double_t x, Double_t y, Double_t z)
 Construct a vector with components (x,y,z)
TGLVector3(const TGLVector3 & other)
 Construct a vector from components of 'other'
TGLVector3(const Double_t *src)
 Construct a vector with components (src[0], src[1], src[2])
~TGLVector3()
 Destroy vector object
Double_t Mag()
void Normalise()
TGLUtil& operator=(const TGLUtil&)
TGLFloatHolder& operator=(const TGLFloatHolder&)

Author: Richard Maunder 25/05/2005
Last change: root/gl:$Id: TGLUtil.h 26148 2008-11-11 19:58:19Z matevz $
Last generated: 2008-11-14 16:34
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.