TGeoScaledShape Class Reference

#include <TGeoScaledShape.h>

Inheritance diagram for TGeoScaledShape:

TGeoBBox TGeoBBox TGeoShape TGeoShape TGeoShape TGeoShape TNamed TNamed TNamed TNamed TNamed TNamed TNamed TNamed List of all members.

Public Member Functions

 TGeoScaledShape ()
 TGeoScaledShape (const char *name, TGeoShape *shape, TGeoScale *scale)
 TGeoScaledShape (TGeoShape *shape, TGeoScale *scale)
virtual ~TGeoScaledShape ()
virtual Double_t Capacity () const
virtual void ComputeBBox ()
virtual void ComputeNormal (Double_t *point, Double_t *dir, Double_t *norm)
virtual Bool_t Contains (Double_t *point) const
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual Double_t DistFromInside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual Double_t DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
virtual void GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const
virtual Int_t GetNmeshVertices () const
TGeoShapeGetShape () const
TGeoScaleGetScale () const
virtual void InspectShape () const
virtual Bool_t IsCylType () const
virtual Bool_t IsReflected () const
virtual TBuffer3DMakeBuffer3D () const
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
void SetScale (TGeoScale *scale)
virtual void SetPoints (Double_t *points) const
virtual void SetPoints (Float_t *points) const
virtual void SetSegsAndPols (TBuffer3D &buffer) const
 TGeoScaledShape ()
 TGeoScaledShape (const char *name, TGeoShape *shape, TGeoScale *scale)
 TGeoScaledShape (TGeoShape *shape, TGeoScale *scale)
virtual ~TGeoScaledShape ()
virtual Double_t Capacity () const
virtual void ComputeBBox ()
virtual void ComputeNormal (Double_t *point, Double_t *dir, Double_t *norm)
virtual Bool_t Contains (Double_t *point) const
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual Double_t DistFromInside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual Double_t DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
virtual void GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const
virtual Int_t GetNmeshVertices () const
TGeoShapeGetShape () const
TGeoScaleGetScale () const
virtual void InspectShape () const
virtual Bool_t IsCylType () const
virtual Bool_t IsReflected () const
virtual TBuffer3DMakeBuffer3D () const
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
void SetScale (TGeoScale *scale)
virtual void SetPoints (Double_t *points) const
virtual void SetPoints (Float_t *points) const
virtual void SetSegsAndPols (TBuffer3D &buffer) const

Static Public Member Functions

static TGeoShapeMakeScaledShape (const char *name, TGeoShape *shape, TGeoScale *scale)
static TGeoShapeMakeScaledShape (const char *name, TGeoShape *shape, TGeoScale *scale)

Protected Attributes

TGeoShapefShape
TGeoScalefScale
TGeoShapefShape
TGeoScalefScale

Detailed Description

Definition at line 29 of file TGeoScaledShape.h.


Constructor & Destructor Documentation

TGeoScaledShape::TGeoScaledShape (  ) 

Referenced by MakeScaledShape().

TGeoScaledShape::TGeoScaledShape ( const char *  name,
TGeoShape shape,
TGeoScale scale 
)

Definition at line 47 of file TGeoScaledShape.cxx.

References ComputeBBox(), fScale, fShape, TGeoMatrix::IsRegistered(), and TGeoMatrix::RegisterYourself().

TGeoScaledShape::TGeoScaledShape ( TGeoShape shape,
TGeoScale scale 
)

Definition at line 58 of file TGeoScaledShape.cxx.

References ComputeBBox(), fScale, fShape, TGeoMatrix::IsRegistered(), and TGeoMatrix::RegisterYourself().

TGeoScaledShape::~TGeoScaledShape (  )  [virtual]

Definition at line 68 of file TGeoScaledShape.cxx.

TGeoScaledShape::TGeoScaledShape (  ) 

TGeoScaledShape::TGeoScaledShape ( const char *  name,
TGeoShape shape,
TGeoScale scale 
)

TGeoScaledShape::TGeoScaledShape ( TGeoShape shape,
TGeoScale scale 
)

virtual TGeoScaledShape::~TGeoScaledShape (  )  [virtual]


Member Function Documentation

Double_t TGeoScaledShape::Capacity (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 74 of file TGeoScaledShape.cxx.

References TGeoShape::Capacity(), fScale, fShape, and TGeoScale::GetScale().

void TGeoScaledShape::ComputeBBox (  )  [virtual]

Reimplemented from TGeoBBox.

Definition at line 84 of file TGeoScaledShape.cxx.

References TMath::Abs(), box(), TObject::Error(), TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, TGeoBBox::fOrigin, fScale, fShape, TGeoShape::GetName(), and TGeoScale::LocalToMaster().

Referenced by TGeoScaledShape().

void TGeoScaledShape::ComputeNormal ( Double_t point,
Double_t dir,
Double_t norm 
) [virtual]

Reimplemented from TGeoBBox.

Definition at line 106 of file TGeoScaledShape.cxx.

References TGeoShape::ComputeNormal(), fScale, fShape, local, TGeoScale::MasterToLocal(), TGeoScale::MasterToLocalVect(), and TGeoMatrix::Normalize().

Bool_t TGeoScaledShape::Contains ( Double_t point  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 120 of file TGeoScaledShape.cxx.

References TGeoShape::Contains(), fScale, fShape, local, and TGeoScale::MasterToLocal().

Int_t TGeoScaledShape::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TGeoBBox.

Definition at line 129 of file TGeoScaledShape.cxx.

References fShape, TGeoShape::GetNmeshVertices(), n, and TGeoShape::ShapeDistancetoPrimitive().

Double_t TGeoScaledShape::DistFromInside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 137 of file TGeoScaledShape.cxx.

References ROOT::Math::gv_detail::dist(), TGeoShape::DistFromInside(), fScale, fShape, local, TGeoScale::LocalToMaster(), TGeoScale::MasterToLocal(), TGeoScale::MasterToLocalVect(), and TGeoMatrix::Normalize().

Double_t TGeoScaledShape::DistFromOutside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 154 of file TGeoScaledShape.cxx.

References ROOT::Math::gv_detail::dist(), TGeoShape::DistFromOutside(), fScale, fShape, local, TGeoScale::LocalToMaster(), TGeoScale::MasterToLocal(), TGeoScale::MasterToLocalVect(), and TGeoMatrix::Normalize().

TGeoVolume * TGeoScaledShape::Divide ( TGeoVolume voldiv,
const char *  divname,
Int_t  iaxis,
Int_t  ndiv,
Double_t  start,
Double_t  step 
) [virtual]

Reimplemented from TGeoBBox.

Definition at line 175 of file TGeoScaledShape.cxx.

References TObject::Error().

TGeoShape * TGeoScaledShape::GetMakeRuntimeShape ( TGeoShape mother,
TGeoMatrix mat 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 206 of file TGeoScaledShape.cxx.

References TObject::Error(), and NULL.

const TBuffer3D & TGeoScaledShape::GetBuffer3D ( Int_t  reqSections,
Bool_t  localFrame 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 184 of file TGeoScaledShape.cxx.

References buffer, TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, TGeoBBox::fOrigin, fShape, TGeoShape::GetBuffer3D(), TBuffer3D::kRaw, TBuffer3D::kRawSizes, SetPoints(), and TGeoShape::TransformPoints().

void TGeoScaledShape::GetMeshNumbers ( Int_t nvert,
Int_t nsegs,
Int_t npols 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 215 of file TGeoScaledShape.cxx.

References fShape, and TGeoShape::GetMeshNumbers().

virtual Int_t TGeoScaledShape::GetNmeshVertices (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 58 of file TGeoScaledShape.h.

References fShape, and TGeoShape::GetNmeshVertices().

TGeoShape* TGeoScaledShape::GetShape (  )  const [inline]

Definition at line 59 of file TGeoScaledShape.h.

References fShape.

TGeoScale* TGeoScaledShape::GetScale (  )  const [inline]

Definition at line 60 of file TGeoScaledShape.h.

References fScale.

void TGeoScaledShape::InspectShape (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 222 of file TGeoScaledShape.cxx.

References fScale, fShape, TGeoShape::GetName(), TGeoBBox::InspectShape(), TGeoShape::InspectShape(), and TGeoMatrix::Print().

virtual Bool_t TGeoScaledShape::IsCylType (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 62 of file TGeoScaledShape.h.

References fShape, and TGeoShape::IsCylType().

Bool_t TGeoScaledShape::IsReflected (  )  const [virtual]

Reimplemented from TGeoShape.

Definition at line 232 of file TGeoScaledShape.cxx.

References fScale, and TGeoMatrix::IsReflection().

TBuffer3D * TGeoScaledShape::MakeBuffer3D (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 239 of file TGeoScaledShape.cxx.

References TBuffer3D::fPnts, fShape, TGeoShape::MakeBuffer3D(), and SetPoints().

TGeoShape * TGeoScaledShape::MakeScaledShape ( const char *  name,
TGeoShape shape,
TGeoScale scale 
) [static]

Definition at line 250 of file TGeoScaledShape.cxx.

References xmlio::Class, TGeoScale::GetScale(), and TGeoScaledShape().

Referenced by G__G__Geom1_232_0_22(), G__setup_memfuncTGeoScaledShape(), and TGeoVolume::MakeReflectedVolume().

Double_t TGeoScaledShape::Safety ( Double_t point,
Bool_t  in = kTRUE 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 276 of file TGeoScaledShape.cxx.

References fScale, fShape, local, TGeoScale::LocalToMaster(), TGeoScale::MasterToLocal(), safe, and TGeoShape::Safety().

void TGeoScaledShape::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGeoBBox.

Definition at line 288 of file TGeoScaledShape.cxx.

References TObject::ClassName(), fScale, fShape, TGeoShape::GetName(), TNamed::GetName(), TGeoShape::GetPointerName(), TGeoScale::GetScale(), TGeoShape::kGeoSavePrimitive, TObject::SavePrimitive(), sname, and TObject::TestBit().

void TGeoScaledShape::SetScale ( TGeoScale scale  )  [inline]

Definition at line 68 of file TGeoScaledShape.h.

References fScale.

void TGeoScaledShape::SetPoints ( Double_t points  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 308 of file TGeoScaledShape.cxx.

References fScale, fShape, TGeoShape::GetNmeshVertices(), i, TGeoScale::LocalToMaster(), and TGeoShape::SetPoints().

Referenced by GetBuffer3D(), and MakeBuffer3D().

void TGeoScaledShape::SetPoints ( Float_t points  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 321 of file TGeoScaledShape.cxx.

References fScale, fShape, TGeoShape::GetNmeshVertices(), i, local, TGeoScale::LocalToMaster(), and TGeoShape::SetPoints().

void TGeoScaledShape::SetSegsAndPols ( TBuffer3D buffer  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 269 of file TGeoScaledShape.cxx.

References fShape, and TGeoShape::SetSegsAndPols().

virtual Double_t TGeoScaledShape::Capacity (  )  const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoScaledShape::ComputeBBox (  )  [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoScaledShape::ComputeNormal ( Double_t point,
Double_t dir,
Double_t norm 
) [virtual]

Reimplemented from TGeoBBox.

virtual Bool_t TGeoScaledShape::Contains ( Double_t point  )  const [virtual]

Reimplemented from TGeoBBox.

virtual Int_t TGeoScaledShape::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TGeoBBox.

virtual Double_t TGeoScaledShape::DistFromInside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [virtual]

Reimplemented from TGeoBBox.

virtual Double_t TGeoScaledShape::DistFromOutside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [virtual]

Reimplemented from TGeoBBox.

virtual TGeoVolume* TGeoScaledShape::Divide ( TGeoVolume voldiv,
const char *  divname,
Int_t  iaxis,
Int_t  ndiv,
Double_t  start,
Double_t  step 
) [virtual]

Reimplemented from TGeoBBox.

virtual TGeoShape* TGeoScaledShape::GetMakeRuntimeShape ( TGeoShape mother,
TGeoMatrix mat 
) const [virtual]

Reimplemented from TGeoBBox.

virtual const TBuffer3D& TGeoScaledShape::GetBuffer3D ( Int_t  reqSections,
Bool_t  localFrame 
) const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoScaledShape::GetMeshNumbers ( Int_t nvert,
Int_t nsegs,
Int_t npols 
) const [virtual]

Reimplemented from TGeoBBox.

virtual Int_t TGeoScaledShape::GetNmeshVertices (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 58 of file TGeoScaledShape.h.

References fShape, and TGeoShape::GetNmeshVertices().

TGeoShape* TGeoScaledShape::GetShape (  )  const [inline]

Definition at line 59 of file TGeoScaledShape.h.

References fShape.

TGeoScale* TGeoScaledShape::GetScale (  )  const [inline]

Definition at line 60 of file TGeoScaledShape.h.

References fScale.

virtual void TGeoScaledShape::InspectShape (  )  const [virtual]

Reimplemented from TGeoBBox.

virtual Bool_t TGeoScaledShape::IsCylType (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 62 of file TGeoScaledShape.h.

References fShape, and TGeoShape::IsCylType().

virtual Bool_t TGeoScaledShape::IsReflected (  )  const [virtual]

Reimplemented from TGeoShape.

virtual TBuffer3D* TGeoScaledShape::MakeBuffer3D (  )  const [virtual]

Reimplemented from TGeoBBox.

static TGeoShape* TGeoScaledShape::MakeScaledShape ( const char *  name,
TGeoShape shape,
TGeoScale scale 
) [static]

virtual Double_t TGeoScaledShape::Safety ( Double_t point,
Bool_t  in = kTRUE 
) const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoScaledShape::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGeoBBox.

void TGeoScaledShape::SetScale ( TGeoScale scale  )  [inline]

Definition at line 68 of file TGeoScaledShape.h.

References fScale.

virtual void TGeoScaledShape::SetPoints ( Double_t points  )  const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoScaledShape::SetPoints ( Float_t points  )  const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoScaledShape::SetSegsAndPols ( TBuffer3D buffer  )  const [virtual]

Reimplemented from TGeoBBox.


Member Data Documentation

TGeoShape* TGeoScaledShape::fShape [protected]

Definition at line 33 of file TGeoScaledShape.h.

Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistancetoPrimitive(), DistFromInside(), DistFromOutside(), GetBuffer3D(), GetMeshNumbers(), GetNmeshVertices(), GetShape(), InspectShape(), IsCylType(), MakeBuffer3D(), Safety(), SavePrimitive(), SetPoints(), SetSegsAndPols(), and TGeoScaledShape().

TGeoScale* TGeoScaledShape::fScale [protected]

Definition at line 34 of file TGeoScaledShape.h.

Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), GetScale(), InspectShape(), IsReflected(), Safety(), SavePrimitive(), SetPoints(), SetScale(), and TGeoScaledShape().

TGeoShape* TGeoScaledShape::fShape [protected]

Definition at line 33 of file TGeoScaledShape.h.

TGeoScale* TGeoScaledShape::fScale [protected]

Definition at line 34 of file TGeoScaledShape.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:06 2011 for ROOT_528-00b_version by  doxygen 1.5.1