New geometry files from R.Barbera
[u/mrichter/AliRoot.git] / TGeant3 / THIGZ.h
CommitLineData
fe4da5cc 1#ifndef THIGZ_H
2#define THIGZ_H
3////////////////////////////////////////////////
4// Emulation of HIGZ for Root
5////////////////////////////////////////////////
6
7#include <TCanvas.h>
8
9class THIGZ : public TCanvas {
10
11public:
12 Int_t fFAIS; //Fill Area Interior Style (0,1,2,3)
13 Int_t fFASI; //Fill Area Style Index
14 Int_t fLTYP; //Line TYPe
15 Float_t fBASL; //BAsic Segment Length
16 Float_t fLWID; //Line WIDth
17 Int_t fMTYP; //Marker TYPe
18 Float_t fMSCF; //Marker SCale Factor
19 Int_t fPLCI; //PolyLine Color Index
20 Int_t fPMCI; //PolyMarker Color Index
21 Int_t fFACI; //Fill Area Color Index
22 Int_t fTXCI; //TeXt Color Index
23 Int_t fTXAL; //10*(alignment horizontal) + (alignment vertical)
24 Float_t fCHHE; //CHaracter HEight)
25 Float_t fTANG; //Text ANGle
26 Int_t fTXFP; //10*(TeXt Font) + (TeXt Precision)
27 Int_t fBORD; //Border for IGBOX, IGFBOX and IGARC (0=No , 1=Yes)
28 Int_t fNCOL; //Number of entry in the COLor map.
29 Int_t fDRMD; //Drawing mode: 1.=copy 2.=xor
30 Int_t fSYNC; //Synchronise the graphics in X11 1.=yes 0.=no
31 Int_t fCLIP; //Clipping mode: 1.=on 0.=off
32 Int_t f2BUF; //10*(WKID)+(double buffer mode: 1.=on 0.=off)
33 Int_t fPID; //integer identifier f current primitive
34 TString fPname; //Name of current primitive ID
35
36public:
37 THIGZ();
38 THIGZ(Int_t size);
39 virtual ~THIGZ();
40 Float_t Get(const char *name);
41 virtual void Reset(Option_t *option="");
42 virtual void Set(const char *name, Float_t rval);
43//
44 virtual void Gdopt(const char *name,const char *value); // *MENU*
45 virtual void Gdraw(const char *name,Float_t theta=30, Float_t phi=30, Float_t psi=0,Float_t u0=10,Float_t v0=10,Float_t ul=0.01,Float_t vl=0.01); // *MENU*
46 virtual void Gdrawc(const char *name,Int_t axis=1, Float_t cut=0,Float_t u0=10,Float_t v0=10,Float_t ul=0.01,Float_t vl=0.01); // *MENU*
47 virtual void Gdspec(const char *name); // *MENU*
48 virtual void Gdtree(const char *name,Int_t levmax=15,Int_t ispec=0); // *MENU*
49 virtual void Gsatt(const char *name, const char *att, Int_t val); // *MENU*
50 virtual void SetBOMB(Float_t bomb=1); // *MENU*
51
52 //dummies
53 virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0);
54 virtual void SetGrid(Int_t valuex = 1, Int_t valuey = 1);
55 virtual void SetGridx(Int_t value = 1);
56 virtual void SetGridy(Int_t value = 1);
57 virtual void SetLogx(Int_t value = 1);
58 virtual void SetLogy(Int_t value = 1);
59 virtual void SetLogz(Int_t value = 1);
60 virtual void SetTickx(Int_t value = 1);
61 virtual void SetTicky(Int_t value = 1);
62 virtual void x3d(Option_t *option="");
63
64 ClassDef(THIGZ,1) //Emulation of HIGZ for Root
65};
66
67 R__EXTERN THIGZ *higz;
68
69inline void THIGZ::Divide(Int_t, Int_t, Float_t, Float_t, Int_t) { }
70inline void THIGZ::SetGrid(Int_t, Int_t) { }
71inline void THIGZ::SetGridx(Int_t) { }
72inline void THIGZ::SetGridy(Int_t) { }
73inline void THIGZ::SetLogx(Int_t) { }
74inline void THIGZ::SetLogy(Int_t) { }
75inline void THIGZ::SetLogz(Int_t) { }
76inline void THIGZ::SetTickx(Int_t) { }
77inline void THIGZ::SetTicky(Int_t) { }
78inline void THIGZ::x3d(Option_t *) { }
79
80#endif