]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Reve/TGeoShapeExtract.h
Getting rid of effC++ warnings about missing copy constructor and assignment operator.
[u/mrichter/AliRoot.git] / EVE / Reve / TGeoShapeExtract.h
1 // $Header$
2
3 // Copyright (C) 1999-2005, Matevz Tadel. All rights reserved.
4 // This file is part of GLED, released under GNU General Public License version 2.
5 // For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/.
6
7 #ifndef RootGeo_TGeoShapeExtract_H
8 #define RootGeo_TGeoShapeExtract_H
9
10 #include <TNamed.h>
11
12 class TList;
13 class TGeoShape;
14
15 class TGeoShapeExtract : public TNamed
16 {
17   friend class ZGeoRepacker;
18
19   TGeoShapeExtract(const TGeoShapeExtract&);            // Not implemented
20   TGeoShapeExtract& operator=(const TGeoShapeExtract&); // Not implemented
21
22 protected:
23   Double_t    mTrans[16];
24   Float_t     mRGBA[4];
25   Bool_t      mRnrSelf;
26   Bool_t      mRnrElements;
27   TGeoShape*  mShape;
28   TList*      mElements;
29
30 public:
31   TGeoShapeExtract(const Text_t* n="TGeoShapeExtract", const Text_t* t=0);
32   ~TGeoShapeExtract();
33
34   Bool_t HasElements();
35
36   void SetTrans(const Double_t arr[16]);
37   void SetRGBA (const Float_t  arr[4]);
38
39   Double_t*  GetTrans()       { return mTrans; }
40   Float_t*   GetRGBA()        { return mRGBA;  }
41   Bool_t     GetRnrSelf()     { return mRnrSelf;     }
42   Bool_t     GetRnrElements() { return mRnrElements; }
43   TGeoShape* GetShape()       { return mShape;    }
44   TList*     GetElements()    { return mElements; }
45
46   ClassDef(TGeoShapeExtract, 1)
47 }; // endclass TGeoShapeExtract
48
49 #endif