library: libGeom
#include "TGeoMatrix.h"

TGeoCombiTrans


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

class TGeoCombiTrans : public TGeoMatrix

Inheritance Chart:
TObject
<-
TNamed
<-
TGeoMatrix
<-
TGeoCombiTrans
<-
TGeoGenTrans

    public:
TGeoCombiTrans() TGeoCombiTrans(const TGeoCombiTrans& other) TGeoCombiTrans(const TGeoMatrix& other) TGeoCombiTrans(const TGeoTranslation& tr, const TGeoRotation& rot) TGeoCombiTrans(const char* name) TGeoCombiTrans(Double_t dx, Double_t dy, Double_t dz, TGeoRotation* rot) TGeoCombiTrans(const char* name, Double_t dx, Double_t dy, Double_t dz, TGeoRotation* rot) virtual ~TGeoCombiTrans() static TClass* Class() virtual void Clear(Option_t* option) TGeoRotation* GetRotation() const virtual const Double_t* GetRotationMatrix() const virtual const Double_t* GetScale() const virtual const Double_t* GetTranslation() const virtual TGeoMatrix& Inverse() const virtual TClass* IsA() const TGeoCombiTrans& operator=(const TGeoMatrix& matrix) TGeoCombiTrans& operator=(const TGeoCombiTrans& other) virtual void RegisterYourself() 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 TGeoRotation& other) void SetRotation(const TGeoRotation* rot) void SetTranslation(const TGeoTranslation& tr) void SetTranslation(Double_t dx, Double_t dy, Double_t dz) void SetTranslation(Double_t* vect) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Double_t fTranslation[3] translation vector TGeoRotation* fRotation rotation matrix

Class Description


void Clear(Option_t *)
 Reset translation/rotation to identity

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

void RegisterYourself()

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".

void SetRotation(const TGeoRotation *rot)
 Assign a foreign rotation to the combi. The rotation is NOT owned by this.

void SetRotation(const TGeoRotation &rot)
 Copy the rotation from another one.

void SetTranslation(const TGeoTranslation &tr)
 copy the translation component

void SetTranslation(Double_t dx, Double_t dy, Double_t dz)
 set the translation component

void SetTranslation(Double_t *vect)
 set the translation component

const Double_t* GetRotationMatrix() const
 get the rotation array



Inline Functions


                   void ~TGeoCombiTrans()
         TGeoCombiTrans TGeoCombiTrans()
         TGeoCombiTrans TGeoCombiTrans(const TGeoCombiTrans& other)
         TGeoCombiTrans TGeoCombiTrans(const TGeoMatrix& other)
         TGeoCombiTrans TGeoCombiTrans(const TGeoTranslation& tr, const TGeoRotation& rot)
         TGeoCombiTrans TGeoCombiTrans(const char* name)
         TGeoCombiTrans TGeoCombiTrans(Double_t dx, Double_t dy, Double_t dz, TGeoRotation* rot)
         TGeoCombiTrans TGeoCombiTrans(const char* name, Double_t dx, Double_t dy, Double_t dz, TGeoRotation* rot)
        TGeoCombiTrans& operator=(const TGeoMatrix& matrix)
        TGeoCombiTrans& operator=(const TGeoCombiTrans& other)
          TGeoRotation* GetRotation() const
        const Double_t* GetTranslation() const
        const Double_t* GetScale() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)


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.