#include <TGeoShapeAssembly.h>
Inheritance diagram for TGeoShapeAssembly:
Definition at line 28 of file TGeoShapeAssembly.h.
TGeoShapeAssembly::TGeoShapeAssembly | ( | ) |
TGeoShapeAssembly::TGeoShapeAssembly | ( | TGeoVolumeAssembly * | vol | ) |
TGeoShapeAssembly::~TGeoShapeAssembly | ( | ) | [virtual] |
Definition at line 56 of file TGeoShapeAssembly.cxx.
TGeoShapeAssembly::TGeoShapeAssembly | ( | ) |
TGeoShapeAssembly::TGeoShapeAssembly | ( | TGeoVolumeAssembly * | vol | ) |
virtual TGeoShapeAssembly::~TGeoShapeAssembly | ( | ) | [virtual] |
void TGeoShapeAssembly::ComputeBBox | ( | ) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 62 of file TGeoShapeAssembly.cxx.
References TGeoShape::Big(), box(), TGeoShape::ComputeBBox(), TObject::Fatal(), fBBoxOK, TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, TGeoBBox::fOrigin, fVolume, TGeoShape::GetName(), TGeoVolume::GetNdaughters(), TGeoVolume::GetNode(), TGeoVolume::GetShape(), TGeoNode::GetVolume(), i, TGeoVolume::IsAssembly(), kTRUE, TGeoNode::LocalToMaster(), xmax, xmin, ymax, and ymin.
void TGeoShapeAssembly::ComputeNormal | ( | Double_t * | point, | |
Double_t * | dir, | |||
Double_t * | norm | |||
) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 152 of file TGeoShapeAssembly.cxx.
References TGeoShape::ComputeNormal(), DistFromOutside(), TObject::Error(), fBBoxOK, fVolume, TGeoVolume::GetNdaughters(), TGeoVolumeAssembly::GetNextNodeIndex(), TGeoVolume::GetNode(), TGeoVolume::GetShape(), TGeoNode::GetVolume(), local, TGeoNode::LocalToMasterVect(), TGeoNode::MasterToLocal(), and TGeoNode::MasterToLocalVect().
Reimplemented from TGeoBBox.
Definition at line 174 of file TGeoShapeAssembly.cxx.
References TGeoShape::Contains(), TGeoBBox::Contains(), fBBoxOK, fVolume, TGeoVoxelFinder::GetCheckList(), TGeoVolume::GetNdaughters(), TGeoVolume::GetNode(), TGeoVolume::GetShape(), TGeoNode::GetVolume(), TGeoVolume::GetVoxels(), id, kFALSE, kTRUE, local, TGeoNode::MasterToLocal(), TGeoVolumeAssembly::SetCurrentNodeIndex(), and TGeoVolumeAssembly::SetNextNodeIndex().
Referenced by DistFromOutside().
Double_t TGeoShapeAssembly::DistFromInside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 223 of file TGeoShapeAssembly.cxx.
References TGeoShape::Big(), and TObject::Info().
Double_t TGeoShapeAssembly::DistFromOutside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 232 of file TGeoShapeAssembly.cxx.
References TGeoShape::Big(), Contains(), TGeoBBox::Contains(), ROOT::Math::gv_detail::dist(), TGeoShape::DistFromOutside(), TGeoBBox::DistFromOutside(), fBBoxOK, fVolume, TGeoVolumeAssembly::GetCurrentNodeIndex(), TGeoVolume::GetNdaughters(), TGeoVoxelFinder::GetNextVoxel(), TGeoVolume::GetNode(), TGeoVolume::GetShape(), TGeoNode::GetVolume(), TGeoVolume::GetVoxels(), i, TGeoVoxelFinder::IsSafeVoxel(), kFALSE, kTRUE, TGeoNode::MasterToLocal(), TGeoNode::MasterToLocalVect(), Safety(), TGeoVolumeAssembly::SetNextNodeIndex(), TGeoVoxelFinder::SortCrossedVoxels(), and TGeoShape::Tolerance().
Referenced by ComputeNormal().
TGeoVolume * TGeoShapeAssembly::Divide | ( | TGeoVolume * | voldiv, | |
const char * | divname, | |||
Int_t | iaxis, | |||
Int_t | ndiv, | |||
Double_t | start, | |||
Double_t | step | |||
) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 310 of file TGeoShapeAssembly.cxx.
References TObject::Error().
TGeoShape * TGeoShapeAssembly::GetMakeRuntimeShape | ( | TGeoShape * | mother, | |
TGeoMatrix * | mat | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 319 of file TGeoShapeAssembly.cxx.
References TObject::Error(), and NULL.
virtual Int_t TGeoShapeAssembly::GetNmeshVertices | ( | ) | const [inline, virtual] |
void TGeoShapeAssembly::InspectShape | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 328 of file TGeoShapeAssembly.cxx.
References fBBoxOK, fVolume, TGeoShape::GetName(), TNamed::GetName(), TGeoVolume::GetNdaughters(), and TGeoBBox::InspectShape().
virtual Bool_t TGeoShapeAssembly::IsAssembly | ( | ) | const [inline, virtual] |
virtual Bool_t TGeoShapeAssembly::IsCylType | ( | ) | const [inline, virtual] |
void TGeoShapeAssembly::NeedsBBoxRecompute | ( | ) | [inline] |
void TGeoShapeAssembly::RecomputeBoxLast | ( | ) |
Definition at line 106 of file TGeoShapeAssembly.cxx.
References TGeoShape::Big(), box(), TGeoShape::ComputeBBox(), fBBoxOK, TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, TGeoBBox::fOrigin, fVolume, TNamed::GetName(), TGeoVolume::GetNdaughters(), TGeoVolume::GetNode(), TGeoVolume::GetShape(), TGeoNode::GetVolume(), TGeoVolume::IsAssembly(), TGeoShape::IsSameWithinTolerance(), kTRUE, TGeoNode::LocalToMaster(), TObject::Warning(), xmax, xmin, ymax, and ymin.
Reimplemented from TGeoBBox.
Definition at line 346 of file TGeoShapeAssembly.cxx.
References TMath::Abs(), TGeoShape::Big(), boxes, fBBoxOK, fVolume, TGeoVoxelFinder::GetBoxes(), TGeoVolume::GetCurrentNodeIndex(), TGeoVolumeAssembly::GetCurrentNodeIndex(), TGeoNode::GetMatrix(), TGeoVolume::GetNdaughters(), TGeoVolume::GetNode(), TGeoVolume::GetShape(), TGeoNode::GetVolume(), TGeoVolume::GetVoxels(), kFALSE, TGeoMatrix::MasterToLocal(), safe, TGeoShape::Safety(), and TGeoNode::Safety().
Referenced by DistFromOutside().
void TGeoShapeAssembly::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
void TGeoShapeAssembly::SetPoints | ( | Double_t * | points | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 407 of file TGeoShapeAssembly.cxx.
References TObject::Error().
void TGeoShapeAssembly::SetPoints | ( | Float_t * | points | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 414 of file TGeoShapeAssembly.cxx.
References TObject::Error().
void TGeoShapeAssembly::SetSegsAndPols | ( | TBuffer3D & | buff | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 339 of file TGeoShapeAssembly.cxx.
References TObject::Error().
virtual void TGeoShapeAssembly::ComputeBBox | ( | ) | [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoShapeAssembly::ComputeNormal | ( | Double_t * | point, | |
Double_t * | dir, | |||
Double_t * | norm | |||
) | [virtual] |
Reimplemented from TGeoBBox.
Reimplemented from TGeoBBox.
Reimplemented from TGeoBBox.
virtual Double_t TGeoShapeAssembly::DistFromInside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
virtual Double_t TGeoShapeAssembly::DistFromOutside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
virtual TGeoVolume* TGeoShapeAssembly::Divide | ( | TGeoVolume * | voldiv, | |
const char * | divname, | |||
Int_t | iaxis, | |||
Int_t | ndiv, | |||
Double_t | start, | |||
Double_t | step | |||
) | [virtual] |
Reimplemented from TGeoBBox.
virtual TGeoShape* TGeoShapeAssembly::GetMakeRuntimeShape | ( | TGeoShape * | mother, | |
TGeoMatrix * | mat | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoShapeAssembly::GetMeshNumbers | ( | Int_t & | nvert, | |
Int_t & | nsegs, | |||
Int_t & | npols | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
virtual Int_t TGeoShapeAssembly::GetNmeshVertices | ( | ) | const [inline, virtual] |
virtual void TGeoShapeAssembly::InspectShape | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
virtual Bool_t TGeoShapeAssembly::IsAssembly | ( | ) | const [inline, virtual] |
virtual Bool_t TGeoShapeAssembly::IsCylType | ( | ) | const [inline, virtual] |
void TGeoShapeAssembly::NeedsBBoxRecompute | ( | ) | [inline] |
void TGeoShapeAssembly::RecomputeBoxLast | ( | ) |
Reimplemented from TGeoBBox.
virtual void TGeoShapeAssembly::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoShapeAssembly::SetPoints | ( | Double_t * | points | ) | const [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoShapeAssembly::SetPoints | ( | Float_t * | points | ) | const [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoShapeAssembly::SetSegsAndPols | ( | TBuffer3D & | buff | ) | const [virtual] |
Reimplemented from TGeoBBox.
Int_t TGeoShapeAssembly::fCurrent [protected] |
Int_t TGeoShapeAssembly::fNext [protected] |
node number for current node
Definition at line 33 of file TGeoShapeAssembly.h.
Referenced by TGeoShapeAssembly().
TGeoVolumeAssembly* TGeoShapeAssembly::fVolume [protected] |
node number for next crossed node
Definition at line 34 of file TGeoShapeAssembly.h.
Referenced by ComputeBBox(), ComputeNormal(), Contains(), DistFromOutside(), InspectShape(), RecomputeBoxLast(), Safety(), and TGeoShapeAssembly().
Bool_t TGeoShapeAssembly::fBBoxOK [protected] |
Definition at line 35 of file TGeoShapeAssembly.h.
Referenced by ComputeBBox(), ComputeNormal(), Contains(), DistFromOutside(), InspectShape(), NeedsBBoxRecompute(), RecomputeBoxLast(), Safety(), and TGeoShapeAssembly().
TGeoVolumeAssembly* TGeoShapeAssembly::fVolume [protected] |