library: libGeomPainter
#include "TGeoOverlap.h"

TGeoOverlap


class description - header file - source file - inheritance tree (.pdf)

class TGeoOverlap : public TNamed, public TAttLine, public TAttFill, public TAtt3D

Inheritance Chart:
TObject
<-
TNamed
TAttLine
TAttFill
TAtt3D
<-
TGeoOverlap

    public:
TGeoOverlap() TGeoOverlap(const char* name, TGeoVolume* vol1, TGeoVolume* vol2, const TGeoMatrix* matrix1, const TGeoMatrix* matrix2, Bool_t isovlp = kTRUE, Double_t ovlp = 0.01) TGeoOverlap(const TGeoOverlap&) virtual ~TGeoOverlap() virtual void Browse(TBrowser* b) static TClass* Class() virtual Int_t Compare(const TObject* obj) const virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) virtual void Draw(Option_t* option = "") virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) TGeoHMatrix* GetFirstMatrix() const TGeoVolume* GetFirstVolume() const Double_t GetOverlap() const TPolyMarker3D* GetPolyMarker() const TGeoHMatrix* GetSecondMatrix() const TGeoVolume* GetSecondVolume() const virtual TClass* IsA() const Bool_t IsExtrusion() const virtual Bool_t IsFolder() const Bool_t IsOverlap() const virtual Bool_t IsSortable() const TGeoOverlap& operator=(const TGeoOverlap&) virtual void Paint(Option_t* option = "") virtual void Print(Option_t* option = "") const virtual void PrintInfo() const void SetFirstMatrix(TGeoMatrix* matrix) void SetFirstVolume(TGeoVolume* vol) void SetIsExtrusion(Bool_t flag = kTRUE) void SetIsOverlap(Bool_t flag = kTRUE) void SetNextPoint(Double_t x, Double_t y, Double_t z) void SetOverlap(Double_t ovlp) void SetSecondMatrix(TGeoMatrix* matrix) void SetSecondVolume(TGeoVolume* vol) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Sizeof3D() const virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Double_t fOverlap overlap distance TGeoVolume* fVolume1 first volume TGeoVolume* fVolume2 second volume TGeoHMatrix* fMatrix1 positioning matrix for first volume TGeoHMatrix* fMatrix2 positioning matrix for second volume TPolyMarker3D* fMarker points in the overlapping region public:
static const TGeoOverlap::EOverlapType kGeoOverlap static const TGeoOverlap::EOverlapType kGeoExtrusion

Class Description

TGeoOverlap()
 Default ctor.
TGeoOverlap(const char *name, TGeoVolume *vol1, TGeoVolume *vol2, const TGeoMatrix *matrix1, const TGeoMatrix *matrix2, Bool_t isovlp, Double_t ovlp)
 Creates a named overlap belonging to volume VOL and having the size OVLP.
~TGeoOverlap()
 Destructor.
void Browse(TBrowser *b)
 Define double-click action
Int_t Compare(const TObject *obj)
 Method to compare this overlap with another. Returns :
   -1 - this is smaller than OBJ
    0 - equal
    1 - greater
Int_t DistancetoPrimitive(Int_t px, Int_t py)
 Distance to primitive for an overlap.
void Draw(Option_t *option)
 Draw the overlap. One daughter will be blue, the other green,
 extruding points red.
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
 Event interception.
void Paint(Option_t *option)
 Paint the overlap.
void Print(Option_t *)
 Print detailed info.
void PrintInfo()
 Print some info.
void SetNextPoint(Double_t x, Double_t y, Double_t z)
 Set next overlapping point.
void Sizeof3D()
 Get 3D size of this.
TGeoOverlap()
Double_t GetOverlap()
Bool_t IsExtrusion()
Bool_t IsOverlap()
Bool_t IsFolder()
Bool_t IsSortable()
void SetIsExtrusion(Bool_t flag=kTRUE)
void SetIsOverlap(Bool_t flag=kTRUE)
void SetFirstVolume(TGeoVolume *vol)
void SetSecondVolume(TGeoVolume *vol)
void SetFirstMatrix(TGeoMatrix *matrix)
void SetSecondMatrix(TGeoMatrix *matrix)
void SetOverlap(Double_t ovlp)

Author: Andrei Gheata 09-02-03
Last update: root/geom:$Name: $:$Id: TGeoOverlap.cxx,v 1.10 2006/02/28 10:57:12 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.