1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
23 // ---------------------------------------------------------------------------
25 // AliGSuperShape Class
27 // This file is part of the ALICE Geometry Database .
29 // Author: Joana E. Santo
32 #include "AliGSuperShape.h"
35 ClassImp(AliGSuperShape)
37 //----------------------------------------------------------------------
39 AliGSuperShape::AliGSuperShape()
41 /* Default Constructor */
49 //----------------------------------------------------------------------
51 AliGSuperShape::AliGSuperShape( Text_t* name, Text_t* title, AliGShape* shapes, AliGTransform* trans, Text_t* expression ):AliGShape(name,title)
54 fExpression = expression;
55 fShapes = new TObjArray();
56 fTransf = new TObjArray();
59 //----------------------------------------------------------------------
61 AliGSuperShape::~AliGSuperShape(){
63 if(fShapes) delete fShapes;
64 if(fTransf) delete fTransf;
67 //----------------------------------------------------------------------
69 void AliGSuperShape::Add( AliGShape *shape )
74 //----------------------------------------------------------------------
76 void AliGSuperShape::Add( AliGTransform *trans )
81 //----------------------------------------------------------------------
83 void AliGSuperShape::Add( Text_t *expression )
88 //----------------------------------------------------------------------