A++ » INCLUDE » TGeoShape

class TGeoShape: public TNamed

Function Members (Methods)

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

public:
virtual~TGeoShape()
voidTObject::AbstractMethod(const char* method) const
virtual voidAfterStreamer()
virtual voidTObject::AppendPad(Option_t* option = "")
static Double_tBig()
virtual voidTObject::Browse(TBrowser* b)
virtual Double_tCapacity() const
voidCheckShape(Int_t testNo, Int_t nsamples = 10000, Option_t* option = "")
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual voidClearThreadData() const
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidComputeBBox()
static Double_tComputeEpsMch()
virtual voidComputeNormal(const Double_t* point, const Double_t* dir, Double_t* norm)
virtual voidComputeNormal_v(const Double_t*, const Double_t*, Double_t*, Int_t)
virtual Bool_tContains(const Double_t* point) const
virtual voidContains_v(const Double_t*, Bool_t*, Int_t) const
virtual voidTNamed::Copy(TObject& named) const
virtual Bool_tCouldBeCrossed(const Double_t* point, const Double_t* dir) const
virtual voidCreateThreadData(Int_t)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tDistancetoPrimitive(Int_t px, Int_t py)
virtual Double_tDistFromInside(const Double_t* point, const Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
virtual voidDistFromInside_v(const Double_t*, const Double_t*, Double_t*, Int_t, Double_t*) const
virtual Double_tDistFromOutside(const Double_t* point, const Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
virtual voidDistFromOutside_v(const Double_t*, const Double_t*, Double_t*, Int_t, Double_t*) const
static Double_tDistToPhiMin(const Double_t* point, const Double_t* dir, Double_t s1, Double_t c1, Double_t s2, Double_t c2, Double_t sm, Double_t cm, Bool_t in = kTRUE)
virtual TGeoVolume*Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual voidDraw(Option_t* option = "")MENU
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
static Double_tEpsMch()
virtual voidTObject::Error(const char* method, const char* msgfmt) const
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 voidExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual const char*GetAxisName(Int_t iaxis) const
virtual Double_tGetAxisRange(Int_t iaxis, Double_t& xlo, Double_t& xhi) const
virtual voidGetBoundingCylinder(Double_t* param) const
virtual const TBuffer3D&GetBuffer3D(Int_t reqSections, Bool_t localFrame) const
virtual Int_tGetByteCount() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Int_tGetFittingBox(const TGeoBBox* parambox, TGeoMatrix* mat, Double_t& dx, Double_t& dy, Double_t& dz) const
virtual const char*TObject::GetIconName() const
Int_tGetId() const
virtual TGeoShape*GetMakeRuntimeShape(TGeoShape* mother, TGeoMatrix* mat) const
virtual voidGetMeshNumbers(Int_t&, Int_t&, Int_t&) const
virtual const char*GetName() const
virtual Int_tGetNmeshVertices() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
const char*GetPointerName() const
virtual Bool_tGetPointsOnSegments(Int_t npoints, Double_t* array) const
virtual const char*TNamed::GetTitle() const
static TGeoMatrix*GetTransform()
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::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
virtual voidInspectShape() const
voidTObject::InvertBit(UInt_t f)
voidInvertShapeBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tIsAssembly() const
static Bool_tIsCloseToPhi(Double_t epsil, const Double_t* point, Double_t c1, Double_t s1, Double_t c2, Double_t s2)
virtual Bool_tIsComposite() const
static Bool_tIsCrossingSemiplane(const Double_t* point, const Double_t* dir, Double_t cphi, Double_t sphi, Double_t& snext, Double_t& rxy)
virtual Bool_tIsCylType() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
static Bool_tIsInPhiRange(const Double_t* point, Double_t phi1, Double_t phi2)
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsReflected() const
Bool_tIsRunTimeShape() const
static Bool_tIsSameWithinTolerance(Double_t a, Double_t b)
static Bool_tIsSegCrossing(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t x3, Double_t y3, Double_t x4, Double_t y4)
virtual Bool_tTNamed::IsSortable() const
Bool_tIsValid() const
virtual Bool_tIsValidBox() const
virtual Bool_tIsVecGeom() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
virtual TBuffer3D*MakeBuffer3D() const
voidTObject::MayNotUse(const char* method) const
static voidNormalPhi(const Double_t* point, const Double_t* dir, Double_t* norm, Double_t c1, Double_t s1, Double_t c2, Double_t s2)
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
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)
TGeoShape&operator=(const TGeoShape&)
virtual voidPaint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
voidResetShapeBit(UInt_t f)
virtual Double_tSafety(const Double_t* point, Bool_t in = kTRUE) const
virtual voidSafety_v(const Double_t*, const Bool_t*, Double_t*, Int_t) const
static Double_tSafetyPhi(const Double_t* point, Bool_t in, Double_t phi1, Double_t phi2)
static Double_tSafetySeg(Double_t r, Double_t z, Double_t r1, Double_t z1, Double_t r2, Double_t z2, Bool_t outer)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidSetDimensions(Double_t* param)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetId(Int_t id)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetPoints(Double_t* points) const
virtual voidSetPoints(Float_t* points) const
voidSetRuntime(Bool_t flag = kTRUE)
virtual voidSetSegsAndPols(TBuffer3D& buff) const
voidSetShapeBit(UInt_t f)
voidSetShapeBit(UInt_t f, Bool_t set)
virtual voidTNamed::SetTitle(const char* title = "")MENU
static voidSetTransform(TGeoMatrix* matrix)
virtual voidTObject::SetUniqueID(UInt_t uid)
Int_tShapeDistancetoPrimitive(Int_t numpoints, Int_t px, Int_t py) const
virtual voidShowMembers(TMemberInspector& insp) const
virtual Int_tTNamed::Sizeof() const
virtual voidSizeof3D() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Bool_tTestShapeBit(UInt_t f) const
Int_tTestShapeBits(UInt_t f) const
TGeoShape()
TGeoShape(const char* name)
TGeoShape(const TGeoShape&)
static Double_tTolerance()
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
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
virtual voidFillBuffer3D(TBuffer3D& buffer, Int_t reqSections, Bool_t localFrame) const
Int_tGetBasicColor() const
voidTObject::MakeZombie()
voidSetOnBoundary(Bool_t)
voidTransformPoints(Double_t* points, UInt_t NbPoints) const

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TGeoShape::EShapeTypekBitMask32
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TGeoShape::EShapeTypekGeoArb8
static TGeoShape::EShapeTypekGeoBad
static TGeoShape::EShapeTypekGeoBox
static TGeoShape::EShapeTypekGeoClosedShape
static TGeoShape::EShapeTypekGeoComb
static TGeoShape::EShapeTypekGeoCone
static TGeoShape::EShapeTypekGeoConeSeg
static TGeoShape::EShapeTypekGeoCtub
static TGeoShape::EShapeTypekGeoEltu
static TGeoShape::EShapeTypekGeoHalfSpace
static TGeoShape::EShapeTypekGeoHype
static TGeoShape::EShapeTypekGeoInvalidShape
static TGeoShape::EShapeTypekGeoNoShape
static TGeoShape::EShapeTypekGeoPara
static TGeoShape::EShapeTypekGeoParaboloid
static TGeoShape::EShapeTypekGeoPcon
static TGeoShape::EShapeTypekGeoPgon
static TGeoShape::EShapeTypekGeoPhiSeg
static TGeoShape::EShapeTypekGeoRSeg
static TGeoShape::EShapeTypekGeoRunTimeShape
static TGeoShape::EShapeTypekGeoSavePrimitive
static TGeoShape::EShapeTypekGeoSph
static TGeoShape::EShapeTypekGeoThetaSeg
static TGeoShape::EShapeTypekGeoTorus
static TGeoShape::EShapeTypekGeoTrap
static TGeoShape::EShapeTypekGeoTrd1
static TGeoShape::EShapeTypekGeoTrd2
static TGeoShape::EShapeTypekGeoTube
static TGeoShape::EShapeTypekGeoTubeSeg
static TGeoShape::EShapeTypekGeoVisX
static TGeoShape::EShapeTypekGeoVisY
static TGeoShape::EShapeTypekGeoVisZ
static TGeoShape::EShapeTypekGeoXtru
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
protected:
TStringTNamed::fNameobject identifier
UInt_tfShapeBitsshape bits
Int_tfShapeIdshape id
TStringTNamed::fTitleobject title
private:
static Double_tfgEpsMchMachine round-off error
static TGeoMatrix*fgTransformcurrent transformation matrix that applies to shape

Class Charts

Inheritance Chart:
TObject
TNamed
TGeoShape
TGeoBBox
TEveGeoPolyShape
TGeoArb8
TGeoTrap
TGeoGtra
TGeoCompositeShape
TGeoCone
TGeoConeSeg
TGeoHalfSpace
TGeoPara
 [more...]

Function documentation

void ClearThreadData() const
{}
void CreateThreadData(Int_t )
{}
void FillBuffer3D(TBuffer3D& buffer, Int_t reqSections, Bool_t localFrame) const
 methods
Int_t GetBasicColor() const
void SetOnBoundary(Bool_t )
{;}
void TransformPoints(Double_t* points, UInt_t NbPoints) const
TGeoShape()
 constructors
TGeoShape(const char* name)
 destructor
virtual ~TGeoShape()
 methods
Double_t Big()
{return 1.E30;}
TGeoMatrix * GetTransform()
void SetTransform(TGeoMatrix* matrix)
Double_t Tolerance()
{return 1.E-10;}
Double_t ComputeEpsMch()
Double_t EpsMch()
void AfterStreamer()
{}
Double_t Capacity() const
void CheckShape(Int_t testNo, Int_t nsamples = 10000, Option_t* option = "")
void ComputeBBox()
void ComputeNormal(const Double_t* point, const Double_t* dir, Double_t* norm)
void ComputeNormal_v(const Double_t* , const Double_t* , Double_t* , Int_t )
{}
Bool_t Contains(const Double_t* point) const
void Contains_v(const Double_t* , Bool_t* , Int_t ) const
{}
Bool_t CouldBeCrossed(const Double_t* point, const Double_t* dir) const
Int_t DistancetoPrimitive(Int_t px, Int_t py)
Double_t DistFromInside(const Double_t* point, const Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
{}
Double_t DistFromOutside(const Double_t* point, const Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
{}
Double_t DistToPhiMin(const Double_t* point, const Double_t* dir, Double_t s1, Double_t c1, Double_t s2, Double_t c2, Double_t sm, Double_t cm, Bool_t in = kTRUE)
void Draw(Option_t* option = "")
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
const char * GetAxisName(Int_t iaxis) const
Double_t GetAxisRange(Int_t iaxis, Double_t& xlo, Double_t& xhi) const
void GetBoundingCylinder(Double_t* param) const
const TBuffer3D & GetBuffer3D(Int_t reqSections, Bool_t localFrame) const
Int_t GetByteCount() const
Bool_t GetPointsOnSegments(Int_t npoints, Double_t* array) const
Int_t GetFittingBox(const TGeoBBox* parambox, TGeoMatrix* mat, Double_t& dx, Double_t& dy, Double_t& dz) const
Int_t GetId() const
{return fShapeId;}
TGeoShape * GetMakeRuntimeShape(TGeoShape* mother, TGeoMatrix* mat) const
void GetMeshNumbers(Int_t& , Int_t& , Int_t& ) const
{;}
const char * GetName() const
Int_t GetNmeshVertices() const
{return 0;}
const char * GetPointerName() const
Bool_t IsAssembly() const
{return kFALSE;}
Bool_t IsComposite() const
{return kFALSE;}
Bool_t IsCylType() const
Bool_t IsCloseToPhi(Double_t epsil, const Double_t* point, Double_t c1, Double_t s1, Double_t c2, Double_t s2)
Bool_t IsCrossingSemiplane(const Double_t* point, const Double_t* dir, Double_t cphi, Double_t sphi, Double_t& snext, Double_t& rxy)
Bool_t IsSameWithinTolerance(Double_t a, Double_t b)
Bool_t IsSegCrossing(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t x3, Double_t y3, Double_t x4, Double_t y4)
Bool_t IsInPhiRange(const Double_t* point, Double_t phi1, Double_t phi2)
Bool_t IsReflected() const
{return kFALSE;}
Bool_t IsVecGeom() const
{return kFALSE;}
Bool_t IsRunTimeShape() const
Bool_t IsValid() const
Bool_t IsValidBox() const
void InspectShape() const
TBuffer3D * MakeBuffer3D() const
{return 0;}
void NormalPhi(const Double_t* point, const Double_t* dir, Double_t* norm, Double_t c1, Double_t s1, Double_t c2, Double_t s2)
void Paint(Option_t* option = "")
Double_t Safety(const Double_t* point, Bool_t in = kTRUE) const
void Safety_v(const Double_t* , const Bool_t* , Double_t* , Int_t ) const
{}
Double_t SafetyPhi(const Double_t* point, Bool_t in, Double_t phi1, Double_t phi2)
Double_t SafetySeg(Double_t r, Double_t z, Double_t r1, Double_t z1, Double_t r2, Double_t z2, Bool_t outer)
void SetDimensions(Double_t* param)
void SetId(Int_t id)
{fShapeId = id;}
void SetPoints(Double_t* points) const
void SetPoints(Float_t* points) const
void SetSegsAndPols(TBuffer3D& buff) const
void SetRuntime(Bool_t flag = kTRUE)
Int_t ShapeDistancetoPrimitive(Int_t numpoints, Int_t px, Int_t py) const
void Sizeof3D() const
void SetShapeBit(UInt_t f, Bool_t set)
----- bit manipulation
void SetShapeBit(UInt_t f)
void ResetShapeBit(UInt_t f)
{ fShapeBits &= ~(f & kBitMask32); }
Bool_t TestShapeBit(UInt_t f) const
{ return (Bool_t) ((fShapeBits & f) != 0); }
Int_t TestShapeBits(UInt_t f) const
{ return (Int_t) (fShapeBits & f); }
void InvertShapeBit(UInt_t f)