TGeoScale Class Reference

#include <TGeoMatrix.h>

Inheritance diagram for TGeoScale:

TGeoMatrix TGeoMatrix TNamed TNamed TNamed TNamed TObject TObject TObject TObject TObject TObject TObject TObject List of all members.

Public Member Functions

 TGeoScale ()
 TGeoScale (const TGeoScale &other)
 TGeoScale (Double_t sx, Double_t sy, Double_t sz)
 TGeoScale (const char *name, Double_t sx, Double_t sy, Double_t sz)
virtual ~TGeoScale ()
virtual TGeoMatrixInverse () const
void SetScale (Double_t sx, Double_t sy, Double_t sz)
virtual void LocalToMaster (const Double_t *local, Double_t *master) const
Double_t LocalToMaster (Double_t dist, const Double_t *dir=0) const
virtual void LocalToMasterVect (const Double_t *local, Double_t *master) const
virtual TGeoMatrixMakeClone () const
virtual void MasterToLocal (const Double_t *master, Double_t *local) const
Double_t MasterToLocal (Double_t dist, const Double_t *dir=0) const
virtual void MasterToLocalVect (const Double_t *master, Double_t *local) const
virtual void ReflectX (Bool_t, Bool_t)
virtual void ReflectY (Bool_t, Bool_t)
virtual void ReflectZ (Bool_t, Bool_t)
virtual const Double_tGetTranslation () const
virtual const Double_tGetRotationMatrix () const
virtual const Double_tGetScale () const
 TGeoScale ()
 TGeoScale (const TGeoScale &other)
 TGeoScale (Double_t sx, Double_t sy, Double_t sz)
 TGeoScale (const char *name, Double_t sx, Double_t sy, Double_t sz)
virtual ~TGeoScale ()
virtual TGeoMatrixInverse () const
void SetScale (Double_t sx, Double_t sy, Double_t sz)
virtual void LocalToMaster (const Double_t *local, Double_t *master) const
Double_t LocalToMaster (Double_t dist, const Double_t *dir=0) const
virtual void LocalToMasterVect (const Double_t *local, Double_t *master) const
virtual TGeoMatrixMakeClone () const
virtual void MasterToLocal (const Double_t *master, Double_t *local) const
Double_t MasterToLocal (Double_t dist, const Double_t *dir=0) const
virtual void MasterToLocalVect (const Double_t *master, Double_t *local) const
virtual void ReflectX (Bool_t, Bool_t)
virtual void ReflectY (Bool_t, Bool_t)
virtual void ReflectZ (Bool_t, Bool_t)
virtual const Double_tGetTranslation () const
virtual const Double_tGetRotationMatrix () const
virtual const Double_tGetScale () const

Protected Attributes

Double_t fScale [3]

Detailed Description

Definition at line 245 of file TGeoMatrix.h.


Constructor & Destructor Documentation

TGeoScale::TGeoScale (  ) 

Referenced by MakeClone().

TGeoScale::TGeoScale ( const TGeoScale other  ) 

Definition at line 1240 of file TGeoMatrix.cxx.

References fScale, GetScale(), kFALSE, TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoScale, kN3, and TObject::SetBit().

TGeoScale::TGeoScale ( Double_t  sx,
Double_t  sy,
Double_t  sz 
)

Definition at line 1252 of file TGeoMatrix.cxx.

References TGeoMatrix::kGeoScale, TObject::SetBit(), and SetScale().

TGeoScale::TGeoScale ( const char *  name,
Double_t  sx,
Double_t  sy,
Double_t  sz 
)

Definition at line 1261 of file TGeoMatrix.cxx.

References TGeoMatrix::kGeoScale, TObject::SetBit(), and SetScale().

TGeoScale::~TGeoScale (  )  [virtual]

Definition at line 1270 of file TGeoMatrix.cxx.

TGeoScale::TGeoScale (  ) 

TGeoScale::TGeoScale ( const TGeoScale other  ) 

TGeoScale::TGeoScale ( Double_t  sx,
Double_t  sy,
Double_t  sz 
)

TGeoScale::TGeoScale ( const char *  name,
Double_t  sx,
Double_t  sy,
Double_t  sz 
)

virtual TGeoScale::~TGeoScale (  )  [virtual]


Member Function Documentation

TGeoMatrix & TGeoScale::Inverse (  )  const [virtual]

Implements TGeoMatrix.

Definition at line 1276 of file TGeoMatrix.cxx.

References fScale, and h.

void TGeoScale::SetScale ( Double_t  sx,
Double_t  sy,
Double_t  sz 
)

Definition at line 1290 of file TGeoMatrix.cxx.

References TMath::Abs(), E, TObject::Error(), fScale, TNamed::GetName(), kFALSE, TGeoMatrix::kGeoReflection, and TObject::SetBit().

Referenced by TGeoScale().

void TGeoScale::LocalToMaster ( const Double_t local,
Double_t master 
) const [virtual]

Reimplemented from TGeoMatrix.

Definition at line 1305 of file TGeoMatrix.cxx.

References fScale.

Referenced by TGeoScaledShape::ComputeBBox(), TGeoScaledShape::DistFromInside(), TGeoScaledShape::DistFromOutside(), LocalToMasterVect(), TGeoScaledShape::Safety(), and TGeoScaledShape::SetPoints().

Double_t TGeoScale::LocalToMaster ( Double_t  dist,
const Double_t dir = 0 
) const

Definition at line 1314 of file TGeoMatrix.cxx.

References TMath::Abs(), fScale, and TMath::Sqrt().

virtual void TGeoScale::LocalToMasterVect ( const Double_t local,
Double_t master 
) const [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 260 of file TGeoMatrix.h.

References LocalToMaster().

TGeoMatrix * TGeoScale::MakeClone (  )  const [virtual]

Implements TGeoMatrix.

Definition at line 1334 of file TGeoMatrix.cxx.

References TGeoScale().

void TGeoScale::MasterToLocal ( const Double_t master,
Double_t local 
) const [virtual]

Reimplemented from TGeoMatrix.

Definition at line 1342 of file TGeoMatrix.cxx.

References fScale.

Referenced by TGeoScaledShape::ComputeNormal(), TGeoScaledShape::Contains(), TGeoScaledShape::DistFromInside(), TGeoScaledShape::DistFromOutside(), MasterToLocalVect(), and TGeoScaledShape::Safety().

Double_t TGeoScale::MasterToLocal ( Double_t  dist,
const Double_t dir = 0 
) const

Definition at line 1351 of file TGeoMatrix.cxx.

References TMath::Abs(), fScale, and TMath::Sqrt().

virtual void TGeoScale::MasterToLocalVect ( const Double_t master,
Double_t local 
) const [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 264 of file TGeoMatrix.h.

References MasterToLocal().

Referenced by TGeoScaledShape::ComputeNormal(), TGeoScaledShape::DistFromInside(), and TGeoScaledShape::DistFromOutside().

virtual void TGeoScale::ReflectX ( Bool_t  ,
Bool_t   
) [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 265 of file TGeoMatrix.h.

References fScale, TGeoMatrix::IsReflection(), TGeoMatrix::kGeoReflection, and TObject::SetBit().

virtual void TGeoScale::ReflectY ( Bool_t  ,
Bool_t   
) [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 266 of file TGeoMatrix.h.

References fScale, TGeoMatrix::IsReflection(), TGeoMatrix::kGeoReflection, and TObject::SetBit().

virtual void TGeoScale::ReflectZ ( Bool_t  ,
Bool_t   
) [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 267 of file TGeoMatrix.h.

References fScale, TGeoMatrix::IsReflection(), TGeoMatrix::kGeoReflection, and TObject::SetBit().

virtual const Double_t* TGeoScale::GetTranslation (  )  const [inline, virtual]

Implements TGeoMatrix.

Definition at line 269 of file TGeoMatrix.h.

References kNullVector.

virtual const Double_t* TGeoScale::GetRotationMatrix (  )  const [inline, virtual]

Implements TGeoMatrix.

Definition at line 270 of file TGeoMatrix.h.

References kIdentityMatrix.

virtual const Double_t* TGeoScale::GetScale (  )  const [inline, virtual]

Implements TGeoMatrix.

Definition at line 271 of file TGeoMatrix.h.

References fScale.

Referenced by TGeoScaledShape::Capacity(), TGeoScaledShape::MakeScaledShape(), TGeoScaledShape::SavePrimitive(), TGeoScale(), and TGDMLParse::VolProcess().

virtual TGeoMatrix& TGeoScale::Inverse (  )  const [virtual]

Implements TGeoMatrix.

void TGeoScale::SetScale ( Double_t  sx,
Double_t  sy,
Double_t  sz 
)

virtual void TGeoScale::LocalToMaster ( const Double_t local,
Double_t master 
) const [virtual]

Reimplemented from TGeoMatrix.

Double_t TGeoScale::LocalToMaster ( Double_t  dist,
const Double_t dir = 0 
) const

virtual void TGeoScale::LocalToMasterVect ( const Double_t local,
Double_t master 
) const [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 260 of file TGeoMatrix.h.

References LocalToMaster().

virtual TGeoMatrix* TGeoScale::MakeClone (  )  const [virtual]

Implements TGeoMatrix.

virtual void TGeoScale::MasterToLocal ( const Double_t master,
Double_t local 
) const [virtual]

Reimplemented from TGeoMatrix.

Double_t TGeoScale::MasterToLocal ( Double_t  dist,
const Double_t dir = 0 
) const

virtual void TGeoScale::MasterToLocalVect ( const Double_t master,
Double_t local 
) const [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 264 of file TGeoMatrix.h.

References MasterToLocal().

virtual void TGeoScale::ReflectX ( Bool_t  ,
Bool_t   
) [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 265 of file TGeoMatrix.h.

References fScale, TGeoMatrix::IsReflection(), TGeoMatrix::kGeoReflection, and TObject::SetBit().

virtual void TGeoScale::ReflectY ( Bool_t  ,
Bool_t   
) [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 266 of file TGeoMatrix.h.

References fScale, TGeoMatrix::IsReflection(), TGeoMatrix::kGeoReflection, and TObject::SetBit().

virtual void TGeoScale::ReflectZ ( Bool_t  ,
Bool_t   
) [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 267 of file TGeoMatrix.h.

References fScale, TGeoMatrix::IsReflection(), TGeoMatrix::kGeoReflection, and TObject::SetBit().

virtual const Double_t* TGeoScale::GetTranslation (  )  const [inline, virtual]

Implements TGeoMatrix.

Definition at line 269 of file TGeoMatrix.h.

References kNullVector.

virtual const Double_t* TGeoScale::GetRotationMatrix (  )  const [inline, virtual]

Implements TGeoMatrix.

Definition at line 270 of file TGeoMatrix.h.

References kIdentityMatrix.

virtual const Double_t* TGeoScale::GetScale (  )  const [inline, virtual]

Implements TGeoMatrix.

Definition at line 271 of file TGeoMatrix.h.

References fScale.


Member Data Documentation

Double_t TGeoScale::fScale [protected]

Definition at line 248 of file TGeoMatrix.h.

Referenced by GetScale(), Inverse(), LocalToMaster(), MasterToLocal(), ReflectX(), ReflectY(), ReflectZ(), SetScale(), and TGeoScale().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:06 2011 for ROOT_528-00b_version by  doxygen 1.5.1