#define ClassDef(name, id)
TBuffer & operator<<(TBuffer &buf, const Tmpl *obj)
Generic 3D primitive description class.
Editor for TEveTrans class.
Sub-editor for TEveTrans class.
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
void SetGeoHMatrix(TGeoHMatrix &mat)
Set TGeoHMatrix mat.
void OrtoNorm3()
Orto-norm columns 1 to 3.
void MultLeft(const TEveTrans &t)
Multiply from left: this = t * this.
void UnitRot()
Reset rotation part of the matrix to unity.
Bool_t IsScale(Double_t low=0.9, Double_t high=1.1) const
Test if the transformation is a scale.
void SetBaseVec(Int_t b, Double_t x, Double_t y, Double_t z)
Set base-vector with index b.
Double_t Orto3Column(Int_t col, Int_t ref)
Orto-norm 3-vector in column col with respect to column ref.
void SetUseTrans(Bool_t v)
void MoveLF(Int_t ai, Double_t amount)
Move in local-frame along axis with index ai.
Double_t operator()(Int_t i, Int_t j) const
TEveTrans operator*(const TEveTrans &t)
Copy, multiply from right and return product.
TEveTrans()
Default constructor.
void Move(const TEveTrans &a, Int_t ai, Double_t amount)
Move in a's coord-system along axis-index ai.
void SetFromArray(const Double_t arr[16])
Set matrix from Double_t array.
void Scale(Double_t sx, Double_t sy, Double_t sz)
Scale matrix. Translation part untouched.
Double_t & CM(Int_t i, Int_t j)
void Rotate(const TEveTrans &a, Int_t i1, Int_t i2, Double_t amount)
Rotate in a's coord-system, rotating base vector with index i1 into i2.
void MultRight(const TEveTrans &t)
Multiply from right: this = this * t.
void RotateIP(TVector3 &v) const
Rotate vector in-place. Translation is NOT applied.
void SetEditRotation(Bool_t x)
TVector3 GetBaseVec(Int_t b) const
Get base-vector with index b.
TVector3 Multiply(const TVector3 &v, Double_t w=1) const
Multiply vector and return it.
void Move3(const TEveTrans &a, Double_t x, Double_t y, Double_t z)
General move in a's coord-system.
void RotatePF(Int_t i1, Int_t i2, Double_t amount)
Rotate in parent frame. Does optimised version of MultLeft.
void operator*=(const TEveTrans &t)
void SetScale(Double_t sx, Double_t sy, Double_t sz)
Set scaling.
void SetRotByAngles(Float_t a1, Float_t a2, Float_t a3)
void SetScaleX(Double_t sx)
Change x scaling.
void RotateLF(Int_t i1, Int_t i2, Double_t amount)
Rotate in local frame. Does optimised version of MultRight.
void UnitTrans()
Reset matrix to unity.
void SetScaleY(Double_t sy)
Change y scaling.
Double_t Norm3Column(Int_t col)
Norm 3-vector in column col.
void SetRotByAnyAngles(Float_t a1, Float_t a2, Float_t a3, const char *pat)
Sets Rotation part as given by angles a1, a1, a3 and pattern pat.
void SetupFromToVec(const TEveVector &from, const TEveVector &to)
A function for creating a rotation matrix that rotates a vector called "from" into another vector cal...
Double_t & operator()(Int_t i, Int_t j)
TEveTrans & operator=(const TEveTrans &t)
void SetEditScale(Bool_t x)
void MovePF(Int_t ai, Double_t amount)
Move in parent-frame along axis index ai.
Double_t Invert()
Invert matrix.
virtual void Print(Option_t *option="") const
Print in reasonable format.
Bool_t GetUseTrans() const
void SetEditTrans(Bool_t v)
void Move3LF(Double_t x, Double_t y, Double_t z)
General move in local-frame.
Double_t & operator[](Int_t i)
Bool_t GetEditTrans() const
void TransposeRotationPart()
Transpose 3x3 rotation sub-matrix.
void SetupRotation(Int_t i, Int_t j, Double_t f)
Setup the matrix as an elementary rotation.
void SetBuffer3D(TBuffer3D &buff)
Fill transformation part TBuffer3D core section.
void GetScale(Double_t &sx, Double_t &sy, Double_t &sz) const
Deduce scales from sizes of base vectors.
void MultiplyIP(TVector3 &v, Double_t w=1) const
Multiply vector in-place.
Double_t Unscale()
Remove scaling, make all base vectors of unit length.
void SetFrom(Double_t *carr)
void SetTrans(const TEveTrans &t, Bool_t copyAngles=kTRUE)
Set matrix from another,.
void Move3PF(Double_t x, Double_t y, Double_t z)
General move in parent-frame.
void SetScaleZ(Double_t sz)
Change z scaling.
void GetRotAngles(Float_t *x) const
Get Cardan rotation angles (pattern xYz above).
void SetPos(Double_t x, Double_t y, Double_t z)
Set position (base-vec 4).
Double_t CM(Int_t i, Int_t j) const
void ZeroTrans(Double_t w=1.0)
Reset matrix to zero, only the perspective scaling is set to w (1 by default).
Double_t operator[](Int_t i) const
Matrix class used for computing global transformations Should NOT be used for node definition.
Geometrical transformation package.
Mother of all ROOT objects.