Go to the source code of this file.
Functions | |
void | csgdemo () |
void | MakePicture () |
void | s_union () |
void | s_intersection () |
void | s_difference () |
void | complex_1 () |
void | AddText (TPaveText *pave, const char *datamember, Double_t value, const char *comment) |
void | AddText (TPaveText *pave, const char *datamember, Int_t value, const char *comment) |
void | AddText (TPaveText *pave, TObject *pf, Int_t iaxis) |
void | raytrace () |
void | help () |
Variables | |
Bool_t | raytracing = kTRUE |
Definition at line 302 of file csgdemo.C.
References TPaveText::AddText(), AddText(), TGeoShape::GetAxisName(), TNamed::GetName(), TGeoPatternFinder::GetNdiv(), TGeoVolume::GetShape(), TGeoPatternFinder::GetStart(), TGeoPatternFinder::GetStep(), TGeoPatternFinder::GetVolume(), i, line, TAttText::SetTextColor(), sprintf(), and text().
Definition at line 268 of file csgdemo.C.
References TPaveText::AddText(), i, line, number, sprintf(), and text().
Referenced by AddText(), arb8(), box(), cone(), coneseg(), ctub(), eltu(), G__G__Graf_152_0_7(), G__G__Graf_152_0_8(), G__G__Gui1_238_0_8(), G__G__Gui1_238_0_9(), G__G__Gui2_302_0_10(), G__G__Gui2_315_0_22(), G__G__Gui2_329_0_42(), G__G__Gui3_273_0_5(), G__G__Gui3_358_0_20(), goftest(), gtra(), hype(), para(), parab(), pcon(), pgon(), sphere(), torus(), trap(), trd1(), trd2(), tube(), tubeseg(), and xtru().
void complex_1 | ( | ) |
Definition at line 200 of file csgdemo.C.
References TPaveText::AddText(), c, TGeoManager::CloseGeometry(), TCollection::Delete(), TPaveText::Draw(), TROOT::GetListOfCanvases(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), TGeoMatrix::RegisterYourself(), TPaveText::SetAllWith(), TAttLine::SetLineColor(), TNamed::SetName(), TGeoManager::SetNsegments(), TAttText::SetTextAlign(), TAttText::SetTextSize(), TGeoManager::SetTopVolume(), text(), and top().
void csgdemo | ( | ) |
Definition at line 7 of file csgdemo.C.
References gROOT, gSystem, TSystem::Load(), and TROOT::SaveContext().
void MakePicture | ( | ) |
Definition at line 23 of file csgdemo.C.
References TGeoManager::GetGeomPainter(), gGeoManager, gPad, kFALSE, and TVirtualGeoPainter::SetRaytracing().
Referenced by arb8(), box(), complex_1(), composite(), cone(), coneseg(), ctub(), eltu(), gtra(), hype(), ideal(), para(), parab(), pcon(), pgon(), s_difference(), s_intersection(), s_union(), sphere(), torus(), trap(), trd1(), trd2(), tube(), tubeseg(), and xtru().
void raytrace | ( | ) |
Definition at line 320 of file csgdemo.C.
References TGeoManager::GetGeomPainter(), gGeoManager, gPad, raytracing, and TVirtualGeoPainter::SetRaytracing().
void s_difference | ( | ) |
Definition at line 146 of file csgdemo.C.
References TPaveText::AddText(), c, TGeoManager::CloseGeometry(), TCollection::Delete(), TPaveText::Draw(), TROOT::GetListOfCanvases(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), TPaveText::SetAllWith(), TAttLine::SetLineColor(), TGeoManager::SetNsegments(), TAttText::SetTextAlign(), TAttText::SetTextSize(), TGeoManager::SetTopVolume(), text(), and top().
void s_intersection | ( | ) |
Definition at line 88 of file csgdemo.C.
References TPaveText::AddText(), c, TGeoManager::CloseGeometry(), TCollection::Delete(), TPaveText::Draw(), TROOT::GetListOfCanvases(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), TGeoMatrix::RegisterYourself(), TPaveText::SetAllWith(), TAttLine::SetLineColor(), TNamed::SetName(), TGeoManager::SetNsegments(), TAttText::SetTextAlign(), TAttText::SetTextSize(), TGeoManager::SetTopVolume(), text(), and top().
void s_union | ( | ) |
Definition at line 31 of file csgdemo.C.
References TPaveText::AddText(), c, TGeoManager::CloseGeometry(), TCollection::Delete(), TPaveText::Draw(), TROOT::GetListOfCanvases(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), pgon(), TGeoMatrix::RegisterYourself(), TPaveText::SetAllWith(), TAttLine::SetLineColor(), TNamed::SetName(), TGeoManager::SetNsegments(), TAttText::SetTextAlign(), TAttText::SetTextSize(), TGeoManager::SetTopVolume(), text(), and top().