ROOT logo
ROOT » GRAF3D » GL » TGLVector3

class TGLVector3: public TGLVertex3


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)

TGLVector3(const Double_t* src)
TGLVector3(const TGLVector3& other)
TGLVector3(Double_t x, Double_t y, Double_t z)
const Double_t*TGLVertex3::CArr() const
static TClass*Class()
static TClass*TGLVertex3::Class()
voidTGLVertex3::Dump() const
voidTGLVertex3::Fill(Double_t val)
virtual TClass*IsA() const
virtual TClass*TGLVertex3::IsA() const
Double_tMag() const
voidTGLVertex3::Maximum(const TGLVertex3& other)
voidTGLVertex3::Minimum(const TGLVertex3& other)
TGLVertex3&TGLVertex3::operator*=(Double_t f)
const TGLVertex3&TGLVertex3::operator+=(const TGLVector3& vec)
TGLVector3operator-() const
TGLVertex3TGLVertex3::operator-() const
const TGLVertex3&TGLVertex3::operator-=(const TGLVector3& vec)
TGLVector3&operator/=(Double_t val)
TGLVector3&operator=(const TGLVertex3& v)
TGLVector3&operator=(const TGLVector3&)
TGLVertex3&TGLVertex3::operator=(const TGLVertex3& rhs)
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 voidTGLVertex3::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
virtual voidTGLVertex3::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGLVertex3::StreamerNVirtual(TBuffer& b)
Double_tTGLVertex3::X() const
Double_tTGLVertex3::Y() const
Double_tTGLVertex3::Z() const
Bool_tTGLVertex3::ValidIndex(UInt_t index) const

Data Members

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

 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])
 Destroy vector object
Double_t Mag() const
void Normalise()
TGLColor& operator=(const TGLColor& c)
TGLColorSet& operator=(const TGLColorSet& s)