library: libGeom
#include "TVirtualGeoPainter.h"

TVirtualGeoPainter


class description - header file - source file
viewCVS header - viewCVS source

class TVirtualGeoPainter: public TObject

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
 
    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 voidCheckGeometry(Int_t nrays, Double_t startx, Double_t starty, Double_t startz) const
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 = "")
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() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
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() const
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() const
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 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 = "") const
virtual voidTObject::SavePrimitive(ostream& 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 voidSetClippingShape(TGeoShape* shape)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual voidSetExplodedView(Int_t iopt = 0)
virtual voidSetGeoManager(TGeoManager* geom)
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 Description

~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 CheckGeometry(Int_t nrays, Double_t startx, Double_t starty, Double_t startz)
void CheckOverlaps(const TGeoVolume *vol, Double_t ovlp=0.1, Option_t *option="")
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 /*tmin*/, Double_t /*tmax*/, 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)
Int_t GetNsegments()
void GetBombFactors(Double_t &bombx, Double_t &bomby, Double_t &bombz, Double_t &bombr)
Int_t GetBombMode()
const char * GetDrawPath()
TGeoVolume * GetDrawnVolume()
TGeoVolume * GetTopVolume()
void GetViewAngles(Double_t &/*longitude*/, Double_t &/*latitude*/, Double_t &/*psi*/)
{;}
Int_t GetVisLevel()
Int_t GetVisOption()
char * GetVolumeInfo(const TGeoVolume *volume, Int_t px, Int_t py)
void GrabFocus(Int_t nfr=0, Double_t dlong=0, Double_t dlat=0, Double_t dpsi=0)
Double_t * GetViewBox()
Bool_t IsPaintingShape()
Bool_t IsRaytracing()
Bool_t IsExplodedView()
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 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()
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 SetNsegments(Int_t nseg=20)
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)
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")

Author: Andrei Gheata 11/01/02
Last update: root/geom:$Name: $:$Id: TVirtualGeoPainter.cxx,v 1.5 2005/04/25 07:53:27 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.