library: libGeom #include "TGeoShapeAssembly.h" |
TGeoShapeAssembly
class description - source file - inheritance tree (.pdf)
public:
TGeoShapeAssembly()
TGeoShapeAssembly(TGeoVolumeAssembly* vol)
TGeoShapeAssembly(const TGeoShapeAssembly&)
virtual ~TGeoShapeAssembly()
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 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
TGeoShapeAssembly& operator=(const TGeoShapeAssembly&)
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& buff) const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Int_t fCurrent ! node number for current node
Int_t fNext ! node number for next crossed node
TGeoVolumeAssembly* fVolume assembly volume
TGeoShapeAssembly - The shape encapsulating an assembly (union) of volumes.
_____________________________________________________________________________
TGeoShapeAssembly()
Default constructor
TGeoShapeAssembly(TGeoVolumeAssembly *vol)
Constructor specifying hyperboloid parameters.
~TGeoShapeAssembly()
destructor
void ComputeBBox()
Compute bounding box of the assembly
void ComputeNormal(Double_t *point, Double_t *dir, Double_t *norm)
Compute normal to closest surface from POINT. Should not be called.
Bool_t Contains(Double_t *point) const
Test if point is inside the assembly
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 hyperboloid.
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 hyperboloid.
fVolume->SetNextNodeIndex(-1);
TGeoVolume* Divide(TGeoVolume * /*voldiv*/, const char *divname, Int_t /*iaxis*/, Int_t /*ndiv*/,
Double_t /*start*/, Double_t /*step*/)
Cannot divide assemblies.
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
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
No mesh for assemblies.
void SetPoints(Float_t * /*points*/) const
No mesh for assemblies.
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)
TGeoShapeAssembly TGeoShapeAssembly(const TGeoShapeAssembly&)
TGeoShapeAssembly& operator=(const TGeoShapeAssembly&)
Author: Andrei Gheata 02/06/05
Last update: root/geom:$Name: $:$Id: TGeoShapeAssembly.cxx,v 1.2 2005/09/06 12:34:57 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.