TVirtualGeoPainter


class description - source file - inheritance tree

class TVirtualGeoPainter : public TObject


    public:
virtual void ~TVirtualGeoPainter() virtual void AddSize3D(Int_t numpoints, Int_t numsegs, Int_t numpolys) virtual void BombTranslation(const Double_t* tr, Double_t* bombtr) virtual void CheckGeometry(Int_t nrays, Double_t startx, Double_t starty, Double_t startz) const virtual void CheckOverlaps(const TGeoVolume* vol, Double_t ovlp = 0.1, Option_t* option) const virtual void CheckPoint(Double_t x = 0, Double_t y = 0, Double_t z = 0, Option_t* option) static TClass* Class() 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 DrawCurrentPoint(Int_t color) virtual void DrawOnly(Option_t* option) virtual void DrawOverlap(void* ovlp, Option_t* option) virtual void DrawPanel() virtual void DrawPath(const char* path) virtual void ExecuteVolumeEvent(TGeoVolume* volume, Int_t event, Int_t px, Int_t py) static TVirtualGeoPainter* GeoPainter() virtual void GetBombFactors(Double_t& bombx, Double_t& bomby, Double_t& bombz, Double_t& bombr) const virtual Int_t GetBombMode() const virtual const char* GetDrawPath() const virtual Int_t GetNsegments() const virtual Int_t GetVisLevel() const virtual Int_t GetVisOption() const virtual char* GetVolumeInfo(const TGeoVolume* volume, Int_t px, Int_t py) const virtual void GrabFocus() virtual TClass* IsA() const virtual Bool_t IsExplodedView() const virtual Bool_t IsOnScreen(const TGeoNode* node) 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 void* MakeBox3DBuffer(const TGeoVolume* vol) virtual void* MakePcon3DBuffer(const TGeoVolume* vol) virtual void* MakeSphere3DBuffer(const TGeoVolume* vol) virtual void* MakeTube3DBuffer(const TGeoVolume* vol) virtual void* MakeTubs3DBuffer(const TGeoVolume* vol) virtual void ModifiedPad() const virtual void Paint(Option_t* option) virtual void PaintBox(TGeoShape* shape, Option_t* option, TGeoHMatrix* glmat = 0) virtual void PaintCompositeShape(TGeoVolume* vol, Option_t* option) virtual void PaintNode(TGeoNode* node, Option_t* option) virtual void PaintOverlap(void* ovlp, Option_t* option) virtual void PaintPcon(TGeoShape* shape, Option_t* option, TGeoHMatrix* glmat = 0) virtual void PaintSphere(TGeoShape* shape, Option_t* option, TGeoHMatrix* glmat = 0) virtual void PaintTube(TGeoShape* shape, Option_t* option, TGeoHMatrix* glmat = 0) virtual void PaintTubs(TGeoShape* shape, Option_t* option, TGeoHMatrix* glmat = 0) virtual void PrintOverlaps() const 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 TGeoNode* SamplePoints(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 SetExplodedView(Int_t iopt = 0) virtual void SetNsegments(Int_t nseg = 20) static void SetPainter(const TVirtualGeoPainter* painter) virtual void SetTopVisible(Bool_t vis = kTRUE) 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 ShowMembers(TMemberInspector& insp, char* parent) virtual void Sizeof3D(const TGeoVolume* vol) const virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) 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")

Data Members


    protected:
static TVirtualGeoPainter* fgGeoPainter Pointer to class painter public:
static const TVirtualGeoPainter::EGeoVisLevel kGeoVisLevel static const TVirtualGeoPainter::EGeoVisOption kGeoVisDefault static const TVirtualGeoPainter::EGeoVisOption kGeoVisLeaves static const TVirtualGeoPainter::EGeoVisOption kGeoVisOnly static const TVirtualGeoPainter::EGeoVisOption kGeoVisBranch static const TVirtualGeoPainter::EGeoBombOption kGeoNoBomb static const TVirtualGeoPainter::EGeoBombOption kGeoBombXYZ static const TVirtualGeoPainter::EGeoBombOption kGeoBombCyl static const TVirtualGeoPainter::EGeoBombOption kGeoBombSph


See also

TGeoPainter

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.



Inline Functions


               void AddSize3D(Int_t numpoints, Int_t numsegs, Int_t numpolys)
               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) const
               void CheckOverlaps(const TGeoVolume* vol, Double_t ovlp = 0.1, Option_t* option) const
               void DefaultAngles()
               void DefaultColors()
              Int_t DistanceToPrimitiveVol(TGeoVolume* vol, Int_t px, Int_t py)
               void Draw(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 ExecuteVolumeEvent(TGeoVolume* volume, Int_t event, Int_t px, Int_t py)
              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
              Int_t GetVisLevel() const
              Int_t GetVisOption() const
              char* GetVolumeInfo(const TGeoVolume* volume, Int_t px, Int_t py) const
               void GrabFocus()
             Bool_t IsExplodedView() const
             Bool_t IsOnScreen(const TGeoNode* node) 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* MakeBox3DBuffer(const TGeoVolume* vol)
              void* MakeTube3DBuffer(const TGeoVolume* vol)
              void* MakeTubs3DBuffer(const TGeoVolume* vol)
              void* MakePcon3DBuffer(const TGeoVolume* vol)
              void* MakeSphere3DBuffer(const TGeoVolume* vol)
               void ModifiedPad() const
               void Paint(Option_t* option)
               void PaintBox(TGeoShape* shape, Option_t* option, TGeoHMatrix* glmat = 0)
               void PaintCompositeShape(TGeoVolume* vol, Option_t* option)
               void PaintTube(TGeoShape* shape, Option_t* option, TGeoHMatrix* glmat = 0)
               void PaintTubs(TGeoShape* shape, Option_t* option, TGeoHMatrix* glmat = 0)
               void PaintSphere(TGeoShape* shape, Option_t* option, TGeoHMatrix* glmat = 0)
               void PaintPcon(TGeoShape* shape, Option_t* option, TGeoHMatrix* glmat = 0)
               void PaintNode(TGeoNode* node, Option_t* option)
               void PaintOverlap(void* ovlp, Option_t* option)
               void PrintOverlaps() const
               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)
          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 SetNsegments(Int_t nseg = 20)
               void SetTopVisible(Bool_t vis = kTRUE)
               void SetVisLevel(Int_t level = 3)
               void SetVisOption(Int_t option = 0)
               void Sizeof3D(const TGeoVolume* vol) const
              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")
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Andrei Gheata 11/01/02
Last update: root/geom:$Name: $:$Id: TVirtualGeoPainter.cxx,v 1.4 2002/07/16 17:11:26 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.