TGeoPainter Class Reference

#include <TGeoPainter.h>

Inheritance diagram for TGeoPainter:

TVirtualGeoPainter TVirtualGeoPainter TObject TObject TObject TObject List of all members.

Public Member Functions

 TGeoPainter (TGeoManager *manager)
virtual ~TGeoPainter ()
virtual void AddSize3D (Int_t numpoints, Int_t numsegs, Int_t numpolys)
virtual TVirtualGeoTrackAddTrack (Int_t id, Int_t pdgcode, TObject *part)
virtual void AddTrackPoint (Double_t *point, Double_t *box, Bool_t reset=kFALSE)
virtual void BombTranslation (const Double_t *tr, Double_t *bombtr)
virtual void CheckBoundaryErrors (Int_t ntracks=1000000, Double_t radius=-1.)
virtual void CheckBoundaryReference (Int_t icheck=-1)
virtual void CheckGeometryFull (Bool_t checkoverlaps=kTRUE, Bool_t checkcrossings=kTRUE, Int_t nrays=10000, const Double_t *vertex=NULL)
virtual void CheckGeometry (Int_t nrays, Double_t startx, Double_t starty, Double_t startz) const
void CheckEdit ()
virtual void CheckPoint (Double_t x=0, Double_t y=0, Double_t z=0, Option_t *option="")
virtual void CheckOverlaps (const TGeoVolume *vol, Double_t ovlp=0.1, Option_t *option="") const
Int_t CountNodes (TGeoVolume *vol, Int_t level) const
virtual Int_t CountVisibleNodes ()
virtual void DefaultAngles ()
virtual void DefaultColors ()
virtual Int_t DistanceToPrimitiveVol (TGeoVolume *vol, Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual void DrawBatemanSol (TGeoBatemanSol *sol, Option_t *option="")
virtual void DrawOverlap (void *ovlp, Option_t *option="")
virtual void DrawCurrentPoint (Int_t color)
virtual void DrawOnly (Option_t *option="")
virtual void DrawPanel ()
virtual void DrawPath (const char *path)
virtual void DrawShape (TGeoShape *shape, Option_t *option="")
virtual void DrawVolume (TGeoVolume *vol, Option_t *option="")
virtual void EditGeometry (Option_t *option="")
virtual void EstimateCameraMove (Double_t tmin, Double_t tmax, Double_t *start, Double_t *end)
virtual void ExecuteManagerEvent (TGeoManager *geom, Int_t event, Int_t px, Int_t py)
virtual void ExecuteShapeEvent (TGeoShape *shape, Int_t event, Int_t px, Int_t py)
virtual void ExecuteVolumeEvent (TGeoVolume *volume, Int_t event, Int_t px, Int_t py)
virtual const char * GetVolumeInfo (const TGeoVolume *volume, Int_t px, Int_t py) const
virtual void GetBombFactors (Double_t &bombx, Double_t &bomby, Double_t &bombz, Double_t &bombr) const
virtual Int_t GetBombMode () const
virtual TGeoNodeGetCheckedNode ()
TGeoCheckerGetChecker ()
virtual Int_t GetColor (Int_t base, Float_t light) const
virtual const char * GetDrawPath () const
virtual TGeoVolumeGetDrawnVolume () const
virtual TGeoVolumeGetTopVolume () const
virtual Int_t GetVisLevel () const
virtual Int_t GetVisOption () const
Int_t GetNsegments () const
virtual void GrabFocus (Int_t nfr=0, Double_t dlong=0, Double_t dlat=0, Double_t dpsi=0)
virtual Double_tGetViewBox ()
virtual void GetViewAngles (Double_t &longitude, Double_t &latitude, Double_t &psi)
virtual Bool_t IsExplodedView () const
virtual Bool_t IsRaytracing () const
virtual Bool_t IsPaintingShape () const
TH2FLegoPlot (Int_t ntheta=60, Double_t themin=0., Double_t themax=180., Int_t nphi=90, Double_t phimin=0., Double_t phimax=360., Double_t rmin=0., Double_t rmax=9999999, Option_t *option="")
void Lock (Bool_t flag=kTRUE)
virtual void ModifiedPad (Bool_t update=kFALSE) const
virtual void OpProgress (const char *opname, Long64_t current, Long64_t size, TStopwatch *watch=0, Bool_t last=kFALSE, Bool_t refresh=kFALSE)
virtual void Paint (Option_t *option="")
virtual void PaintNode (TGeoNode *node, Option_t *option="", TGeoMatrix *global=0)
Bool_t PaintShape (const TGeoShape &shape, Option_t *option) const
virtual void PaintShape (TGeoShape *shape, Option_t *option="")
virtual void PaintOverlap (void *ovlp, Option_t *option="")
virtual void PaintVolume (TGeoVolume *vol, Option_t *option="", TGeoMatrix *global=0)
virtual void PrintOverlaps () const
void PaintPhysicalNode (TGeoPhysicalNode *node, Option_t *option="")
virtual void RandomPoints (const TGeoVolume *vol, Int_t npoints, Option_t *option="")
virtual void RandomRays (Int_t nrays, Double_t startx, Double_t starty, Double_t startz)
virtual void Raytrace (Option_t *option="")
virtual TGeoNodeSamplePoints (Int_t npoints, Double_t &dist, Double_t epsil, const char *g3path)
virtual void SetBombFactors (Double_t bombx=1.3, Double_t bomby=1.3, Double_t bombz=1.3, Double_t bombr=1.3)
virtual void SetClippingShape (TGeoShape *shape)
virtual void SetExplodedView (Int_t iopt=0)
virtual void SetNsegments (Int_t nseg=20)
virtual void SetNmeshPoints (Int_t npoints)
virtual void SetGeoManager (TGeoManager *geom)
virtual void SetIteratorPlugin (TGeoIteratorPlugin *plugin)
virtual void SetCheckedNode (TGeoNode *node)
virtual void SetRaytracing (Bool_t flag=kTRUE)
virtual void SetTopVisible (Bool_t vis=kTRUE)
virtual void SetTopVolume (TGeoVolume *vol)
virtual void SetVisLevel (Int_t level=3)
virtual void SetVisOption (Int_t option=0)
virtual Int_t ShapeDistancetoPrimitive (const TGeoShape *shape, Int_t numpoints, Int_t px, Int_t py) const
virtual void Test (Int_t npoints, Option_t *option)
virtual void TestOverlaps (const char *path)
virtual Bool_t TestVoxels (TGeoVolume *vol)
virtual void UnbombTranslation (const Double_t *tr, Double_t *bombtr)
virtual Double_t Weight (Double_t precision, Option_t *option="v")
 TGeoPainter (TGeoManager *manager)
virtual ~TGeoPainter ()
virtual void AddSize3D (Int_t numpoints, Int_t numsegs, Int_t numpolys)
virtual TVirtualGeoTrackAddTrack (Int_t id, Int_t pdgcode, TObject *part)
virtual void AddTrackPoint (Double_t *point, Double_t *box, Bool_t reset=kFALSE)
virtual void BombTranslation (const Double_t *tr, Double_t *bombtr)
virtual void CheckBoundaryErrors (Int_t ntracks=1000000, Double_t radius=-1.)
virtual void CheckBoundaryReference (Int_t icheck=-1)
virtual void CheckGeometryFull (Bool_t checkoverlaps=kTRUE, Bool_t checkcrossings=kTRUE, Int_t nrays=10000, const Double_t *vertex=NULL)
virtual void CheckGeometry (Int_t nrays, Double_t startx, Double_t starty, Double_t startz) const
void CheckEdit ()
virtual void CheckPoint (Double_t x=0, Double_t y=0, Double_t z=0, Option_t *option="")
virtual void CheckOverlaps (const TGeoVolume *vol, Double_t ovlp=0.1, Option_t *option="") const
Int_t CountNodes (TGeoVolume *vol, Int_t level) const
virtual Int_t CountVisibleNodes ()
virtual void DefaultAngles ()
virtual void DefaultColors ()
virtual Int_t DistanceToPrimitiveVol (TGeoVolume *vol, Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual void DrawBatemanSol (TGeoBatemanSol *sol, Option_t *option="")
virtual void DrawOverlap (void *ovlp, Option_t *option="")
virtual void DrawCurrentPoint (Int_t color)
virtual void DrawOnly (Option_t *option="")
virtual void DrawPanel ()
virtual void DrawPath (const char *path)
virtual void DrawShape (TGeoShape *shape, Option_t *option="")
virtual void DrawVolume (TGeoVolume *vol, Option_t *option="")
virtual void EditGeometry (Option_t *option="")
virtual void EstimateCameraMove (Double_t tmin, Double_t tmax, Double_t *start, Double_t *end)
virtual void ExecuteManagerEvent (TGeoManager *geom, Int_t event, Int_t px, Int_t py)
virtual void ExecuteShapeEvent (TGeoShape *shape, Int_t event, Int_t px, Int_t py)
virtual void ExecuteVolumeEvent (TGeoVolume *volume, Int_t event, Int_t px, Int_t py)
virtual const char * GetVolumeInfo (const TGeoVolume *volume, Int_t px, Int_t py) const
virtual void GetBombFactors (Double_t &bombx, Double_t &bomby, Double_t &bombz, Double_t &bombr) const
virtual Int_t GetBombMode () const
virtual TGeoNodeGetCheckedNode ()
TGeoCheckerGetChecker ()
virtual Int_t GetColor (Int_t base, Float_t light) const
virtual const char * GetDrawPath () const
virtual TGeoVolumeGetDrawnVolume () const
virtual TGeoVolumeGetTopVolume () const
virtual Int_t GetVisLevel () const
virtual Int_t GetVisOption () const
Int_t GetNsegments () const
virtual void GrabFocus (Int_t nfr=0, Double_t dlong=0, Double_t dlat=0, Double_t dpsi=0)
virtual Double_tGetViewBox ()
virtual void GetViewAngles (Double_t &longitude, Double_t &latitude, Double_t &psi)
virtual Bool_t IsExplodedView () const
virtual Bool_t IsRaytracing () const
virtual Bool_t IsPaintingShape () const
TH2FLegoPlot (Int_t ntheta=60, Double_t themin=0., Double_t themax=180., Int_t nphi=90, Double_t phimin=0., Double_t phimax=360., Double_t rmin=0., Double_t rmax=9999999, Option_t *option="")
void Lock (Bool_t flag=kTRUE)
virtual void ModifiedPad (Bool_t update=kFALSE) const
virtual void OpProgress (const char *opname, Long64_t current, Long64_t size, TStopwatch *watch=0, Bool_t last=kFALSE, Bool_t refresh=kFALSE)
virtual void Paint (Option_t *option="")
virtual void PaintNode (TGeoNode *node, Option_t *option="", TGeoMatrix *global=0)
Bool_t PaintShape (const TGeoShape &shape, Option_t *option) const
virtual void PaintShape (TGeoShape *shape, Option_t *option="")
virtual void PaintOverlap (void *ovlp, Option_t *option="")
virtual void PaintVolume (TGeoVolume *vol, Option_t *option="", TGeoMatrix *global=0)
virtual void PrintOverlaps () const
void PaintPhysicalNode (TGeoPhysicalNode *node, Option_t *option="")
virtual void RandomPoints (const TGeoVolume *vol, Int_t npoints, Option_t *option="")
virtual void RandomRays (Int_t nrays, Double_t startx, Double_t starty, Double_t startz)
virtual void Raytrace (Option_t *option="")
virtual TGeoNodeSamplePoints (Int_t npoints, Double_t &dist, Double_t epsil, const char *g3path)
virtual void SetBombFactors (Double_t bombx=1.3, Double_t bomby=1.3, Double_t bombz=1.3, Double_t bombr=1.3)
virtual void SetClippingShape (TGeoShape *shape)
virtual void SetExplodedView (Int_t iopt=0)
virtual void SetNsegments (Int_t nseg=20)
virtual void SetNmeshPoints (Int_t npoints)
virtual void SetGeoManager (TGeoManager *geom)
virtual void SetIteratorPlugin (TGeoIteratorPlugin *plugin)
virtual void SetCheckedNode (TGeoNode *node)
virtual void SetRaytracing (Bool_t flag=kTRUE)
virtual void SetTopVisible (Bool_t vis=kTRUE)
virtual void SetTopVolume (TGeoVolume *vol)
virtual void SetVisLevel (Int_t level=3)
virtual void SetVisOption (Int_t option=0)
virtual Int_t ShapeDistancetoPrimitive (const TGeoShape *shape, Int_t numpoints, Int_t px, Int_t py) const
virtual void Test (Int_t npoints, Option_t *option)
virtual void TestOverlaps (const char *path)
virtual Bool_t TestVoxels (TGeoVolume *vol)
virtual void UnbombTranslation (const Double_t *tr, Double_t *bombtr)
virtual Double_t Weight (Double_t precision, Option_t *option="v")

Protected Member Functions

virtual void ClearVisibleVolumes ()
virtual void ClearVisibleVolumes ()

Private Member Functions

void DefineColors () const
void LocalToMasterVect (const Double_t *local, Double_t *master) const
void DefineColors () const
void LocalToMasterVect (const Double_t *local, Double_t *master) const

Private Attributes

Double_t fBombX
Double_t fBombY
Double_t fBombZ
Double_t fBombR
Double_t fCheckedBox [6]
Double_t fMat [9]
Int_t fNsegments
Int_t fNVisNodes
Int_t fVisLevel
Int_t fVisOption
Int_t fExplodedView
Bool_t fVisLock
Bool_t fTopVisible
Bool_t fPaintingOverlaps
Bool_t fIsRaytracing
Bool_t fIsPaintingShape
TString fVisBranch
TString fVolInfo
TGeoNodefCheckedNode
TGeoOverlapfOverlap
TGeoHMatrixfGlobal
TBuffer3DfBuffer
TGeoManagerfGeoManager
TGeoCheckerfChecker
TGeoShapefClippingShape
TGeoVolumefTopVolume
TGeoVolumefLastVolume
TGeoIteratorPluginfPlugin
TObjArrayfVisVolumes
Bool_t fIsEditable
TGeoNodefCheckedNode
TGeoOverlapfOverlap
TGeoHMatrixfGlobal
TBuffer3DfBuffer
TGeoManagerfGeoManager
TGeoCheckerfChecker
TGeoShapefClippingShape
TGeoVolumefTopVolume
TGeoVolumefLastVolume
TGeoIteratorPluginfPlugin
TObjArrayfVisVolumes

Detailed Description

Definition at line 43 of file TGeoPainter.h.


Constructor & Destructor Documentation

TGeoPainter::TGeoPainter ( TGeoManager manager  ) 

TGeoPainter::~TGeoPainter (  )  [virtual]

Definition at line 98 of file TGeoPainter.cxx.

References fBuffer, fChecker, fGlobal, fPlugin, and fVisVolumes.

TGeoPainter::TGeoPainter ( TGeoManager manager  ) 

virtual TGeoPainter::~TGeoPainter (  )  [virtual]


Member Function Documentation

void TGeoPainter::DefineColors (  )  const [private]

Definition at line 243 of file TGeoPainter.cxx.

References TSeqCollection::At(), b, g, TROOT::GetColor(), TROOT::GetListOfColors(), gROOT, h, TColor::HLS2RGB(), i, TColor::InitializeColors(), j, l, s, and TObject::Warning().

void TGeoPainter::LocalToMasterVect ( const Double_t local,
Double_t master 
) const [private]

Definition at line 1063 of file TGeoPainter.cxx.

References fMat, and i.

Referenced by Raytrace().

void TGeoPainter::ClearVisibleVolumes (  )  [protected, virtual]

Definition at line 227 of file TGeoPainter.cxx.

References TObjArray::Clear(), fVisVolumes, TGeoAtt::kVisOnScreen, and TGeoAtt::ResetAttBit().

Referenced by DrawOnly(), DrawOverlap(), DrawVolume(), PaintVolume(), SetVisLevel(), and SetVisOption().

void TGeoPainter::AddSize3D ( Int_t  numpoints,
Int_t  numsegs,
Int_t  numpolys 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 109 of file TGeoPainter.cxx.

References gSize3D.

TVirtualGeoTrack * TGeoPainter::AddTrack ( Int_t  id,
Int_t  pdgcode,
TObject part 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 117 of file TGeoPainter.cxx.

void TGeoPainter::AddTrackPoint ( Double_t point,
Double_t box,
Bool_t  reset = kFALSE 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 124 of file TGeoPainter.cxx.

References i, xmax, and xmin.

Referenced by EstimateCameraMove().

void TGeoPainter::BombTranslation ( const Double_t tr,
Double_t bombtr 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 153 of file TGeoPainter.cxx.

References fBombR, fBombX, fBombY, fBombZ, fExplodedView, TVirtualGeoPainter::kGeoBombCyl, TVirtualGeoPainter::kGeoBombSph, TVirtualGeoPainter::kGeoBombXYZ, and TVirtualGeoPainter::kGeoNoBomb.

void TGeoPainter::CheckBoundaryErrors ( Int_t  ntracks = 1000000,
Double_t  radius = -1. 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 181 of file TGeoPainter.cxx.

References TGeoChecker::CheckBoundaryErrors(), and fChecker.

void TGeoPainter::CheckBoundaryReference ( Int_t  icheck = -1  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 190 of file TGeoPainter.cxx.

References TGeoChecker::CheckBoundaryReference(), and fChecker.

void TGeoPainter::CheckGeometryFull ( Bool_t  checkoverlaps = kTRUE,
Bool_t  checkcrossings = kTRUE,
Int_t  nrays = 10000,
const Double_t vertex = NULL 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 199 of file TGeoPainter.cxx.

References TGeoChecker::CheckGeometryFull(), and fChecker.

void TGeoPainter::CheckGeometry ( Int_t  nrays,
Double_t  startx,
Double_t  starty,
Double_t  startz 
) const [virtual]

Implements TVirtualGeoPainter.

Definition at line 206 of file TGeoPainter.cxx.

References TGeoChecker::CheckGeometry(), and fChecker.

void TGeoPainter::CheckEdit (  ) 

Definition at line 611 of file TGeoPainter.cxx.

References TPluginManager::FindHandler(), fIsEditable, TClass::GetClass(), TROOT::GetPluginManager(), gROOT, h, and kTRUE.

Referenced by EditGeometry(), ExecuteManagerEvent(), ExecuteShapeEvent(), and ExecuteVolumeEvent().

void TGeoPainter::CheckPoint ( Double_t  x = 0,
Double_t  y = 0,
Double_t  z = 0,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 220 of file TGeoPainter.cxx.

References TGeoChecker::CheckPoint(), and fChecker.

void TGeoPainter::CheckOverlaps ( const TGeoVolume vol,
Double_t  ovlp = 0.1,
Option_t option = "" 
) const [virtual]

Implements TVirtualGeoPainter.

Definition at line 213 of file TGeoPainter.cxx.

References TGeoChecker::CheckOverlaps(), and fChecker.

Int_t TGeoPainter::CountNodes ( TGeoVolume vol,
Int_t  level 
) const

Definition at line 518 of file TGeoPainter.cxx.

References TGeoManager::cd(), TString::Data(), fGeoManager, fTopVisible, fVisBranch, TGeoManager::GetLevel(), TGeoIterator::GetLevel(), TGeoNode::GetNdaughters(), TGeoVolume::GetNdaughters(), TGeoAtt::IsVisBranch(), TGeoVolume::IsVisContainers(), TGeoNode::IsVisDaughters(), TGeoAtt::IsVisDaughters(), TGeoVolume::IsVisible(), TGeoNode::IsVisible(), TGeoVolume::IsVisLeaves(), TGeoVolume::IsVisOnly(), kFALSE, kTRUE, level, TGeoManager::PopPath(), TGeoManager::PushPath(), and TGeoIterator::Skip().

Referenced by CountVisibleNodes().

Int_t TGeoPainter::CountVisibleNodes (  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 567 of file TGeoPainter.cxx.

References CountNodes(), fGeoManager, fNVisNodes, fTopVolume, fVisLevel, TGeoManager::GetMaxVisNodes(), TGeoManager::GetVisLevel(), kFALSE, kTRUE, level, SetVisLevel(), and top().

Referenced by DrawVolume().

void TGeoPainter::DefaultAngles (  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 494 of file TGeoPainter.cxx.

References gPad, ModifiedPad(), and TView::SetView().

void TGeoPainter::DefaultColors (  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 507 of file TGeoPainter.cxx.

References fGeoManager, TGeoManager::GetListOfVolumes(), and ModifiedPad().

Int_t TGeoPainter::DistanceToPrimitiveVol ( TGeoVolume vol,
Int_t  px,
Int_t  py 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 302 of file TGeoPainter.cxx.

References box(), TGeoManager::cd(), TGeoManager::CdUp(), TGeoHMatrix::Clear(), TString::Data(), ROOT::Math::gv_detail::dist(), TObject::DistancetoPrimitive(), TGeoShape::DistancetoPrimitive(), fCheckedBox, fCheckedNode, fGeoManager, fGlobal, TString::Format(), fOverlap, fPaintingOverlaps, fTopVisible, fTopVolume, fVisBranch, fVisLevel, fVolInfo, TGeoManager::GetCurrentMatrix(), TGeoIterator::GetCurrentMatrix(), TGeoManager::GetCurrentNode(), TGeoManager::GetCurrentVolume(), TGeoOverlap::GetFirstMatrix(), TGeoOverlap::GetFirstVolume(), TGeoManager::GetLevel(), TGeoIterator::GetLevel(), TNamed::GetName(), TGeoNode::GetNdaughters(), TGeoVolume::GetNdaughters(), TGeoIterator::GetPath(), TGeoOverlap::GetSecondMatrix(), TGeoOverlap::GetSecondVolume(), TGeoVolume::GetShape(), TGeoManager::GetTopNode(), TGeoNode::GetVolume(), gGeoManager, gPad, TGeoManager::IsClosed(), TGeoManager::IsNodeSelectable(), TGeoAtt::IsVisBranch(), TGeoVolume::IsVisContainers(), TGeoNode::IsVisDaughters(), TGeoAtt::IsVisDaughters(), TGeoVolume::IsVisible(), TGeoNode::IsVisible(), TGeoVolume::IsVisLeaves(), TGeoVolume::IsVisOnly(), kFALSE, kTRUE, level, TGeoMatrix::LocalToMaster(), TGeoManager::LocalToMaster(), TGeoManager::PopPath(), TGeoManager::PushPath(), TGeoIterator::SetTopName(), TGeoShape::SetTransform(), and TGeoIterator::Skip().

void TGeoPainter::Draw ( Option_t option = ""  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 639 of file TGeoPainter.cxx.

References DrawVolume(), fGeoManager, and TGeoManager::GetTopVolume().

void TGeoPainter::DrawBatemanSol ( TGeoBatemanSol sol,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 646 of file TGeoPainter.cxx.

References TGeoBatemanSol::Concentration(), TString::Data(), TString::Format(), func(), TGeoBatemanSol::GetCoeff(), TGeoBatemanSol::GetElement(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TAttMarker::GetMarkerColor(), TAttMarker::GetMarkerSize(), TAttMarker::GetMarkerStyle(), TNamed::GetName(), TGeoBatemanSol::GetNcoeff(), TGeoBatemanSol::GetRange(), i, kFALSE, kTRUE, and TMath::Max().

void TGeoPainter::DrawOverlap ( void *  ovlp,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 769 of file TGeoPainter.cxx.

References TObject::AppendPad(), ClearVisibleVolumes(), TString::Contains(), TView::CreateView(), TPolyMarker3D::Draw(), fIsPaintingShape, fOverlap, fPaintingOverlaps, fVisLock, TGeoOverlap::GetPolyMarker(), gPad, gROOT, kFALSE, kTRUE, TROOT::MakeDefCanvas(), PaintOverlap(), TView::SetAutoRange(), and TString::ToLower().

void TGeoPainter::DrawCurrentPoint ( Int_t  color  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 854 of file TGeoPainter.cxx.

References TPolyMarker3D::Draw(), fGeoManager, TGeoManager::GetCurrentPoint(), gPad, TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), and TPolyMarker3D::SetNextPoint().

void TGeoPainter::DrawOnly ( Option_t option = ""  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 815 of file TGeoPainter.cxx.

References TObject::AppendPad(), ClearVisibleVolumes(), TString::Contains(), TView::CreateView(), fGeoManager, fIsPaintingShape, fPaintingOverlaps, fTopVolume, fVisLock, fVisOption, TGeoManager::GetCurrentVolume(), gPad, gROOT, kFALSE, TVirtualGeoPainter::kGeoVisOnly, kTRUE, TROOT::MakeDefCanvas(), TView::SetAutoRange(), and TString::ToLower().

void TGeoPainter::DrawPanel (  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 869 of file TGeoPainter.cxx.

void TGeoPainter::DrawPath ( const char *  path  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 874 of file TGeoPainter.cxx.

References DrawVolume(), fGeoManager, fIsPaintingShape, fTopVolume, fVisBranch, fVisOption, TGeoManager::GetTopVolume(), kFALSE, TVirtualGeoPainter::kGeoVisBranch, and TGeoAtt::SetVisRaytrace().

void TGeoPainter::DrawShape ( TGeoShape shape,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 735 of file TGeoPainter.cxx.

References TObject::AppendPad(), TString::Contains(), TView::CreateView(), fIsPaintingShape, fOverlap, fPaintingOverlaps, gPad, gROOT, kFALSE, kTRUE, TROOT::MakeDefCanvas(), PaintShape(), TView::SetAutoRange(), and TString::ToLower().

void TGeoPainter::DrawVolume ( TGeoVolume vol,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 686 of file TGeoPainter.cxx.

References TObject::AppendPad(), ClearVisibleVolumes(), TString::Contains(), CountVisibleNodes(), TView::CreateView(), fIsPaintingShape, fLastVolume, fOverlap, fPaintingOverlaps, fTopVolume, fVisLock, gPad, gROOT, kFALSE, kTRUE, TROOT::MakeDefCanvas(), Paint(), TView::SetAutoRange(), and TString::ToLower().

Referenced by Draw(), and DrawPath().

void TGeoPainter::EditGeometry ( Option_t option = ""  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 625 of file TGeoPainter.cxx.

References CheckEdit(), fGeoManager, fIsEditable, gPad, kButton1Down, and TVirtualPadEditor::ShowEditor().

void TGeoPainter::EstimateCameraMove ( Double_t  tmin,
Double_t  tmax,
Double_t start,
Double_t end 
) [virtual]

Reimplemented from TVirtualGeoPainter.

Definition at line 886 of file TGeoPainter.cxx.

References AddTrackPoint(), gPad, kTRUE, and track().

void TGeoPainter::ExecuteManagerEvent ( TGeoManager geom,
Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 915 of file TGeoPainter.cxx.

References CheckEdit(), fIsEditable, gPad, kButton1Down, and kPointer.

void TGeoPainter::ExecuteShapeEvent ( TGeoShape shape,
Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 927 of file TGeoPainter.cxx.

References CheckEdit(), fIsEditable, gPad, kButton1Down, and kHand.

void TGeoPainter::ExecuteVolumeEvent ( TGeoVolume volume,
Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 939 of file TGeoPainter.cxx.

References CheckEdit(), fIsEditable, gPad, GrabFocus(), kButton1Double, kButton1Down, kButton1Up, kHand, kMouseEnter, kMouseLeave, and kWatch.

const char * TGeoPainter::GetVolumeInfo ( const TGeoVolume volume,
Int_t  px,
Int_t  py 
) const [virtual]

Implements TVirtualGeoPainter.

Definition at line 983 of file TGeoPainter.cxx.

References TObject::ClassName(), TString::Data(), TString::Format(), fOverlap, fPaintingOverlaps, fVolInfo, TGeoOverlap::GetFirstVolume(), TNamed::GetName(), TGeoOverlap::GetOverlap(), TGeoOverlap::GetSecondVolume(), TGeoVolume::GetShape(), gPad, info, TGeoOverlap::IsExtrusion(), and name.

virtual void TGeoPainter::GetBombFactors ( Double_t bombx,
Double_t bomby,
Double_t bombz,
Double_t bombr 
) const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 117 of file TGeoPainter.h.

References fBombR, fBombX, fBombY, and fBombZ.

virtual Int_t TGeoPainter::GetBombMode (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 119 of file TGeoPainter.h.

References fExplodedView.

virtual TGeoNode* TGeoPainter::GetCheckedNode (  )  [inline, virtual]

Definition at line 120 of file TGeoPainter.h.

References fCheckedNode.

TGeoChecker * TGeoPainter::GetChecker (  ) 

Definition at line 1007 of file TGeoPainter.cxx.

References fChecker, and fGeoManager.

Int_t TGeoPainter::GetColor ( Int_t  base,
Float_t  light 
) const [virtual]

Implements TVirtualGeoPainter.

Definition at line 269 of file TGeoPainter.cxx.

References b, g, TROOT::GetColor(), TColor::GetRGB(), gROOT, and j.

Referenced by Raytrace().

virtual const char* TGeoPainter::GetDrawPath (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 123 of file TGeoPainter.h.

References TString::Data(), and fVisBranch.

TGeoVolume * TGeoPainter::GetDrawnVolume (  )  const [virtual]

Implements TVirtualGeoPainter.

Definition at line 294 of file TGeoPainter.cxx.

References fTopVolume, and gPad.

virtual TGeoVolume* TGeoPainter::GetTopVolume (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 125 of file TGeoPainter.h.

References fTopVolume.

virtual Int_t TGeoPainter::GetVisLevel (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 126 of file TGeoPainter.h.

References fVisLevel.

virtual Int_t TGeoPainter::GetVisOption (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 127 of file TGeoPainter.h.

References fVisOption.

Int_t TGeoPainter::GetNsegments (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 128 of file TGeoPainter.h.

References fNsegments.

void TGeoPainter::GrabFocus ( Int_t  nfr = 0,
Double_t  dlong = 0,
Double_t  dlat = 0,
Double_t  dpsi = 0 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1027 of file TGeoPainter.cxx.

References box(), fCheckedBox, fCheckedNode, fGeoManager, fPaintingOverlaps, fVisVolumes, TObjArray::GetEntriesFast(), TGeoVolume::GetShape(), TGeoManager::GetTopVolume(), gPad, TView::MoveFocus(), and TView::SetPerspective().

Referenced by ExecuteVolumeEvent().

virtual Double_t* TGeoPainter::GetViewBox (  )  [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 130 of file TGeoPainter.h.

References fCheckedBox.

void TGeoPainter::GetViewAngles ( Double_t longitude,
Double_t latitude,
Double_t psi 
) [virtual]

Reimplemented from TVirtualGeoPainter.

Definition at line 1015 of file TGeoPainter.cxx.

References TView::GetLatitude(), TView::GetLongitude(), TView::GetPsi(), and gPad.

virtual Bool_t TGeoPainter::IsExplodedView (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 132 of file TGeoPainter.h.

References fExplodedView, kFALSE, TVirtualGeoPainter::kGeoVisDefault, and kTRUE.

Referenced by SetBombFactors().

virtual Bool_t TGeoPainter::IsRaytracing (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 133 of file TGeoPainter.h.

References fIsRaytracing.

virtual Bool_t TGeoPainter::IsPaintingShape (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 134 of file TGeoPainter.h.

References fIsPaintingShape.

TH2F * TGeoPainter::LegoPlot ( Int_t  ntheta = 60,
Double_t  themin = 0.,
Double_t  themax = 180.,
Int_t  nphi = 90,
Double_t  phimin = 0.,
Double_t  phimax = 360.,
Double_t  rmin = 0.,
Double_t  rmax = 9999999,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1055 of file TGeoPainter.cxx.

References fChecker, and TGeoChecker::LegoPlot().

void TGeoPainter::Lock ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 138 of file TGeoPainter.h.

References flag, and fVisLock.

void TGeoPainter::ModifiedPad ( Bool_t  update = kFALSE  )  const [virtual]

Implements TVirtualGeoPainter.

Definition at line 1071 of file TGeoPainter.cxx.

References TROOT::FromPopUp(), gPad, gROOT, and TView::SetViewChanged().

Referenced by DefaultAngles(), DefaultColors(), SetBombFactors(), SetExplodedView(), SetIteratorPlugin(), SetNsegments(), SetTopVisible(), SetVisLevel(), and SetVisOption().

void TGeoPainter::OpProgress ( const char *  opname,
Long64_t  current,
Long64_t  size,
TStopwatch watch = 0,
Bool_t  last = kFALSE,
Bool_t  refresh = kFALSE 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1457 of file TGeoPainter.cxx.

References fChecker, and TGeoChecker::OpProgress().

Referenced by Raytrace().

void TGeoPainter::Paint ( Option_t option = ""  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 1087 of file TGeoPainter.cxx.

References TGeoManager::CdTop(), fGeoManager, fIsRaytracing, fTopVolume, fVisLock, fVisOption, TObjArray::GetEntriesFast(), TGeoManager::GetListOfPhysicalNodes(), gPad, TGeoManager::IsDrawingExtra(), TGeoVolume::IsRaytracing(), TGeoAtt::IsVisBranch(), TGeoVolume::IsVisContainers(), TGeoVolume::IsVisLeaves(), TGeoVolume::IsVisOnly(), kFALSE, TVirtualGeoPainter::kGeoVisBranch, TVirtualGeoPainter::kGeoVisDefault, TVirtualGeoPainter::kGeoVisLeaves, TVirtualGeoPainter::kGeoVisOnly, kTRUE, PaintPhysicalNode(), PaintVolume(), Raytrace(), and TObjArray::UncheckedAt().

Referenced by DrawVolume().

void TGeoPainter::PaintNode ( TGeoNode node,
Option_t option = "",
TGeoMatrix global = 0 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1170 of file TGeoPainter.cxx.

References TGeoNode::GetVolume(), and PaintVolume().

Bool_t TGeoPainter::PaintShape ( const TGeoShape shape,
Option_t option 
) const

Definition at line 1330 of file TGeoPainter.cxx.

References TVirtualViewer3D::AddObject(), buffer, xmlio::Class, composite, TGeoShape::GetBuffer3D(), gPad, TGeoShape::IsComposite(), TBuffer3D::kBoundingBox, TBuffer3D::kCore, TBuffer3D::kNone, TBuffer3D::kShapeSpecific, kTRUE, and TVirtualViewer3D::PreferLocalFrame().

Referenced by DrawShape(), PaintOverlap(), PaintPhysicalNode(), PaintShape(), and PaintVolume().

void TGeoPainter::PaintShape ( TGeoShape shape,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1377 of file TGeoPainter.cxx.

References TGeoHMatrix::Clear(), fGeoManager, fGlobal, PaintShape(), TGeoManager::SetPaintVolume(), and TGeoShape::SetTransform().

void TGeoPainter::PaintOverlap ( void *  ovlp,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1123 of file TGeoPainter.cxx.

References TObjArray::Add(), fGeoManager, fGlobal, fOverlap, fVisLock, fVisVolumes, TGeoOverlap::GetFirstMatrix(), TGeoOverlap::GetFirstVolume(), TGeoOverlap::GetSecondMatrix(), TGeoOverlap::GetSecondVolume(), TGeoMatrix::IsReflection(), kBlue, kFALSE, kGreen, kTRUE, PaintShape(), TGeoManager::SetMatrixReflection(), TGeoManager::SetPaintVolume(), and TGeoShape::SetTransform().

Referenced by DrawOverlap().

void TGeoPainter::PaintVolume ( TGeoVolume vol,
Option_t option = "",
TGeoMatrix global = 0 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1177 of file TGeoPainter.cxx.

References TObjArray::Add(), TGeoManager::cd(), TGeoManager::CdUp(), TGeoHMatrix::Clear(), ClearVisibleVolumes(), TString::Data(), fGeoManager, fGlobal, fPlugin, fTopVisible, fTopVolume, fVisBranch, fVisLevel, fVisLock, fVisVolumes, TGeoManager::GetCurrentMatrix(), TGeoIterator::GetCurrentMatrix(), TGeoManager::GetCurrentVolume(), TGeoManager::GetLevel(), TGeoIterator::GetLevel(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TGeoNode::GetNdaughters(), TGeoVolume::GetShape(), TGeoVolume::GetTransparency(), TGeoNode::GetVolume(), TGeoNode::IsOnScreen(), TGeoMatrix::IsReflection(), TGeoNode::IsVisDaughters(), TGeoNode::IsVisible(), kFALSE, kTRUE, TGeoAtt::kVisOnScreen, level, PaintShape(), TGeoManager::PopPath(), TGeoManager::PushPath(), TGeoAtt::SetAttBit(), TGeoVolume::SetLineColor(), TGeoVolume::SetLineStyle(), TGeoVolume::SetLineWidth(), TGeoManager::SetMatrixReflection(), TGeoManager::SetPaintVolume(), TGeoShape::SetTransform(), TGeoVolume::SetTransparency(), TGeoIterator::SetUserPlugin(), TGeoIterator::Skip(), TGeoAtt::TestAttBit(), and top().

Referenced by Paint(), and PaintNode().

void TGeoPainter::PrintOverlaps (  )  const [virtual]

Implements TVirtualGeoPainter.

Definition at line 1450 of file TGeoPainter.cxx.

References fChecker, and TGeoChecker::PrintOverlaps().

void TGeoPainter::PaintPhysicalNode ( TGeoPhysicalNode node,
Option_t option = "" 
)

Definition at line 1387 of file TGeoPainter.cxx.

References fGeoManager, fGlobal, TGeoPhysicalNode::GetLevel(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TGeoPhysicalNode::GetMatrix(), TGeoVolume::GetShape(), TGeoPhysicalNode::GetVolume(), i, TGeoPhysicalNode::IsVisible(), TGeoPhysicalNode::IsVisibleFull(), TGeoPhysicalNode::IsVolAttributes(), kFALSE, level, TAttLine::Modify(), PaintShape(), TGeoVolume::SetLineColor(), TGeoVolume::SetLineStyle(), TGeoVolume::SetLineWidth(), TGeoManager::SetMatrixReflection(), TGeoManager::SetPaintVolume(), and TGeoShape::SetTransform().

Referenced by Paint().

void TGeoPainter::RandomPoints ( const TGeoVolume vol,
Int_t  npoints,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1464 of file TGeoPainter.cxx.

References fChecker, and TGeoChecker::RandomPoints().

void TGeoPainter::RandomRays ( Int_t  nrays,
Double_t  startx,
Double_t  starty,
Double_t  startz 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1471 of file TGeoPainter.cxx.

References fChecker, and TGeoChecker::RandomRays().

void TGeoPainter::Raytrace ( Option_t option = ""  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 1478 of file TGeoPainter.cxx.

References TMath::Abs(), TGeoShape::Big(), c1, TGeoShape::Contains(), TMath::Cos(), TMath::DegToRad(), dir(), TGeoShape::DistFromInside(), TGeoShape::DistFromOutside(), TGeoManager::DoBackupState(), TGeoManager::DoRestoreState(), E, fChecker, fClippingShape, fGeoManager, TGeoManager::FindNextBoundaryAndStep(), TGeoManager::FindNormalFast(), fMat, fTopVolume, TPoint::fX, TPoint::fY, GetColor(), TGeoManager::GetCurrentPoint(), TView::GetDproj(), TView::GetDview(), TView::GetLatitude(), TAttLine::GetLineColor(), TView::GetLongitude(), TGeoManager::GetMother(), TView::GetPsi(), TView::GetRange(), TGeoManager::GetStep(), TGeoManager::GetTopVolume(), TGeoNode::GetVolume(), TView::GetWindow(), gPad, gVirtualX, i, TGeoManager::InitTrack(), TGeoManager::IsOutside(), TView::IsPerspective(), kFALSE, kTRUE, TGeoAtt::kVisOnScreen, local, LocalToMasterVect(), max, min, norm(), TGeoChecker::OpProgress(), OpProgress(), phi, s1, s2, TGeoManager::SetCurrentDirection(), TGeoManager::SetCurrentPoint(), TGeoManager::SetOutside(), TView::SetPerspective(), TGeoManager::SetStep(), TGeoManager::SetTopVolume(), TMath::Sin(), TMath::Sqrt(), TStopwatch::Start(), TGeoManager::Step(), TStopwatch::Stop(), TGeoAtt::TestAttBit(), timer, and top().

Referenced by Paint().

TGeoNode * TGeoPainter::SamplePoints ( Int_t  npoints,
Double_t dist,
Double_t  epsil,
const char *  g3path 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1680 of file TGeoPainter.cxx.

References fChecker, and TGeoChecker::SamplePoints().

void TGeoPainter::SetBombFactors ( Double_t  bombx = 1.3,
Double_t  bomby = 1.3,
Double_t  bombz = 1.3,
Double_t  bombr = 1.3 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1689 of file TGeoPainter.cxx.

References fBombR, fBombX, fBombY, fBombZ, IsExplodedView(), and ModifiedPad().

virtual void TGeoPainter::SetClippingShape ( TGeoShape shape  )  [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 154 of file TGeoPainter.h.

References fClippingShape.

void TGeoPainter::SetExplodedView ( Int_t  iopt = 0  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 1700 of file TGeoPainter.cxx.

References fExplodedView, gPad, kFALSE, TVirtualGeoPainter::kGeoBombCyl, TVirtualGeoPainter::kGeoBombSph, TVirtualGeoPainter::kGeoBombXYZ, TVirtualGeoPainter::kGeoNoBomb, kTRUE, ModifiedPad(), and TObject::Warning().

void TGeoPainter::SetNsegments ( Int_t  nseg = 20  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 1727 of file TGeoPainter.cxx.

References fNsegments, ModifiedPad(), and TObject::Warning().

void TGeoPainter::SetNmeshPoints ( Int_t  npoints  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 1740 of file TGeoPainter.cxx.

References fChecker, and TGeoChecker::SetNmeshPoints().

virtual void TGeoPainter::SetGeoManager ( TGeoManager geom  )  [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 158 of file TGeoPainter.h.

References fGeoManager.

virtual void TGeoPainter::SetIteratorPlugin ( TGeoIteratorPlugin plugin  )  [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 159 of file TGeoPainter.h.

References fPlugin, ModifiedPad(), and plugin.

void TGeoPainter::SetCheckedNode ( TGeoNode node  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 1746 of file TGeoPainter.cxx.

References fChecker, and TGeoChecker::SetSelectedNode().

virtual void TGeoPainter::SetRaytracing ( Bool_t  flag = kTRUE  )  [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 161 of file TGeoPainter.h.

References fIsRaytracing, and flag.

void TGeoPainter::SetTopVisible ( Bool_t  vis = kTRUE  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 1774 of file TGeoPainter.cxx.

References fTopVisible, and ModifiedPad().

virtual void TGeoPainter::SetTopVolume ( TGeoVolume vol  )  [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 163 of file TGeoPainter.h.

References fTopVolume.

void TGeoPainter::SetVisLevel ( Int_t  level = 3  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 1753 of file TGeoPainter.cxx.

References ClearVisibleVolumes(), fLastVolume, fTopVolume, fVisLevel, fVisLock, gPad, kFALSE, and ModifiedPad().

Referenced by CountVisibleNodes().

void TGeoPainter::SetVisOption ( Int_t  option = 0  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 1783 of file TGeoPainter.cxx.

References ClearVisibleVolumes(), fTopVolume, fVisLock, fVisOption, kFALSE, TVirtualGeoPainter::kGeoVisChanged, TVirtualGeoPainter::kGeoVisDefault, TVirtualGeoPainter::kGeoVisLeaves, TVirtualGeoPainter::kGeoVisOnly, kTRUE, TGeoAtt::kVisBranch, TGeoAtt::kVisContainers, TGeoAtt::kVisOnly, ModifiedPad(), TGeoAtt::SetAttBit(), and TObject::Warning().

Int_t TGeoPainter::ShapeDistancetoPrimitive ( const TGeoShape shape,
Int_t  numpoints,
Int_t  px,
Int_t  py 
) const [virtual]

Implements TVirtualGeoPainter.

Definition at line 1829 of file TGeoPainter.cxx.

References xmlio::Class, ROOT::Math::gv_detail::dist(), fBuffer, fGeoManager, fIsPaintingShape, TBuffer3D::fPnts, TGeoShape::GetTransform(), gPad, i, j, TGeoMatrix::LocalToMaster(), points, TGeoShape::SetPoints(), TBuffer3D::SetRawSizes(), TMath::Sqrt(), TView::WCtoNDC(), and x1.

void TGeoPainter::Test ( Int_t  npoints,
Option_t option 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1881 of file TGeoPainter.cxx.

References fChecker, and TGeoChecker::Test().

void TGeoPainter::TestOverlaps ( const char *  path  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 1888 of file TGeoPainter.cxx.

References fChecker, and TGeoChecker::TestOverlaps().

Bool_t TGeoPainter::TestVoxels ( TGeoVolume vol  )  [virtual]

Implements TVirtualGeoPainter.

Definition at line 1895 of file TGeoPainter.cxx.

References fChecker, and TGeoChecker::TestVoxels().

void TGeoPainter::UnbombTranslation ( const Double_t tr,
Double_t bombtr 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1902 of file TGeoPainter.cxx.

References fBombR, fBombX, fBombY, fBombZ, fExplodedView, TVirtualGeoPainter::kGeoBombCyl, TVirtualGeoPainter::kGeoBombSph, TVirtualGeoPainter::kGeoBombXYZ, and TVirtualGeoPainter::kGeoNoBomb.

Double_t TGeoPainter::Weight ( Double_t  precision,
Option_t option = "v" 
) [virtual]

Implements TVirtualGeoPainter.

Definition at line 1930 of file TGeoPainter.cxx.

References fChecker, and TGeoChecker::Weight().

void TGeoPainter::DefineColors (  )  const [private]

void TGeoPainter::LocalToMasterVect ( const Double_t local,
Double_t master 
) const [private]

virtual void TGeoPainter::ClearVisibleVolumes (  )  [protected, virtual]

virtual void TGeoPainter::AddSize3D ( Int_t  numpoints,
Int_t  numsegs,
Int_t  numpolys 
) [virtual]

Implements TVirtualGeoPainter.

virtual TVirtualGeoTrack* TGeoPainter::AddTrack ( Int_t  id,
Int_t  pdgcode,
TObject part 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::AddTrackPoint ( Double_t point,
Double_t box,
Bool_t  reset = kFALSE 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::BombTranslation ( const Double_t tr,
Double_t bombtr 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::CheckBoundaryErrors ( Int_t  ntracks = 1000000,
Double_t  radius = -1. 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::CheckBoundaryReference ( Int_t  icheck = -1  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::CheckGeometryFull ( Bool_t  checkoverlaps = kTRUE,
Bool_t  checkcrossings = kTRUE,
Int_t  nrays = 10000,
const Double_t vertex = NULL 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::CheckGeometry ( Int_t  nrays,
Double_t  startx,
Double_t  starty,
Double_t  startz 
) const [virtual]

Implements TVirtualGeoPainter.

void TGeoPainter::CheckEdit (  ) 

virtual void TGeoPainter::CheckPoint ( Double_t  x = 0,
Double_t  y = 0,
Double_t  z = 0,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::CheckOverlaps ( const TGeoVolume vol,
Double_t  ovlp = 0.1,
Option_t option = "" 
) const [virtual]

Implements TVirtualGeoPainter.

Int_t TGeoPainter::CountNodes ( TGeoVolume vol,
Int_t  level 
) const

virtual Int_t TGeoPainter::CountVisibleNodes (  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::DefaultAngles (  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::DefaultColors (  )  [virtual]

Implements TVirtualGeoPainter.

virtual Int_t TGeoPainter::DistanceToPrimitiveVol ( TGeoVolume vol,
Int_t  px,
Int_t  py 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::Draw ( Option_t option = ""  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::DrawBatemanSol ( TGeoBatemanSol sol,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::DrawOverlap ( void *  ovlp,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::DrawCurrentPoint ( Int_t  color  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::DrawOnly ( Option_t option = ""  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::DrawPanel (  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::DrawPath ( const char *  path  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::DrawShape ( TGeoShape shape,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::DrawVolume ( TGeoVolume vol,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::EditGeometry ( Option_t option = ""  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::EstimateCameraMove ( Double_t  tmin,
Double_t  tmax,
Double_t start,
Double_t end 
) [virtual]

Reimplemented from TVirtualGeoPainter.

virtual void TGeoPainter::ExecuteManagerEvent ( TGeoManager geom,
Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::ExecuteShapeEvent ( TGeoShape shape,
Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::ExecuteVolumeEvent ( TGeoVolume volume,
Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Implements TVirtualGeoPainter.

virtual const char* TGeoPainter::GetVolumeInfo ( const TGeoVolume volume,
Int_t  px,
Int_t  py 
) const [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::GetBombFactors ( Double_t bombx,
Double_t bomby,
Double_t bombz,
Double_t bombr 
) const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 117 of file TGeoPainter.h.

References fBombR, fBombX, fBombY, and fBombZ.

virtual Int_t TGeoPainter::GetBombMode (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 119 of file TGeoPainter.h.

References fExplodedView.

virtual TGeoNode* TGeoPainter::GetCheckedNode (  )  [inline, virtual]

Definition at line 120 of file TGeoPainter.h.

References fCheckedNode.

TGeoChecker* TGeoPainter::GetChecker (  ) 

virtual Int_t TGeoPainter::GetColor ( Int_t  base,
Float_t  light 
) const [virtual]

Implements TVirtualGeoPainter.

virtual const char* TGeoPainter::GetDrawPath (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 123 of file TGeoPainter.h.

References TString::Data(), and fVisBranch.

virtual TGeoVolume* TGeoPainter::GetDrawnVolume (  )  const [virtual]

Implements TVirtualGeoPainter.

virtual TGeoVolume* TGeoPainter::GetTopVolume (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 125 of file TGeoPainter.h.

References fTopVolume.

virtual Int_t TGeoPainter::GetVisLevel (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 126 of file TGeoPainter.h.

References fVisLevel.

virtual Int_t TGeoPainter::GetVisOption (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 127 of file TGeoPainter.h.

References fVisOption.

Int_t TGeoPainter::GetNsegments (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 128 of file TGeoPainter.h.

References fNsegments.

virtual void TGeoPainter::GrabFocus ( Int_t  nfr = 0,
Double_t  dlong = 0,
Double_t  dlat = 0,
Double_t  dpsi = 0 
) [virtual]

Implements TVirtualGeoPainter.

virtual Double_t* TGeoPainter::GetViewBox (  )  [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 130 of file TGeoPainter.h.

References fCheckedBox.

virtual void TGeoPainter::GetViewAngles ( Double_t longitude,
Double_t latitude,
Double_t psi 
) [virtual]

Reimplemented from TVirtualGeoPainter.

virtual Bool_t TGeoPainter::IsExplodedView (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 132 of file TGeoPainter.h.

References fExplodedView, kFALSE, TVirtualGeoPainter::kGeoVisDefault, and kTRUE.

virtual Bool_t TGeoPainter::IsRaytracing (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 133 of file TGeoPainter.h.

References fIsRaytracing.

virtual Bool_t TGeoPainter::IsPaintingShape (  )  const [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 134 of file TGeoPainter.h.

References fIsPaintingShape.

TH2F* TGeoPainter::LegoPlot ( Int_t  ntheta = 60,
Double_t  themin = 0.,
Double_t  themax = 180.,
Int_t  nphi = 90,
Double_t  phimin = 0.,
Double_t  phimax = 360.,
Double_t  rmin = 0.,
Double_t  rmax = 9999999,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

void TGeoPainter::Lock ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 138 of file TGeoPainter.h.

References flag, and fVisLock.

virtual void TGeoPainter::ModifiedPad ( Bool_t  update = kFALSE  )  const [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::OpProgress ( const char *  opname,
Long64_t  current,
Long64_t  size,
TStopwatch watch = 0,
Bool_t  last = kFALSE,
Bool_t  refresh = kFALSE 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::Paint ( Option_t option = ""  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::PaintNode ( TGeoNode node,
Option_t option = "",
TGeoMatrix global = 0 
) [virtual]

Implements TVirtualGeoPainter.

Bool_t TGeoPainter::PaintShape ( const TGeoShape shape,
Option_t option 
) const

virtual void TGeoPainter::PaintShape ( TGeoShape shape,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::PaintOverlap ( void *  ovlp,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::PaintVolume ( TGeoVolume vol,
Option_t option = "",
TGeoMatrix global = 0 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::PrintOverlaps (  )  const [virtual]

Implements TVirtualGeoPainter.

void TGeoPainter::PaintPhysicalNode ( TGeoPhysicalNode node,
Option_t option = "" 
)

virtual void TGeoPainter::RandomPoints ( const TGeoVolume vol,
Int_t  npoints,
Option_t option = "" 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::RandomRays ( Int_t  nrays,
Double_t  startx,
Double_t  starty,
Double_t  startz 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::Raytrace ( Option_t option = ""  )  [virtual]

Implements TVirtualGeoPainter.

virtual TGeoNode* TGeoPainter::SamplePoints ( Int_t  npoints,
Double_t dist,
Double_t  epsil,
const char *  g3path 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::SetBombFactors ( Double_t  bombx = 1.3,
Double_t  bomby = 1.3,
Double_t  bombz = 1.3,
Double_t  bombr = 1.3 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::SetClippingShape ( TGeoShape shape  )  [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 154 of file TGeoPainter.h.

References fClippingShape.

virtual void TGeoPainter::SetExplodedView ( Int_t  iopt = 0  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::SetNsegments ( Int_t  nseg = 20  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::SetNmeshPoints ( Int_t  npoints  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::SetGeoManager ( TGeoManager geom  )  [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 158 of file TGeoPainter.h.

References fGeoManager.

virtual void TGeoPainter::SetIteratorPlugin ( TGeoIteratorPlugin plugin  )  [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 159 of file TGeoPainter.h.

References fPlugin, ModifiedPad(), and plugin.

virtual void TGeoPainter::SetCheckedNode ( TGeoNode node  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::SetRaytracing ( Bool_t  flag = kTRUE  )  [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 161 of file TGeoPainter.h.

References fIsRaytracing, and flag.

virtual void TGeoPainter::SetTopVisible ( Bool_t  vis = kTRUE  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::SetTopVolume ( TGeoVolume vol  )  [inline, virtual]

Implements TVirtualGeoPainter.

Definition at line 163 of file TGeoPainter.h.

References fTopVolume.

virtual void TGeoPainter::SetVisLevel ( Int_t  level = 3  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::SetVisOption ( Int_t  option = 0  )  [virtual]

Implements TVirtualGeoPainter.

virtual Int_t TGeoPainter::ShapeDistancetoPrimitive ( const TGeoShape shape,
Int_t  numpoints,
Int_t  px,
Int_t  py 
) const [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::Test ( Int_t  npoints,
Option_t option 
) [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::TestOverlaps ( const char *  path  )  [virtual]

Implements TVirtualGeoPainter.

virtual Bool_t TGeoPainter::TestVoxels ( TGeoVolume vol  )  [virtual]

Implements TVirtualGeoPainter.

virtual void TGeoPainter::UnbombTranslation ( const Double_t tr,
Double_t bombtr 
) [virtual]

Implements TVirtualGeoPainter.

virtual Double_t TGeoPainter::Weight ( Double_t  precision,
Option_t option = "v" 
) [virtual]

Implements TVirtualGeoPainter.


Member Data Documentation

Double_t TGeoPainter::fBombX [private]

Definition at line 45 of file TGeoPainter.h.

Referenced by BombTranslation(), GetBombFactors(), SetBombFactors(), and UnbombTranslation().

Double_t TGeoPainter::fBombY [private]

Definition at line 46 of file TGeoPainter.h.

Referenced by BombTranslation(), GetBombFactors(), SetBombFactors(), and UnbombTranslation().

Double_t TGeoPainter::fBombZ [private]

Definition at line 47 of file TGeoPainter.h.

Referenced by BombTranslation(), GetBombFactors(), SetBombFactors(), and UnbombTranslation().

Double_t TGeoPainter::fBombR [private]

Definition at line 48 of file TGeoPainter.h.

Referenced by BombTranslation(), GetBombFactors(), SetBombFactors(), and UnbombTranslation().

Double_t TGeoPainter::fCheckedBox [private]

Definition at line 49 of file TGeoPainter.h.

Referenced by DistanceToPrimitiveVol(), GetViewBox(), and GrabFocus().

Double_t TGeoPainter::fMat [private]

Definition at line 50 of file TGeoPainter.h.

Referenced by LocalToMasterVect(), and Raytrace().

Int_t TGeoPainter::fNsegments [private]

Definition at line 51 of file TGeoPainter.h.

Referenced by GetNsegments(), and SetNsegments().

Int_t TGeoPainter::fNVisNodes [private]

Definition at line 52 of file TGeoPainter.h.

Referenced by CountVisibleNodes().

Int_t TGeoPainter::fVisLevel [private]

Definition at line 53 of file TGeoPainter.h.

Referenced by CountVisibleNodes(), DistanceToPrimitiveVol(), GetVisLevel(), PaintVolume(), and SetVisLevel().

Int_t TGeoPainter::fVisOption [private]

Definition at line 54 of file TGeoPainter.h.

Referenced by DrawOnly(), DrawPath(), GetVisOption(), Paint(), and SetVisOption().

Int_t TGeoPainter::fExplodedView [private]

Definition at line 55 of file TGeoPainter.h.

Referenced by BombTranslation(), GetBombMode(), IsExplodedView(), SetExplodedView(), and UnbombTranslation().

Bool_t TGeoPainter::fVisLock [private]

Definition at line 56 of file TGeoPainter.h.

Referenced by DrawOnly(), DrawOverlap(), DrawVolume(), Lock(), Paint(), PaintOverlap(), PaintVolume(), SetVisLevel(), and SetVisOption().

Bool_t TGeoPainter::fTopVisible [private]

Definition at line 57 of file TGeoPainter.h.

Referenced by CountNodes(), DistanceToPrimitiveVol(), PaintVolume(), and SetTopVisible().

Bool_t TGeoPainter::fPaintingOverlaps [private]

Definition at line 58 of file TGeoPainter.h.

Referenced by DistanceToPrimitiveVol(), DrawOnly(), DrawOverlap(), DrawShape(), DrawVolume(), GetVolumeInfo(), and GrabFocus().

Bool_t TGeoPainter::fIsRaytracing [private]

Definition at line 59 of file TGeoPainter.h.

Referenced by IsRaytracing(), Paint(), and SetRaytracing().

Bool_t TGeoPainter::fIsPaintingShape [private]

Definition at line 60 of file TGeoPainter.h.

Referenced by DrawOnly(), DrawOverlap(), DrawPath(), DrawShape(), DrawVolume(), IsPaintingShape(), and ShapeDistancetoPrimitive().

TString TGeoPainter::fVisBranch [private]

Definition at line 61 of file TGeoPainter.h.

Referenced by CountNodes(), DistanceToPrimitiveVol(), DrawPath(), GetDrawPath(), and PaintVolume().

TString TGeoPainter::fVolInfo [private]

Definition at line 62 of file TGeoPainter.h.

Referenced by DistanceToPrimitiveVol(), and GetVolumeInfo().

TGeoNode* TGeoPainter::fCheckedNode [private]

Definition at line 63 of file TGeoPainter.h.

Referenced by DistanceToPrimitiveVol(), GetCheckedNode(), and GrabFocus().

TGeoOverlap* TGeoPainter::fOverlap [private]

Definition at line 64 of file TGeoPainter.h.

Referenced by DistanceToPrimitiveVol(), DrawOverlap(), DrawShape(), DrawVolume(), GetVolumeInfo(), and PaintOverlap().

TGeoHMatrix* TGeoPainter::fGlobal [private]

Definition at line 65 of file TGeoPainter.h.

Referenced by DistanceToPrimitiveVol(), PaintOverlap(), PaintPhysicalNode(), PaintShape(), PaintVolume(), and ~TGeoPainter().

TBuffer3D* TGeoPainter::fBuffer [private]

Definition at line 66 of file TGeoPainter.h.

Referenced by ShapeDistancetoPrimitive(), and ~TGeoPainter().

TGeoManager* TGeoPainter::fGeoManager [private]

Definition at line 67 of file TGeoPainter.h.

Referenced by CountNodes(), CountVisibleNodes(), DefaultColors(), DistanceToPrimitiveVol(), Draw(), DrawCurrentPoint(), DrawOnly(), DrawPath(), EditGeometry(), GetChecker(), GrabFocus(), Paint(), PaintOverlap(), PaintPhysicalNode(), PaintShape(), PaintVolume(), Raytrace(), SetGeoManager(), and ShapeDistancetoPrimitive().

TGeoChecker* TGeoPainter::fChecker [private]

Definition at line 68 of file TGeoPainter.h.

Referenced by CheckBoundaryErrors(), CheckBoundaryReference(), CheckGeometry(), CheckGeometryFull(), CheckOverlaps(), CheckPoint(), GetChecker(), LegoPlot(), OpProgress(), PrintOverlaps(), RandomPoints(), RandomRays(), Raytrace(), SamplePoints(), SetCheckedNode(), SetNmeshPoints(), Test(), TestOverlaps(), TestVoxels(), Weight(), and ~TGeoPainter().

TGeoShape* TGeoPainter::fClippingShape [private]

Definition at line 69 of file TGeoPainter.h.

Referenced by Raytrace(), and SetClippingShape().

TGeoVolume* TGeoPainter::fTopVolume [private]

Definition at line 70 of file TGeoPainter.h.

Referenced by CountVisibleNodes(), DistanceToPrimitiveVol(), DrawOnly(), DrawPath(), DrawVolume(), GetDrawnVolume(), GetTopVolume(), Paint(), PaintVolume(), Raytrace(), SetTopVolume(), SetVisLevel(), and SetVisOption().

TGeoVolume* TGeoPainter::fLastVolume [private]

Definition at line 71 of file TGeoPainter.h.

Referenced by DrawVolume(), and SetVisLevel().

TGeoIteratorPlugin* TGeoPainter::fPlugin [private]

Definition at line 73 of file TGeoPainter.h.

Referenced by PaintVolume(), SetIteratorPlugin(), and ~TGeoPainter().

TObjArray* TGeoPainter::fVisVolumes [private]

Definition at line 74 of file TGeoPainter.h.

Referenced by ClearVisibleVolumes(), GrabFocus(), PaintOverlap(), PaintVolume(), and ~TGeoPainter().

Bool_t TGeoPainter::fIsEditable [private]

Definition at line 75 of file TGeoPainter.h.

Referenced by CheckEdit(), EditGeometry(), ExecuteManagerEvent(), ExecuteShapeEvent(), and ExecuteVolumeEvent().

TGeoNode* TGeoPainter::fCheckedNode [private]

Definition at line 63 of file TGeoPainter.h.

TGeoOverlap* TGeoPainter::fOverlap [private]

Definition at line 64 of file TGeoPainter.h.

TGeoHMatrix* TGeoPainter::fGlobal [private]

Definition at line 65 of file TGeoPainter.h.

TBuffer3D* TGeoPainter::fBuffer [private]

Definition at line 66 of file TGeoPainter.h.

TGeoManager* TGeoPainter::fGeoManager [private]

Definition at line 67 of file TGeoPainter.h.

TGeoChecker* TGeoPainter::fChecker [private]

Definition at line 68 of file TGeoPainter.h.

TGeoShape* TGeoPainter::fClippingShape [private]

Definition at line 69 of file TGeoPainter.h.

TGeoVolume* TGeoPainter::fTopVolume [private]

Definition at line 70 of file TGeoPainter.h.

TGeoVolume* TGeoPainter::fLastVolume [private]

Definition at line 71 of file TGeoPainter.h.

TGeoIteratorPlugin* TGeoPainter::fPlugin [private]

Definition at line 73 of file TGeoPainter.h.

TObjArray* TGeoPainter::fVisVolumes [private]

Definition at line 74 of file TGeoPainter.h.


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