12#ifndef ROOT_TGeoOverlap
13#define ROOT_TGeoOverlap
#define ClassDefOverride(name, id)
Use this attribute class when an object should have 3D capabilities.
Fill Area Attributes class.
Using a TBrowser one can browse all ROOT objects.
Matrix class used for computing global transformations Should NOT be used for node definition.
Geometrical transformation package.
Base class describing geometry overlaps.
TGeoVolume * GetSecondVolume() const
Bool_t IsFolder() const override
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
void SetIsOverlap(Bool_t flag=kTRUE)
void Paint(Option_t *option="") override
Paint the overlap.
void Validate() const
Validate this overlap.
TPolyMarker3D * GetPolyMarker() const
void SetNextPoint(Double_t x, Double_t y, Double_t z)
Set next overlapping point.
void SetFirstMatrix(TGeoMatrix *matrix)
void SampleOverlap(Int_t npoints=1000000)
Draw overlap and sample with random points the overlapping region.
Int_t Compare(const TObject *obj) const override
Method to compare this overlap with another.
void SetOverlap(Double_t ovlp)
void SetSecondMatrix(TGeoMatrix *matrix)
void Print(Option_t *option="") const override
Print detailed info.
TGeoOverlap(const TGeoOverlap &)=delete
~TGeoOverlap() override
Destructor.
TGeoHMatrix * GetFirstMatrix() const
void SetSecondVolume(TGeoVolume *vol)
TGeoOverlap & operator=(const TGeoOverlap &)=delete
void SetFirstVolume(TGeoVolume *vol)
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Distance to primitive for an overlap.
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Event interception.
void Browse(TBrowser *b) override
Define double-click action.
virtual void PrintInfo() const
Print some info.
Bool_t IsSortable() const override
Bool_t IsExtrusion() const
void SetIsExtrusion(Bool_t flag=kTRUE)
Double_t GetOverlap() const
void Sizeof3D() const override
Get 3D size of this.
TGeoHMatrix * GetSecondMatrix() const
TGeoOverlap()
Default ctor.
TGeoVolume * GetFirstVolume() const
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.