library: libRGL
#include "TGLUtil.h"

TGLVector3


class description - header file - source file - inheritance tree (.pdf)

class TGLVector3 : public TGLVertex3

Inheritance Chart:
TGLVertex3
<-
TGLVector3

    public:
TGLVector3() TGLVector3(Double_t x, Double_t y, Double_t z) TGLVector3(const TGLVector3& other) TGLVector3 operator-() const virtual ~TGLVector3() static TClass* Class() virtual TClass* IsA() const Double_t Mag() const void Normalise() const TGLVector3& operator*=(Double_t val) const TGLVector3& operator/=(Double_t val) TGLVector3& operator=(const TGLVector3&) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




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()
 Destroy vector object
Double_t Mag()
void Normalise()

Author: Richard Maunder 25/05/2005
Last update: root/gl:$Name: $:$Id: TGLUtil.cxx,v 1.27 2006/06/13 15:43:39 couet 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.