library: libGeom #include "TGeoScaledShape.h" |
TGeoScaledShape
class description - source file - inheritance tree (.pdf)
public:
TGeoScaledShape()
TGeoScaledShape(const char* name, TGeoShape* shape, TGeoScale* scale)
TGeoScaledShape(TGeoShape* shape, TGeoScale* scale)
TGeoScaledShape(const TGeoScaledShape&)
virtual ~TGeoScaledShape()
virtual Double_t Capacity() const
static TClass* Class()
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 TGeoVolume* Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual const TBuffer3D& GetBuffer3D(Int_t reqSections, Bool_t localFrame) const
virtual TGeoShape* GetMakeRuntimeShape(TGeoShape* mother, TGeoMatrix* mat) const
virtual Int_t GetNmeshVertices() const
virtual void InspectShape() const
virtual TClass* IsA() const
virtual Bool_t IsCylType() const
virtual TBuffer3D* MakeBuffer3D() const
TGeoScaledShape& operator=(const TGeoScaledShape&)
virtual Double_t Safety(Double_t* point, Bool_t in = kTRUE) const
virtual void SavePrimitive(ofstream& out, Option_t* option)
virtual void SetPoints(Double_t* points) const
virtual void SetPoints(Float_t* points) const
virtual void SetSegsAndPols(TBuffer3D& buffer) const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
TGeoShape* fShape pointer to an existing shape
TGeoScale* fScale pointer to a scale transformation
TGeoScaledShape - A shape scaled by a TGeoScale transformation
/*
*/
_____________________________________________________________________________
TGeoScaledShape()
Default constructor
TGeoScaledShape(const char *name, TGeoShape *shape, TGeoScale *scale)
:TGeoBBox(name,0,0,0)
Constructor
TGeoScaledShape(TGeoShape *shape, TGeoScale *scale)
Constructor
~TGeoScaledShape()
destructor
Double_t Capacity() const
Computes capacity of this shape [length^3]
void ComputeBBox()
Compute bounding box of the scaled shape
void ComputeNormal(Double_t *point, Double_t *dir, Double_t *norm)
Compute normal to closest surface from POINT.
Bool_t Contains(Double_t *point) const
Test if point is inside the scaled shape
Int_t DistancetoPrimitive(Int_t px, Int_t py)
compute closest distance from point px,py to each vertex. Should not be called.
Double_t DistFromInside(Double_t *point, Double_t *dir, Int_t iact, Double_t step, Double_t *safe) const
Compute distance from inside point to surface of the scaled shape.
Double_t DistFromOutside(Double_t *point, Double_t *dir, Int_t iact, Double_t step, Double_t *safe) const
Compute distance from outside point to surface of the scaled shape.
TGeoVolume* Divide(TGeoVolume * /*voldiv*/, const char *divname, Int_t /*iaxis*/, Int_t /*ndiv*/,
Double_t /*start*/, Double_t /*step*/)
Cannot divide assemblies.
const TBuffer3D& GetBuffer3D(Int_t reqSections, Bool_t localFrame) const
Fills a static 3D buffer and returns a reference.
TGeoShape* GetMakeRuntimeShape(TGeoShape * /*mother*/, TGeoMatrix * /*mat*/) const
in case shape has some negative parameters, these has to be computed
in order to fit the mother
void InspectShape() const
print shape parameters
TBuffer3D* MakeBuffer3D() const
Creates a TBuffer3D describing *this* shape.
Coordinates are in local reference frame.
void SetSegsAndPols(TBuffer3D &buff) const
Fill TBuffer3D structure for segments and polygons.
Double_t Safety(Double_t *point, Bool_t in) const
computes the closest distance from given point to this shape, according
to option. The matching point on the shape is stored in spoint.
void SavePrimitive(ofstream & /*out*/, Option_t * /*option*/)
Save a primitive as a C++ statement(s) on output stream "out".
void SetPoints(Double_t *points) const
Mesh points for scaled shapes.
void SetPoints(Float_t *points) const
Mesh points for scaled shapes.
Inline Functions
Int_t GetNmeshVertices() const
Bool_t IsCylType() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGeoScaledShape TGeoScaledShape(const TGeoScaledShape&)
TGeoScaledShape& operator=(const TGeoScaledShape&)
Author: Andrei Gheata 26/09/05
Last update: root/geom:$Name: $:$Id: TGeoScaledShape.cxx,v 1.3 2005/11/18 16:07:58 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.