ZTrans


class description - source file - inheritance tree

class ZTrans : public ZMatrix

    private:
void _init() public:
ZTrans() ZTrans(const ZMatrix& m) ZTrans(const ZTrans& z) ZTrans(const ZNode* n) virtual ~ZTrans() static TClass* Class() ZVec3 Get3Pos() const ZVec3 Get3Rot() const ZVector* GetBaseV(UInt_t b) const ZVector* GetZVector() const void Invert() virtual TClass* IsA() const Int_t Move(ZTrans* a, UCIndex_t ai, Real_t amount = 1) Int_t MoveLF(UCIndex_t ai, Real_t amount = 1) ZVector& Mult3Vec(ZVector& v) const ZVector& Rot3Vec(ZVector& v) const Int_t Rotate(ZTrans* a, UCIndex_t i1, UCIndex_t i2, Real_t amount = 0.02) Int_t RotateLF(UCIndex_t i1, UCIndex_t i2, Real_t amount = 0.02) Int_t Set3Pos(Real_t x, Real_t y, Real_t z) void SetBaseV(UInt_t i, Real_t x, Real_t y, Real_t z) Int_t SetPos(const ZVector& v) Int_t SetPos(const ZTrans& t) void SetRot(UCIndex_t i, UCIndex_t j, Real_t f) Int_t SetRotByAngles(Real_t a1, Real_t a2, Real_t a3) void SetTrans(ZTrans& t) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void Transpose() ZTrans& ZT()

Data Members

    private:
Real_t mA1 ! Real_t mA2 ! Real_t mA3 ! Bool_t bAsOK ! public:
static ZTrans UnitTrans

Class Description


ZTrans() : ZMatrix(TMatrix::kUnit, ZTransMatrixProto)

ZTrans(const ZMatrix& m) : ZMatrix(m)

ZTrans(const ZTrans& z) : ZMatrix(z)

ZTrans(const ZNode* n) : ZMatrix(n->RefTrans())

Int_t Set3Pos(Real_t x, Real_t y, Real_t z)

Int_t SetPos(const ZVector& v)

Int_t SetPos(const ZTrans& t)

ZVector* GetZVector() const
 *CHTD*; obsoleted by the next method

ZVector* GetBaseV(UInt_t b) const
 *CHTD*

void SetRot(UCIndex_t i, UCIndex_t j, Real_t f)
 Expects identity matrix

void SetTrans(ZTrans& t)

void SetBaseV(UInt_t i, Real_t x, Real_t y, Real_t z)

Int_t MoveLF(UCIndex_t ai, Real_t amount)

Int_t RotateLF(UCIndex_t i1, UCIndex_t i2, Real_t amount)

Int_t Move(ZTrans* a, UCIndex_t ai, Real_t amount)

Int_t Rotate(ZTrans* a, UCIndex_t i1, UCIndex_t i2, Real_t amount)
 a is shitted

Int_t SetRotByAngles(Real_t a1, Real_t a2, Real_t a3)
 Sets Rotation part as given by angles:
 a1 around z, -a2 around y, a3 around x

ZVec3 Get3Rot() const

ZVector& Mult3Vec(ZVector& v) const
 Multiplies v in-place w/ spatial part of mM ... takes Scale to be 1

ZVector& Rot3Vec(ZVector& v) const
 Multiplies v in-place w/ rotational-spatial part of mM ... Scale not used

void Transpose()

void Invert()



Inline Functions


               void _init()
            ZTrans& ZT()
              ZVec3 Get3Pos() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
               void ~ZTrans()


Last update: Thu Nov 20 16:09:02 2003


ROOT page - Home page - Class index - 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.