ROOT logo
ROOT » GEOM » GEOM » TVirtualGeoPainter

class TVirtualGeoPainter: public TObject

 TVirtualGeoPainter

 ABC for geometry painters

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TVirtualGeoPainter()
voidTObject::AbstractMethod(const char* method) const
virtual voidAddSize3D(Int_t numpoints, Int_t numsegs, Int_t numpolys)
virtual TVirtualGeoTrack*AddTrack(Int_t id, Int_t pdgcode, TObject* particle)
virtual voidAddTrackPoint(Double_t* point, Double_t* box, Bool_t reset = kFALSE)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidBombTranslation(const Double_t* tr, Double_t* bombtr)
virtual voidTObject::Browse(TBrowser* b)
virtual voidCheckBoundaryErrors(Int_t ntracks = 1000000, Double_t radius = -1.)
virtual voidCheckBoundaryReference(Int_t icheck = -1)
virtual voidCheckGeometry(Int_t nrays, Double_t startx, Double_t starty, Double_t startz) const
virtual voidCheckGeometryFull(Bool_t checkoverlaps = kTRUE, Bool_t checkcrossings = kTRUE, Int_t nrays = 10000, const Double_t* vertex = NULL)
virtual voidCheckOverlaps(const TGeoVolume* vol, Double_t ovlp = 0.1, Option_t* option = "") const
virtual voidCheckPoint(Double_t x = 0, Double_t y = 0, Double_t z = 0, Option_t* option = "")
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual Int_tCountVisibleNodes()
virtual voidDefaultAngles()
virtual voidDefaultColors()
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual Int_tDistanceToPrimitiveVol(TGeoVolume* vol, Int_t px, Int_t py)
virtual voidDraw(Option_t* option = "")
virtual voidDrawBatemanSol(TGeoBatemanSol* sol, Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidDrawCurrentPoint(Int_t color)
virtual voidDrawOnly(Option_t* option = "")
virtual voidDrawOverlap(void* ovlp, Option_t* option = "")
virtual voidDrawPanel()
virtual voidDrawPath(const char* path)
virtual voidDrawShape(TGeoShape* shape, Option_t* option = "")
virtual voidDrawVolume(TGeoVolume* vol, Option_t* option = "")
virtual voidTObject::Dump() constMENU
virtual voidEditGeometry(Option_t* option = "")
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidEstimateCameraMove(Double_t, Double_t, Double_t*, Double_t*)
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidExecuteManagerEvent(TGeoManager* geom, Int_t event, Int_t px, Int_t py)
virtual voidExecuteShapeEvent(TGeoShape* shape, Int_t event, Int_t px, Int_t py)
virtual voidExecuteVolumeEvent(TGeoVolume* volume, Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
static TVirtualGeoPainter*GeoPainter()
virtual voidGetBombFactors(Double_t& bombx, Double_t& bomby, Double_t& bombz, Double_t& bombr) const
virtual Int_tGetBombMode() const
virtual Int_tGetColor(Int_t base, Float_t light) const
virtual TGeoVolume*GetDrawnVolume() const
virtual Option_t*TObject::GetDrawOption() const
virtual const char*GetDrawPath() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual Int_tGetNsegments() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TObject::GetTitle() const
virtual TGeoVolume*GetTopVolume() const
virtual UInt_tTObject::GetUniqueID() const
virtual voidGetViewAngles(Double_t&, Double_t&, Double_t&)
virtual Double_t*GetViewBox()
virtual Int_tGetVisLevel() const
virtual Int_tGetVisOption() const
virtual char*GetVolumeInfo(const TGeoVolume* volume, Int_t px, Int_t py) const
virtual voidGrabFocus(Int_t nfr = 0, Double_t dlong = 0, Double_t dlat = 0, Double_t dpsi = 0)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tIsExplodedView() const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsPaintingShape() const
virtual Bool_tIsRaytracing() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual TH2F*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 voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidModifiedPad(Bool_t update = kFALSE) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TVirtualGeoPainter&operator=(const TVirtualGeoPainter&)
virtual voidOpProgress(const char* opname, Long64_t current, Long64_t size, TStopwatch* watch = 0, Bool_t last = kFALSE, Bool_t refresh = kFALSE)
virtual voidPaint(Option_t* option = "")
virtual voidPaintNode(TGeoNode* node, Option_t* option = "", TGeoMatrix* global = 0)
virtual voidPaintOverlap(void* ovlp, Option_t* option = "")
virtual voidPaintShape(TGeoShape* shape, Option_t* option = "")
virtual voidPaintVolume(TGeoVolume* vol, Option_t* option = "", TGeoMatrix* global = 0)
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual voidPrintOverlaps() const
virtual voidRandomPoints(const TGeoVolume* vol, Int_t npoints, Option_t* option = "")
virtual voidRandomRays(Int_t nrays, Double_t startx, Double_t starty, Double_t startz)
virtual voidRaytrace(Option_t* option = "")
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual TGeoNode*SamplePoints(Int_t npoints, Double_t& dist, Double_t epsil, const char* g3path)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidSetBombFactors(Double_t bombx = 1.3, Double_t bomby = 1.3, Double_t bombz = 1.3, Double_t bombr = 1.3)
virtual voidSetCheckedNode(TGeoNode* node)
virtual voidSetClippingShape(TGeoShape* shape)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidSetExplodedView(Int_t iopt = 0)
virtual voidSetGeoManager(TGeoManager* geom)
virtual voidSetIteratorPlugin(TGeoIteratorPlugin* plugin)
virtual voidSetNmeshPoints(Int_t npoints)
virtual voidSetNsegments(Int_t nseg = 20)
static voidTObject::SetObjectStat(Bool_t stat)
static voidSetPainter(const TVirtualGeoPainter* painter)
virtual voidSetRaytracing(Bool_t flag = kTRUE)
virtual voidSetTopVisible(Bool_t vis = kTRUE)
virtual voidSetTopVolume(TGeoVolume* vol)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidSetVisLevel(Int_t level = 3)
virtual voidSetVisOption(Int_t option = 0)
virtual Int_tShapeDistancetoPrimitive(const TGeoShape* shape, Int_t numpoints, Int_t px, Int_t py) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
virtual voidTest(Int_t npoints, Option_t* option)
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTestOverlaps(const char* path)
virtual Bool_tTestVoxels(TGeoVolume* vol)
virtual voidUnbombTranslation(const Double_t* tr, Double_t* bombtr)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Double_tWeight(Double_t precision, Option_t* option = "v")
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum EGeoVisLevel { kGeoVisLevel
};
enum EGeoVisOption { kGeoVisDefault
kGeoVisLeaves
kGeoVisOnly
kGeoVisBranch
kGeoVisChanged
};
enum EGeoBombOption { kGeoNoBomb
kGeoBombXYZ
kGeoBombCyl
kGeoBombSph
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
static TVirtualGeoPainter*fgGeoPainterPointer to class painter

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

~TVirtualGeoPainter()
-*-*Geometry painter default destructor
*-*                  ===================================
TVirtualGeoPainter * GeoPainter()
 Static function returning a pointer to the geometry painter.
 The painter will paint objects from the specified geometry.
 If the geometry painter does not exist a default painter is created.
void SetPainter(const TVirtualGeoPainter* painter)
 Static function to set an alternative histogram painter.
void AddSize3D(Int_t numpoints, Int_t numsegs, Int_t numpolys)
TVirtualGeoTrack * AddTrack(Int_t id, Int_t pdgcode, TObject* particle)
void AddTrackPoint(Double_t* point, Double_t* box, Bool_t reset = kFALSE)
void BombTranslation(const Double_t* tr, Double_t* bombtr)
void CheckPoint(Double_t x = 0, Double_t y = 0, Double_t z = 0, Option_t* option = "")
void CheckBoundaryErrors(Int_t ntracks = 1000000, Double_t radius = -1.)
void CheckBoundaryReference(Int_t icheck = -1)
void CheckGeometryFull(Bool_t checkoverlaps = kTRUE, Bool_t checkcrossings = kTRUE, Int_t nrays = 10000, const Double_t* vertex = NULL)
void CheckGeometry(Int_t nrays, Double_t startx, Double_t starty, Double_t startz) const
void CheckOverlaps(const TGeoVolume* vol, Double_t ovlp = 0.1, Option_t* option = "") const
Int_t CountVisibleNodes()
void DefaultAngles()
void DefaultColors()
Int_t DistanceToPrimitiveVol(TGeoVolume* vol, Int_t px, Int_t py)
void Draw(Option_t* option = "")
void DrawBatemanSol(TGeoBatemanSol* sol, Option_t* option = "")
void DrawShape(TGeoShape* shape, Option_t* option = "")
void DrawOnly(Option_t* option = "")
void DrawOverlap(void* ovlp, Option_t* option = "")
void DrawCurrentPoint(Int_t color)
void DrawPanel()
void DrawPath(const char* path)
void DrawVolume(TGeoVolume* vol, Option_t* option = "")
void EditGeometry(Option_t* option = "")
void EstimateCameraMove(Double_t , Double_t , Double_t* , Double_t* )
{;}
void ExecuteShapeEvent(TGeoShape* shape, Int_t event, Int_t px, Int_t py)
void ExecuteManagerEvent(TGeoManager* geom, Int_t event, Int_t px, Int_t py)
void ExecuteVolumeEvent(TGeoVolume* volume, Int_t event, Int_t px, Int_t py)
Int_t GetColor(Int_t base, Float_t light) const
Int_t GetNsegments() const
void GetBombFactors(Double_t& bombx, Double_t& bomby, Double_t& bombz, Double_t& bombr) const
Int_t GetBombMode() const
const char * GetDrawPath() const
TGeoVolume * GetDrawnVolume() const
TGeoVolume * GetTopVolume() const
void GetViewAngles(Double_t& , Double_t& , Double_t& )
{;}
Int_t GetVisLevel() const
Int_t GetVisOption() const
char * GetVolumeInfo(const TGeoVolume* volume, Int_t px, Int_t py) const
void GrabFocus(Int_t nfr = 0, Double_t dlong = 0, Double_t dlat = 0, Double_t dpsi = 0)
Double_t * GetViewBox()
Bool_t IsPaintingShape() const
Bool_t IsRaytracing() const
Bool_t IsExplodedView() const
TH2F * 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 = "")
void OpProgress(const char* opname, Long64_t current, Long64_t size, TStopwatch* watch = 0, Bool_t last = kFALSE, Bool_t refresh = kFALSE)
void Paint(Option_t* option = "")
void PaintNode(TGeoNode* node, Option_t* option = "", TGeoMatrix* global = 0)
void PaintShape(TGeoShape* shape, Option_t* option = "")
void PaintOverlap(void* ovlp, Option_t* option = "")
void PrintOverlaps() const
void PaintVolume(TGeoVolume* vol, Option_t* option = "", TGeoMatrix* global = 0)
void RandomPoints(const TGeoVolume* vol, Int_t npoints, Option_t* option = "")
void RandomRays(Int_t nrays, Double_t startx, Double_t starty, Double_t startz)
void Raytrace(Option_t* option = "")
TGeoNode * SamplePoints(Int_t npoints, Double_t& dist, Double_t epsil, const char* g3path)
void SetBombFactors(Double_t bombx = 1.3, Double_t bomby = 1.3, Double_t bombz = 1.3, Double_t bombr = 1.3)
void SetExplodedView(Int_t iopt = 0)
void SetGeoManager(TGeoManager* geom)
void SetIteratorPlugin(TGeoIteratorPlugin* plugin)
void SetCheckedNode(TGeoNode* node)
void SetNsegments(Int_t nseg = 20)
void SetNmeshPoints(Int_t npoints)
void SetRaytracing(Bool_t flag = kTRUE)
void SetTopVisible(Bool_t vis = kTRUE)
void SetTopVolume(TGeoVolume* vol)
void SetVisLevel(Int_t level = 3)
void SetVisOption(Int_t option = 0)
Int_t ShapeDistancetoPrimitive(const TGeoShape* shape, Int_t numpoints, Int_t px, Int_t py) const
void Test(Int_t npoints, Option_t* option)
void TestOverlaps(const char* path)
Bool_t TestVoxels(TGeoVolume* vol)
void UnbombTranslation(const Double_t* tr, Double_t* bombtr)
Double_t Weight(Double_t precision, Option_t* option = "v")