library: libGeom
#include "TGeoMatrix.h"

TGeoHMatrix


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

class TGeoHMatrix : public TGeoMatrix

Inheritance Chart:
TObject
<-
TNamed
<-
TGeoMatrix
<-
TGeoHMatrix

    public:
TGeoHMatrix() TGeoHMatrix(const TGeoMatrix& matrix) TGeoHMatrix(const char* name) TGeoHMatrix(const TGeoHMatrix&) virtual ~TGeoHMatrix() static TClass* Class() virtual void Clear(Option_t* option) virtual const Double_t* GetRotationMatrix() const virtual Double_t* GetRotationMatrix() virtual const Double_t* GetScale() const virtual Double_t* GetScale() virtual const Double_t* GetTranslation() const virtual Double_t* GetTranslation() virtual TGeoMatrix& Inverse() const virtual TClass* IsA() const void Multiply(const TGeoMatrix* right) void MultiplyLeft(const TGeoMatrix* left) TGeoHMatrix& operator*=(const TGeoMatrix& matrix) TGeoHMatrix& operator=(const TGeoMatrix* matrix) TGeoHMatrix& operator=(const TGeoMatrix& matrix) TGeoHMatrix& operator=(const TGeoHMatrix& other) virtual void RotateX(Double_t angle) virtual void RotateY(Double_t angle) virtual void RotateZ(Double_t angle) virtual void SavePrimitive(ofstream& out, Option_t* option) void SetRotation(const Double_t* matrix) void SetScale(const Double_t* scale) void SetTranslation(const Double_t* vect) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Double_t fTranslation[3] translation component Double_t fRotationMatrix[9] rotation matrix Double_t fScale[3] scale component

Class Description


void Clear(Option_t *)
 clear the data for this matrix

TGeoMatrix& Inverse() const
 Return a temporary inverse of this.

void Multiply(const TGeoMatrix *right)
 multiply to the right with an other transformation
 if right is identity matrix, just return

void MultiplyLeft(const TGeoMatrix *left)
 multiply to the left with an other transformation
 if right is identity matrix, just return

void RotateX(Double_t angle)
 Rotate about X axis with angle expressed in degrees.

void RotateY(Double_t angle)
 Rotate about Y axis with angle expressed in degrees.

void RotateZ(Double_t angle)
 Rotate about Z axis with angle expressed in degrees.

void SavePrimitive(ofstream &out, Option_t * /*option*/)
 Save a primitive as a C++ statement(s) on output stream "out".



Inline Functions


                   void ~TGeoHMatrix()
            TGeoHMatrix TGeoHMatrix()
            TGeoHMatrix TGeoHMatrix(const TGeoMatrix& matrix)
            TGeoHMatrix TGeoHMatrix(const char* name)
           TGeoHMatrix& operator=(const TGeoMatrix* matrix)
           TGeoHMatrix& operator=(const TGeoMatrix& matrix)
           TGeoHMatrix& operator=(const TGeoHMatrix& other)
           TGeoHMatrix& operator*=(const TGeoMatrix& matrix)
                   void SetTranslation(const Double_t* vect)
                   void SetRotation(const Double_t* matrix)
                   void SetScale(const Double_t* scale)
        const Double_t* GetTranslation() const
        const Double_t* GetRotationMatrix() const
        const Double_t* GetScale() const
              Double_t* GetTranslation()
              Double_t* GetRotationMatrix()
              Double_t* GetScale()
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
            TGeoHMatrix TGeoHMatrix(const TGeoHMatrix&)


Author: Andrei Gheata 25/10/01
Last update: root/geom:$Name: $:$Id: TGeoMatrix.cxx,v 1.39 2005/04/05 08:54:12 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.