#include <TGeometry.h>
Inheritance diagram for TGeometry:
Definition at line 43 of file TGeometry.h.
TGeometry::TGeometry | ( | const TGeometry & | ) | [protected] |
Definition at line 128 of file TGeometry.cxx.
References fIsReflection, fRotMatrix, fTranslation, i, j, kMatrixSize, kMAXLEVELS, and kVectorSize.
TGeometry::TGeometry | ( | ) |
TGeometry::TGeometry | ( | const char * | name, | |
const char * | title | |||
) |
Definition at line 106 of file TGeometry.cxx.
References TSeqCollection::Add(), fBomb, fCurrentNode, fGeomLevel, fIsReflection, fMaterialPointer, fMaterials, fMatrices, fMatrix, fMatrixPointer, fNodes, fShapePointer, fShapes, fX, fY, fZ, TROOT::GetListOfGeometries(), gGeometry, gROOT, and kFALSE.
TGeometry::~TGeometry | ( | ) | [virtual] |
Definition at line 187 of file TGeometry.cxx.
References TSeqCollection::After(), TList::Delete(), THashList::Delete(), TSeqCollection::First(), fMaterialPointer, fMaterials, fMatrices, fMatrixPointer, fNodes, fShapePointer, fShapes, TROOT::GetListOfGeometries(), gGeometry, gROOT, and TCollection::Remove().
TGeometry::TGeometry | ( | const TGeometry & | ) | [protected] |
TGeometry::TGeometry | ( | ) |
TGeometry::TGeometry | ( | const char * | name, | |
const char * | title | |||
) |
virtual TGeometry::~TGeometry | ( | ) | [virtual] |
Definition at line 156 of file TGeometry.cxx.
References fBomb, fCurrentNode, fGeomLevel, fIsReflection, fMaterialPointer, fMaterials, fMatrices, TRotMatrix::fMatrix, fMatrix, fMatrixPointer, fNodes, fRotMatrix, fShapePointer, fShapes, fTranslation, fX, fY, fZ, i, j, kMatrixSize, kMAXLEVELS, kVectorSize, and TNamed::operator=().
void TGeometry::Browse | ( | TBrowser * | b | ) | [virtual] |
Reimplemented from TObject.
Definition at line 221 of file TGeometry.cxx.
References b, fMaterials, fMatrices, fNodes, and fShapes.
void TGeometry::cd | ( | const char * | path = 0 |
) | [virtual] |
Definition at line 235 of file TGeometry.cxx.
References gGeometry.
Referenced by na49view(), and xtruSamples().
void TGeometry::Draw | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 244 of file TGeometry.cxx.
References TNode::Draw(), TList::First(), and fNodes.
Referenced by na49view(), and xtruSamples().
TObject * TGeometry::FindObject | ( | const char * | name | ) | const [virtual] |
Reimplemented from TObject.
Definition at line 265 of file TGeometry.cxx.
References TObjArray::At(), and Get().
Reimplemented from TObject.
Definition at line 255 of file TGeometry.cxx.
References TObject::Error().
Float_t TGeometry::GetBomb | ( | ) | const [inline] |
Definition at line 77 of file TGeometry.h.
References fBomb.
Referenced by TNode::Local2Master(), Local2Master(), Master2Local(), and TNode::Master2Local().
Int_t TGeometry::GeomLevel | ( | ) | const [inline] |
Definition at line 78 of file TGeometry.h.
References fGeomLevel.
Referenced by TVolume::DistancetoNodePrimitive(), TVolumeView::DistancetoPrimitive(), Local2Master(), Master2Local(), TVolumeView::Paint(), TNode::Paint(), TVolume::PaintNodePosition(), TVolumePosition::UpdatePosition(), and UpdateTempMatrix().
THashList* TGeometry::GetListOfShapes | ( | ) | const [inline] |
Definition at line 79 of file TGeometry.h.
References fShapes.
Referenced by Get(), shapes(), TShape::TShape(), and TShape::~TShape().
TList* TGeometry::GetListOfNodes | ( | ) | const [inline] |
Definition at line 80 of file TGeometry.h.
References fNodes.
Referenced by GetNode(), TNode::SetParent(), shapes(), TNode::TNode(), and TNode::~TNode().
THashList* TGeometry::GetListOfMaterials | ( | ) | const [inline] |
Definition at line 81 of file TGeometry.h.
References fMaterials.
Referenced by Get(), TMaterial::TMaterial(), and TMaterial::~TMaterial().
THashList* TGeometry::GetListOfMatrices | ( | ) | const [inline] |
Definition at line 82 of file TGeometry.h.
References fMatrices.
Referenced by Get(), TVolume::GetIdentity(), TVolumePosition::Mult(), TRotMatrix::TRotMatrix(), TVolumePosition::TVolumePosition(), TVolumeViewIter::UpdateTempMatrix(), and TRotMatrix::~TRotMatrix().
TNode* TGeometry::GetCurrentNode | ( | ) | const [inline] |
Definition at line 83 of file TGeometry.h.
References fCurrentNode.
Referenced by TNode::TNode(), and TNode::~TNode().
TMaterial * TGeometry::GetMaterial | ( | const char * | name | ) | const |
Definition at line 316 of file TGeometry.cxx.
References THashList::FindObject(), and fMaterials.
Referenced by TShape::TShape().
Definition at line 325 of file TGeometry.cxx.
References fMaterialPointer, fMaterials, TMaterial::GetNumber(), and TCollection::GetSize().
TNode * TGeometry::GetNode | ( | const char * | name | ) | const |
Definition at line 341 of file TGeometry.cxx.
References TList::First(), GetListOfNodes(), TNode::GetNode(), TObject::kNotDeleted, and TObject::TestBit().
Referenced by Get(), and na49view().
TShape * TGeometry::GetShape | ( | const char * | name | ) | const |
Definition at line 378 of file TGeometry.cxx.
References THashList::FindObject(), and fShapes.
Referenced by TNode::TNode(), and TVolume::TVolume().
Definition at line 387 of file TGeometry.cxx.
References fShapePointer, fShapes, TShape::GetNumber(), and TCollection::GetSize().
TRotMatrix * TGeometry::GetRotMatrix | ( | const char * | name | ) | const |
Definition at line 353 of file TGeometry.cxx.
References THashList::FindObject(), and fMatrices.
Referenced by TVolume::Add(), ClassImp(), TVolume::GetIdentity(), TNode::TNode(), and TVolumeView::TVolumeView().
TRotMatrix * TGeometry::GetRotMatrixByNumber | ( | Int_t | number | ) | const |
Definition at line 362 of file TGeometry.cxx.
References fMatrices, fMatrixPointer, and TCollection::GetSize().
TRotMatrix * TGeometry::GetCurrentMatrix | ( | ) | const [inline] |
TRotMatrix * TGeometry::GetCurrentPosition | ( | Double_t * | x, | |
Double_t * | y, | |||
Double_t * | z | |||
) | const [inline] |
TRotMatrix * TGeometry::GetCurrentPosition | ( | Float_t * | x, | |
Float_t * | y, | |||
Float_t * | z | |||
) | const [inline] |
Bool_t TGeometry::GetCurrentReflection | ( | ) | const [inline] |
Bool_t TGeometry::IsFolder | ( | ) | const [inline, virtual] |
Definition at line 403 of file TGeometry.cxx.
References fRotMatrix, fX, fY, fZ, GeomLevel(), GetBomb(), i, x, and y.
Referenced by TMarker3DBox::Paint(), TPolyMarker3D::Paint(), TPolyLine3D::Paint(), and TShape::TransformPoints().
Definition at line 438 of file TGeometry.cxx.
References fRotMatrix, fX, fY, fZ, GeomLevel(), GetBomb(), i, x, and y.
void TGeometry::ls | ( | Option_t * | option = "rsn2" |
) | const [virtual] |
Reimplemented from TNamed.
Definition at line 476 of file TGeometry.cxx.
References TString::Contains(), fMaterials, fMatrices, fNodes, fShapes, TCollection::ls(), Printf(), and TString::ToLower().
Definition at line 502 of file TGeometry.cxx.
References fRotMatrix, fX, fY, fZ, GeomLevel(), GetBomb(), kVectorSize, x, and y.
Definition at line 532 of file TGeometry.cxx.
References fRotMatrix, fX, fY, fZ, GeomLevel(), GetBomb(), kVectorSize, x, and y.
void TGeometry::Node | ( | const char * | name, | |
const char * | title, | |||
const char * | shapename, | |||
Double_t | x = 0 , |
|||
Double_t | y = 0 , |
|||
Double_t | z = 0 , |
|||
const char * | matrixname = "" , |
|||
Option_t * | option = "" | |||
) | [virtual] |
Definition at line 563 of file TGeometry.cxx.
virtual Int_t TGeometry::PushLevel | ( | ) | [inline, virtual] |
Definition at line 103 of file TGeometry.h.
References fGeomLevel.
Referenced by TVolume::DistancetoNodePrimitive(), TNode::DistancetoPrimitive(), TVolumeView::DistancetoPrimitive(), TVolumeView::Paint(), TNode::Paint(), and TVolume::PaintNodePosition().
virtual Int_t TGeometry::PopLevel | ( | ) | [inline, virtual] |
Definition at line 104 of file TGeometry.h.
References fGeomLevel.
Referenced by TVolume::DistancetoNodePrimitive(), TNode::DistancetoPrimitive(), TVolumeView::DistancetoPrimitive(), TVolumeView::Paint(), TNode::Paint(), and TVolume::PaintNodePosition().
void TGeometry::RecursiveRemove | ( | TObject * | obj | ) | [virtual] |
Reimplemented from TObject.
Definition at line 572 of file TGeometry.cxx.
References fNodes, and TList::RecursiveRemove().
virtual void TGeometry::SetBomb | ( | Float_t | bomb = 1.4 |
) | [inline, virtual] |
virtual void TGeometry::SetCurrentNode | ( | TNode * | node | ) | [inline, virtual] |
Definition at line 107 of file TGeometry.h.
References fCurrentNode.
Referenced by TNode::cd(), and TNode::~TNode().
virtual void TGeometry::SetGeomLevel | ( | Int_t | level = 0 |
) | [inline, virtual] |
Definition at line 108 of file TGeometry.h.
References fGeomLevel, and level.
Referenced by TVolumeView::Draw(), TNode::Draw(), TVolumeView::GetLocalRange(), TVolume::GetLocalRange(), and TVolume::Paint().
virtual void TGeometry::SetMatrix | ( | TRotMatrix * | matrix = 0 |
) | [inline, virtual] |
void TGeometry::SetPosition | ( | TRotMatrix * | matrix, | |
Double_t | x = 0 , |
|||
Double_t | y = 0 , |
|||
Double_t | z = 0 | |||
) | [inline, virtual] |
void TGeometry::SetPosition | ( | TRotMatrix * | matrix, | |
Float_t | x, | |||
Float_t | y, | |||
Float_t | z | |||
) | [inline, virtual] |
void TGeometry::UpdateMatrix | ( | TNode * | node | ) | [virtual] |
Definition at line 643 of file TGeometry.cxx.
References fGeomLevel, fRotMatrix, fTranslation, TNode::GetMatrix(), TNode::GetParent(), TNode::GetX(), TNode::GetY(), TNode::GetZ(), kMatrixSize, kMAXLEVELS, kVectorSize, and UpdateTempMatrix().
void TGeometry::UpdateTempMatrix | ( | Double_t | x = 0 , |
|
Double_t | y = 0 , |
|||
Double_t | z = 0 , |
|||
TRotMatrix * | matrix = 0 | |||
) | [virtual] |
Definition at line 671 of file TGeometry.cxx.
References TRotMatrix::GetMatrix(), TRotMatrix::GetType(), TRotMatrix::IsReflection(), and kFALSE.
Referenced by TNode::DistancetoPrimitive(), TVolumeView::Draw(), TNode::Draw(), G__G__G3D_150_0_50(), G__setup_memfuncTGeometry(), TVolumeView::GetLocalRange(), TVolume::GetLocalRange(), TVolumePosition::Mult(), TVolume::Paint(), TNode::Paint(), TVolumePosition::TVolumePosition(), TVolumeView::TVolumeView(), UpdateMatrix(), TVolumePosition::UpdatePosition(), UpdateTempMatrix(), and TVolumeViewIter::UpdateTempMatrix().
void TGeometry::UpdateTempMatrix | ( | Double_t | x, | |
Double_t | y, | |||
Double_t | z, | |||
Double_t * | matrix, | |||
Bool_t | isReflection = kFALSE | |||
) | [virtual] |
Definition at line 686 of file TGeometry.cxx.
References fIsReflection, fRotMatrix, fTranslation, fX, fY, fZ, GeomLevel(), kFALSE, kMatrixSize, kVectorSize, and UpdateTempMatrix().
TObjArray * TGeometry::Get | ( | const char * | name | ) | [static] |
Definition at line 276 of file TGeometry.cxx.
References THashList::FindObject(), GetListOfMaterials(), GetListOfMatrices(), GetListOfShapes(), GetNode(), and gGeometry.
Referenced by FindObject(), G__G__G3D_150_0_49(), and G__setup_memfuncTGeometry().
void TGeometry::UpdateTempMatrix | ( | Double_t * | dx1, | |
Double_t * | rmat1, | |||
Double_t | x, | |||
Double_t | y, | |||
Double_t | z, | |||
Double_t * | matrix, | |||
Double_t * | dxnew, | |||
Double_t * | rmatnew | |||
) | [static] |
Definition at line 716 of file TGeometry.cxx.
virtual void TGeometry::cd | ( | const char * | path = 0 |
) | [virtual] |
virtual TObject* TGeometry::FindObject | ( | const char * | name | ) | const [virtual] |
Reimplemented from TObject.
Reimplemented from TObject.
Float_t TGeometry::GetBomb | ( | ) | const [inline] |
Int_t TGeometry::GeomLevel | ( | ) | const [inline] |
THashList* TGeometry::GetListOfShapes | ( | ) | const [inline] |
TList* TGeometry::GetListOfNodes | ( | ) | const [inline] |
THashList* TGeometry::GetListOfMaterials | ( | ) | const [inline] |
THashList* TGeometry::GetListOfMatrices | ( | ) | const [inline] |
TNode* TGeometry::GetCurrentNode | ( | ) | const [inline] |
TMaterial* TGeometry::GetMaterial | ( | const char * | name | ) | const |
TNode* TGeometry::GetNode | ( | const char * | name | ) | const |
TShape* TGeometry::GetShape | ( | const char * | name | ) | const |
TRotMatrix* TGeometry::GetRotMatrix | ( | const char * | name | ) | const |
TRotMatrix* TGeometry::GetRotMatrixByNumber | ( | Int_t | number | ) | const |
TRotMatrix* TGeometry::GetCurrentMatrix | ( | ) | const |
TRotMatrix* TGeometry::GetCurrentPosition | ( | Double_t * | x, | |
Double_t * | y, | |||
Double_t * | z | |||
) | const |
TRotMatrix* TGeometry::GetCurrentPosition | ( | Float_t * | x, | |
Float_t * | y, | |||
Float_t * | z | |||
) | const |
Bool_t TGeometry::GetCurrentReflection | ( | ) | const |
Bool_t TGeometry::IsFolder | ( | ) | const [inline, virtual] |
virtual void TGeometry::ls | ( | Option_t * | option = "rsn2" |
) | const [virtual] |
Reimplemented from TNamed.
virtual void TGeometry::Node | ( | const char * | name, | |
const char * | title, | |||
const char * | shapename, | |||
Double_t | x = 0 , |
|||
Double_t | y = 0 , |
|||
Double_t | z = 0 , |
|||
const char * | matrixname = "" , |
|||
Option_t * | option = "" | |||
) | [virtual] |
virtual Int_t TGeometry::PushLevel | ( | ) | [inline, virtual] |
virtual Int_t TGeometry::PopLevel | ( | ) | [inline, virtual] |
virtual void TGeometry::SetBomb | ( | Float_t | bomb = 1.4 |
) | [inline, virtual] |
virtual void TGeometry::SetCurrentNode | ( | TNode * | node | ) | [inline, virtual] |
virtual void TGeometry::SetGeomLevel | ( | Int_t | level = 0 |
) | [inline, virtual] |
virtual void TGeometry::SetMatrix | ( | TRotMatrix * | matrix = 0 |
) | [inline, virtual] |
virtual void TGeometry::SetPosition | ( | TRotMatrix * | matrix, | |
Double_t | x = 0 , |
|||
Double_t | y = 0 , |
|||
Double_t | z = 0 | |||
) | [virtual] |
virtual void TGeometry::SetPosition | ( | TRotMatrix * | matrix, | |
Float_t | x, | |||
Float_t | y, | |||
Float_t | z | |||
) | [virtual] |
virtual void TGeometry::UpdateMatrix | ( | TNode * | node | ) | [virtual] |
virtual void TGeometry::UpdateTempMatrix | ( | Double_t | x = 0 , |
|
Double_t | y = 0 , |
|||
Double_t | z = 0 , |
|||
TRotMatrix * | matrix = 0 | |||
) | [virtual] |
virtual void TGeometry::UpdateTempMatrix | ( | Double_t | x, | |
Double_t | y, | |||
Double_t | z, | |||
Double_t * | matrix, | |||
Bool_t | isReflection = kFALSE | |||
) | [virtual] |
static TObjArray* TGeometry::Get | ( | const char * | name | ) | [static] |
static void TGeometry::UpdateTempMatrix | ( | Double_t * | dx1, | |
Double_t * | rmat1, | |||
Double_t | x, | |||
Double_t | y, | |||
Double_t | z, | |||
Double_t * | matrix, | |||
Double_t * | dxnew, | |||
Double_t * | rmatnew | |||
) | [static] |
THashList* TGeometry::fMaterials [private] |
Definition at line 46 of file TGeometry.h.
Referenced by Browse(), GetListOfMaterials(), GetMaterial(), GetMaterialByNumber(), ls(), operator=(), TGeometry(), and ~TGeometry().
THashList* TGeometry::fMatrices [private] |
Definition at line 47 of file TGeometry.h.
Referenced by Browse(), GetListOfMatrices(), GetRotMatrix(), GetRotMatrixByNumber(), ls(), operator=(), TGeometry(), and ~TGeometry().
THashList* TGeometry::fShapes [private] |
Definition at line 48 of file TGeometry.h.
Referenced by Browse(), GetListOfShapes(), GetShape(), GetShapeByNumber(), ls(), operator=(), TGeometry(), and ~TGeometry().
TList* TGeometry::fNodes [private] |
Definition at line 49 of file TGeometry.h.
Referenced by Browse(), Draw(), GetListOfNodes(), ls(), operator=(), RecursiveRemove(), TGeometry(), and ~TGeometry().
TRotMatrix* TGeometry::fMatrix [private] |
Definition at line 50 of file TGeometry.h.
Referenced by GetCurrentMatrix(), operator=(), SetMatrix(), and TGeometry().
TNode* TGeometry::fCurrentNode [private] |
Pointers to current rotation matrices.
Definition at line 51 of file TGeometry.h.
Referenced by GetCurrentNode(), operator=(), SetCurrentNode(), and TGeometry().
TMaterial** TGeometry::fMaterialPointer [private] |
Pointer to current node.
Definition at line 52 of file TGeometry.h.
Referenced by GetMaterialByNumber(), operator=(), TGeometry(), and ~TGeometry().
TRotMatrix** TGeometry::fMatrixPointer [private] |
Pointers to materials.
Definition at line 53 of file TGeometry.h.
Referenced by GetRotMatrixByNumber(), operator=(), TGeometry(), and ~TGeometry().
TShape** TGeometry::fShapePointer [private] |
Pointers to rotation matrices.
Definition at line 54 of file TGeometry.h.
Referenced by GetShapeByNumber(), operator=(), TGeometry(), and ~TGeometry().
Float_t TGeometry::fBomb [private] |
Pointers to shapes.
Definition at line 55 of file TGeometry.h.
Referenced by GetBomb(), operator=(), SetBomb(), and TGeometry().
Int_t TGeometry::fGeomLevel [private] |
Definition at line 56 of file TGeometry.h.
Referenced by GeomLevel(), GetCurrentReflection(), operator=(), PopLevel(), PushLevel(), SetGeomLevel(), TGeometry(), and UpdateMatrix().
Double_t TGeometry::fX [private] |
Definition at line 57 of file TGeometry.h.
Referenced by GetCurrentPosition(), Local2Master(), Master2Local(), operator=(), SetPosition(), TGeometry(), and UpdateTempMatrix().
Double_t TGeometry::fY [private] |
Definition at line 58 of file TGeometry.h.
Referenced by GetCurrentPosition(), Local2Master(), Master2Local(), operator=(), SetPosition(), TGeometry(), and UpdateTempMatrix().
Double_t TGeometry::fZ [private] |
The global translation of the current node.
Definition at line 59 of file TGeometry.h.
Referenced by GetCurrentPosition(), Local2Master(), Master2Local(), operator=(), SetPosition(), TGeometry(), and UpdateTempMatrix().
Double_t TGeometry::fTranslation [private] |
Definition at line 60 of file TGeometry.h.
Referenced by operator=(), TGeometry(), UpdateMatrix(), and UpdateTempMatrix().
Double_t TGeometry::fRotMatrix [private] |
Definition at line 61 of file TGeometry.h.
Referenced by Local2Master(), Master2Local(), operator=(), TGeometry(), UpdateMatrix(), and UpdateTempMatrix().
Bool_t TGeometry::fIsReflection [private] |
Definition at line 62 of file TGeometry.h.
Referenced by GetCurrentReflection(), operator=(), TGeometry(), and UpdateTempMatrix().
THashList* TGeometry::fMaterials [private] |
Definition at line 46 of file TGeometry.h.
THashList* TGeometry::fMatrices [private] |
Definition at line 47 of file TGeometry.h.
THashList* TGeometry::fShapes [private] |
Definition at line 48 of file TGeometry.h.
TList* TGeometry::fNodes [private] |
Definition at line 49 of file TGeometry.h.
TRotMatrix* TGeometry::fMatrix [private] |
Definition at line 50 of file TGeometry.h.
TNode* TGeometry::fCurrentNode [private] |
TMaterial** TGeometry::fMaterialPointer [private] |
TRotMatrix** TGeometry::fMatrixPointer [private] |
TShape** TGeometry::fShapePointer [private] |