library: libRGL
#include "TGLUtil.h"

TGLVector3


class description - header file - source file
viewCVS header - viewCVS source

class TGLVector3: public TGLVertex3

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
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::Negate()
voidNormalise()
const TGLVector3&operator*=(Double_t val)
const TGLVertex3&TGLVertex3::operator+=(const TGLVector3& vec)
TGLVector3operator-() const
const TGLVertex3&TGLVertex3::operator-=(const TGLVector3& vec)
const TGLVector3&operator/=(Double_t val)
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 Description

                                                                      
 TGLVertex3                                                           
                                                                      
 3 component (x/y/z) vertex class                                     
                                                                      
 This is part of collection of simple utility classes for GL only 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 - which TVector3 etc cannot (easily).        
 They are not intended to be fully featured just provide minimum      
 required.                                                            

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& glu)

Author: Richard Maunder 25/05/2005
Last update: root/gl:$Name: $:$Id: TGLUtil.cxx,v 1.33 2006/12/13 09:33:29 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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.