TGeoShapeAssembly Class Reference

#include <TGeoShapeAssembly.h>

Inheritance diagram for TGeoShapeAssembly:

TGeoBBox TGeoBBox TGeoShape TGeoShape TGeoShape TGeoShape TNamed TNamed TNamed TNamed TNamed TNamed TNamed TNamed List of all members.

Public Member Functions

 TGeoShapeAssembly ()
 TGeoShapeAssembly (TGeoVolumeAssembly *vol)
virtual ~TGeoShapeAssembly ()
virtual void ComputeBBox ()
virtual void ComputeNormal (Double_t *point, Double_t *dir, Double_t *norm)
virtual Bool_t Contains (Double_t *point) const
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual Double_t DistFromInside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual Double_t DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const
virtual void GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const
virtual Int_t GetNmeshVertices () const
virtual void InspectShape () const
virtual Bool_t IsAssembly () const
virtual Bool_t IsCylType () const
void NeedsBBoxRecompute ()
void RecomputeBoxLast ()
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetPoints (Double_t *points) const
virtual void SetPoints (Float_t *points) const
virtual void SetSegsAndPols (TBuffer3D &buff) const
 TGeoShapeAssembly ()
 TGeoShapeAssembly (TGeoVolumeAssembly *vol)
virtual ~TGeoShapeAssembly ()
virtual void ComputeBBox ()
virtual void ComputeNormal (Double_t *point, Double_t *dir, Double_t *norm)
virtual Bool_t Contains (Double_t *point) const
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual Double_t DistFromInside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual Double_t DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const
virtual void GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const
virtual Int_t GetNmeshVertices () const
virtual void InspectShape () const
virtual Bool_t IsAssembly () const
virtual Bool_t IsCylType () const
void NeedsBBoxRecompute ()
void RecomputeBoxLast ()
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetPoints (Double_t *points) const
virtual void SetPoints (Float_t *points) const
virtual void SetSegsAndPols (TBuffer3D &buff) const

Protected Attributes

Int_t fCurrent
Int_t fNext
 node number for current node
TGeoVolumeAssemblyfVolume
 node number for next crossed node
Bool_t fBBoxOK
TGeoVolumeAssemblyfVolume
 node number for next crossed node

Detailed Description

Definition at line 28 of file TGeoShapeAssembly.h.


Constructor & Destructor Documentation

TGeoShapeAssembly::TGeoShapeAssembly (  ) 

TGeoShapeAssembly::TGeoShapeAssembly ( TGeoVolumeAssembly vol  ) 

Definition at line 45 of file TGeoShapeAssembly.cxx.

References fBBoxOK, fCurrent, fNext, fVolume, and kFALSE.

TGeoShapeAssembly::~TGeoShapeAssembly (  )  [virtual]

Definition at line 56 of file TGeoShapeAssembly.cxx.

TGeoShapeAssembly::TGeoShapeAssembly (  ) 

TGeoShapeAssembly::TGeoShapeAssembly ( TGeoVolumeAssembly vol  ) 

virtual TGeoShapeAssembly::~TGeoShapeAssembly (  )  [virtual]


Member Function Documentation

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().

Bool_t TGeoShapeAssembly::Contains ( Double_t point  )  const [virtual]

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().

Int_t TGeoShapeAssembly::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TGeoBBox.

Definition at line 216 of file TGeoShapeAssembly.cxx.

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.

void TGeoShapeAssembly::GetMeshNumbers ( Int_t nvert,
Int_t nsegs,
Int_t npols 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 421 of file TGeoShapeAssembly.cxx.

virtual Int_t TGeoShapeAssembly::GetNmeshVertices (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 57 of file TGeoShapeAssembly.h.

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]

Reimplemented from TGeoShape.

Definition at line 59 of file TGeoShapeAssembly.h.

References kTRUE.

virtual Bool_t TGeoShapeAssembly::IsCylType (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 60 of file TGeoShapeAssembly.h.

References kFALSE.

void TGeoShapeAssembly::NeedsBBoxRecompute (  )  [inline]

Definition at line 61 of file TGeoShapeAssembly.h.

References fBBoxOK, and kFALSE.

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.

Double_t TGeoShapeAssembly::Safety ( Double_t point,
Bool_t  in = kTRUE 
) const [virtual]

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]

Reimplemented from TGeoBBox.

Definition at line 401 of file TGeoShapeAssembly.cxx.

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.

virtual Bool_t TGeoShapeAssembly::Contains ( Double_t point  )  const [virtual]

Reimplemented from TGeoBBox.

virtual Int_t TGeoShapeAssembly::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

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]

Reimplemented from TGeoBBox.

Definition at line 57 of file TGeoShapeAssembly.h.

virtual void TGeoShapeAssembly::InspectShape (  )  const [virtual]

Reimplemented from TGeoBBox.

virtual Bool_t TGeoShapeAssembly::IsAssembly (  )  const [inline, virtual]

Reimplemented from TGeoShape.

Definition at line 59 of file TGeoShapeAssembly.h.

References kTRUE.

virtual Bool_t TGeoShapeAssembly::IsCylType (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 60 of file TGeoShapeAssembly.h.

References kFALSE.

void TGeoShapeAssembly::NeedsBBoxRecompute (  )  [inline]

Definition at line 61 of file TGeoShapeAssembly.h.

References fBBoxOK, and kFALSE.

void TGeoShapeAssembly::RecomputeBoxLast (  ) 

virtual Double_t TGeoShapeAssembly::Safety ( Double_t point,
Bool_t  in = kTRUE 
) const [virtual]

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.


Member Data Documentation

Int_t TGeoShapeAssembly::fCurrent [protected]

Definition at line 32 of file TGeoShapeAssembly.h.

Referenced by TGeoShapeAssembly().

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]

node number for next crossed node

Definition at line 34 of file TGeoShapeAssembly.h.


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