library: libRGL
#include "TGLUtil.h"

TGLMatrix


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

class TGLMatrix

Inheritance Chart:
TGLMatrix
    private:
Bool_t ValidIndex(UInt_t index) const public:
TGLMatrix() TGLMatrix(Double_t x, Double_t y, Double_t z) TGLMatrix(const Double_t* vals) TGLMatrix(const TGLMatrix& other) virtual ~TGLMatrix() Double_t* Arr() const Double_t* CArr() const static TClass* Class() void Dump() const TGLVector3 GetScale() const TGLVertex3 GetTranslation() const virtual TClass* IsA() const const TGLMatrix& operator=(const TGLMatrix& rhs) const Double_t& operator[](Int_t index) void Set(const Double_t* vals) void SetIdentity() void SetScale(const TGLVector3& scale) void SetTranslation(const TGLVertex3& trans) void Shift(const TGLVector3& shift) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void TransformVertex(TGLVertex3& vertex) const void Transpose3x3()

Data Members

    private:
Double_t fVals[16] Column MAJOR as per OGL

Class Description


TGLMatrix()

TGLMatrix(Double_t x, Double_t y, Double_t z)

TGLMatrix(const Double_t vals[16])

TGLMatrix(const TGLMatrix & other)

~TGLMatrix()

void Set(const Double_t vals[16])

void SetIdentity()

TGLVertex3 GetTranslation() const

void SetTranslation(const TGLVertex3 & trans)

void Shift(const TGLVector3 & shift)

TGLVector3 GetScale() const
 Get local axis scaling factors

void SetScale(const TGLVector3 & scale)
 Set local axis scaling factors

void Transpose3x3()
 Transpose the top left 3x3 matrix component along major diagonal

void TransformVertex(TGLVertex3 & vertex) const

void Dump() const



Inline Functions


                  Bool_t ValidIndex(UInt_t index) const
        const TGLMatrix& operator=(const TGLMatrix& rhs) const
               Double_t& operator[](Int_t index)
         const Double_t* CArr() const
               Double_t* Arr()
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)


Author: Richard Maunder 25/05/2005
Last update: root/gl:$Name: $:$Id: TGLUtil.cxx,v 1.9 2005/08/10 16:26:35 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.