library: libGeom #include "TGeoCompositeShape.h" |
TGeoCompositeShape
class description - source file - inheritance tree (.pdf)
public:
TGeoCompositeShape()
TGeoCompositeShape(const char* name, const char* expression)
TGeoCompositeShape(const char* expression)
TGeoCompositeShape(const char* name, TGeoBoolNode* node)
TGeoCompositeShape(const TGeoCompositeShape&)
virtual ~TGeoCompositeShape()
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 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)
TGeoBoolNode* GetBoolNode() const
virtual void GetBoundingCylinder(Double_t*) const
virtual TGeoShape* GetMakeRuntimeShape(TGeoShape*, TGeoMatrix*) const
virtual Int_t GetNmeshVertices() const
virtual void InspectShape() const
virtual TClass* IsA() const
virtual Bool_t IsComposite() const
virtual Bool_t IsCylType() const
void MakeNode(const char* expression)
TGeoCompositeShape& operator=(const TGeoCompositeShape&)
virtual Bool_t PaintComposite(Option_t* option) const
virtual Double_t Safety(Double_t* point, Bool_t in = kTRUE) const
virtual void SavePrimitive(ofstream& out, Option_t* option)
virtual void SetDimensions(Double_t*)
virtual void SetPoints(Double_t* points) const
virtual void SetPoints(Float_t* points) const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Sizeof3D() const
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TGeoBoolNode* fNode top boolean node
void ComputeBBox()
compute bounding box of the sphere
void ComputeNormal(Double_t *point, Double_t *dir, Double_t *norm)
Bool_t Contains(Double_t *point) const
test if point is inside this sphere
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 this composite shape.
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 outside of this composite shape.
TGeoVolume* Divide(TGeoVolume * /*voldiv*/, const char * /*divname*/, Int_t /*iaxis*/,
Int_t /*ndiv*/, Double_t /*start*/, Double_t /*step*/)
Divide all range of iaxis in range/step cells
void InspectShape() const
print shape parameters
void MakeNode(const char *expression)
Make a booleann node according to the top level boolean operation of expression.
Propagates signal to branches until expression is fully decomposed.
printf("Making node for : %s\n", expression);
Bool_t PaintComposite(Option_t *option) const
Paint this composite shape into the current 3D viewer
Returns bool flag indicating if the caller should continue to
paint child objects
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
create points for a composite shape
void SetPoints(Float_t *points) const
create points for a composite shape
void Sizeof3D() const
compute size of this 3D object
Int_t GetNmeshVertices() const
Return number of vertices of the mesh representation
Inline Functions
void ~TGeoCompositeShape()
TGeoCompositeShape TGeoCompositeShape()
TGeoCompositeShape TGeoCompositeShape(const char* name, const char* expression)
TGeoCompositeShape TGeoCompositeShape(const char* expression)
TGeoCompositeShape TGeoCompositeShape(const char* name, TGeoBoolNode* node)
TGeoBoolNode* GetBoolNode() const
void GetBoundingCylinder(Double_t*) const
TGeoShape* GetMakeRuntimeShape(TGeoShape*, TGeoMatrix*) const
Bool_t IsComposite() const
Bool_t IsCylType() const
void SetDimensions(Double_t*)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGeoCompositeShape TGeoCompositeShape(const TGeoCompositeShape&)
TGeoCompositeShape& operator=(const TGeoCompositeShape&)
Author: Andrei Gheata 31/01/02
Last update: root/geom:$Name: $:$Id: TGeoCompositeShape.cxx,v 1.30 2005/04/05 08:54:12 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.