ROOT
v6-26
Reference Guide
Loading...
Searching...
No Matches
TEveGeoShapeExtract.h
Go to the documentation of this file.
1
// @(#)root/eve:$Id$
2
// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4
/*************************************************************************
5
* Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TEveGeoShapeExtract
13
#define ROOT_TEveGeoShapeExtract
14
15
#include "
TNamed.h
"
16
17
class
TList
;
18
class
TGeoShape
;
19
20
class
TEveGeoShapeExtract
:
public
TNamed
21
{
22
TEveGeoShapeExtract
(
const
TEveGeoShapeExtract
&);
// Not implemented
23
TEveGeoShapeExtract
&
operator=
(
const
TEveGeoShapeExtract
&);
// Not implemented
24
25
protected
:
26
Double_t
fTrans
[16];
// Transformation matrix, 4x4 column major.
27
Float_t
fRGBA
[4];
// RGBA color.
28
Float_t
fRGBALine
[4];
// RGBA color.
29
Bool_t
fRnrSelf
;
// Render this object.
30
Bool_t
fRnrElements
;
// Render children of this object.
31
Bool_t
fRnrFrame
;
// Also draw shape outline.
32
Bool_t
fMiniFrame
;
// Minimize shape outline when drawing.
33
TGeoShape
*
fShape
;
// Shape to be drawn for this object.
34
TList
*
fElements
;
// Children elements.
35
36
public
:
37
TEveGeoShapeExtract
(
const
char
*
n
=
"TEveGeoShapeExtract"
,
const
char
* t=0);
38
~TEveGeoShapeExtract
();
39
40
Bool_t
HasElements
();
41
void
AddElement
(
TEveGeoShapeExtract
* gse);
42
43
void
SetTrans
(
const
Double_t
arr[16]);
44
void
SetRGBA
(
const
Float_t
arr[4]);
45
void
SetRGBALine
(
const
Float_t
arr[4]);
46
void
SetRnrSelf
(
Bool_t
r
) {
fRnrSelf
=
r
; }
47
void
SetRnrElements
(
Bool_t
r
) {
fRnrElements
=
r
; }
48
void
SetRnrFrame
(
Bool_t
r
) {
fRnrFrame
=
r
; }
49
void
SetMiniFrame
(
Bool_t
r
) {
fMiniFrame
=
r
; }
50
void
SetShape
(
TGeoShape
* s) {
fShape
= s; }
51
void
SetElements
(
TList
*
e
) {
fElements
=
e
; }
52
53
Double_t
*
GetTrans
() {
return
fTrans
; }
54
Float_t
*
GetRGBA
() {
return
fRGBA
; }
55
Float_t
*
GetRGBALine
() {
return
fRGBALine
; }
56
Bool_t
GetRnrSelf
() {
return
fRnrSelf
; }
57
Bool_t
GetRnrElements
() {
return
fRnrElements
; }
58
Bool_t
GetRnrFrame
() {
return
fRnrFrame
; }
59
Bool_t
GetMiniFrame
() {
return
fMiniFrame
; }
60
TGeoShape
*
GetShape
() {
return
fShape
; }
61
TList
*
GetElements
() {
return
fElements
; }
62
63
ClassDef
(
TEveGeoShapeExtract
, 2);
// Globally positioned TGeoShape with rendering attributes and an optional list of daughter shape-extracts.
64
};
65
66
#endif
r
ROOT::R::TRInterface & r
Definition
Object.C:4
e
#define e(i)
Definition
RSha256.hxx:103
Double_t
double Double_t
Definition
RtypesCore.h:59
Float_t
float Float_t
Definition
RtypesCore.h:57
ClassDef
#define ClassDef(name, id)
Definition
Rtypes.h:325
TNamed.h
TEveGeoShapeExtract
Globally positioned TGeoShape with rendering attributes and an optional list of daughter shape-extrac...
Definition
TEveGeoShapeExtract.h:21
TEveGeoShapeExtract::fMiniFrame
Bool_t fMiniFrame
Definition
TEveGeoShapeExtract.h:32
TEveGeoShapeExtract::GetRGBA
Float_t * GetRGBA()
Definition
TEveGeoShapeExtract.h:54
TEveGeoShapeExtract::SetShape
void SetShape(TGeoShape *s)
Definition
TEveGeoShapeExtract.h:50
TEveGeoShapeExtract::GetMiniFrame
Bool_t GetMiniFrame()
Definition
TEveGeoShapeExtract.h:59
TEveGeoShapeExtract::GetTrans
Double_t * GetTrans()
Definition
TEveGeoShapeExtract.h:53
TEveGeoShapeExtract::fRGBA
Float_t fRGBA[4]
Definition
TEveGeoShapeExtract.h:27
TEveGeoShapeExtract::AddElement
void AddElement(TEveGeoShapeExtract *gse)
Add a child element.
Definition
TEveGeoShapeExtract.cxx:69
TEveGeoShapeExtract::GetRnrFrame
Bool_t GetRnrFrame()
Definition
TEveGeoShapeExtract.h:58
TEveGeoShapeExtract::SetMiniFrame
void SetMiniFrame(Bool_t r)
Definition
TEveGeoShapeExtract.h:49
TEveGeoShapeExtract::HasElements
Bool_t HasElements()
True if has at least one element.
Definition
TEveGeoShapeExtract.cxx:61
TEveGeoShapeExtract::SetRGBA
void SetRGBA(const Float_t arr[4])
Set RGBA color.
Definition
TEveGeoShapeExtract.cxx:89
TEveGeoShapeExtract::SetRGBALine
void SetRGBALine(const Float_t arr[4])
Set RGBA color for line.
Definition
TEveGeoShapeExtract.cxx:98
TEveGeoShapeExtract::fRnrElements
Bool_t fRnrElements
Definition
TEveGeoShapeExtract.h:30
TEveGeoShapeExtract::SetRnrElements
void SetRnrElements(Bool_t r)
Definition
TEveGeoShapeExtract.h:47
TEveGeoShapeExtract::GetShape
TGeoShape * GetShape()
Definition
TEveGeoShapeExtract.h:60
TEveGeoShapeExtract::SetRnrSelf
void SetRnrSelf(Bool_t r)
Definition
TEveGeoShapeExtract.h:46
TEveGeoShapeExtract::GetElements
TList * GetElements()
Definition
TEveGeoShapeExtract.h:61
TEveGeoShapeExtract::operator=
TEveGeoShapeExtract & operator=(const TEveGeoShapeExtract &)
TEveGeoShapeExtract::SetTrans
void SetTrans(const Double_t arr[16])
Set transformation matrix.
Definition
TEveGeoShapeExtract.cxx:80
TEveGeoShapeExtract::GetRnrElements
Bool_t GetRnrElements()
Definition
TEveGeoShapeExtract.h:57
TEveGeoShapeExtract::SetElements
void SetElements(TList *e)
Definition
TEveGeoShapeExtract.h:51
TEveGeoShapeExtract::GetRGBALine
Float_t * GetRGBALine()
Definition
TEveGeoShapeExtract.h:55
TEveGeoShapeExtract::~TEveGeoShapeExtract
~TEveGeoShapeExtract()
Destructor. Delete shape and elements.
Definition
TEveGeoShapeExtract.cxx:52
TEveGeoShapeExtract::fRnrFrame
Bool_t fRnrFrame
Definition
TEveGeoShapeExtract.h:31
TEveGeoShapeExtract::fElements
TList * fElements
Definition
TEveGeoShapeExtract.h:34
TEveGeoShapeExtract::TEveGeoShapeExtract
TEveGeoShapeExtract(const TEveGeoShapeExtract &)
TEveGeoShapeExtract::SetRnrFrame
void SetRnrFrame(Bool_t r)
Definition
TEveGeoShapeExtract.h:48
TEveGeoShapeExtract::GetRnrSelf
Bool_t GetRnrSelf()
Definition
TEveGeoShapeExtract.h:56
TEveGeoShapeExtract::fRGBALine
Float_t fRGBALine[4]
Definition
TEveGeoShapeExtract.h:28
TEveGeoShapeExtract::fShape
TGeoShape * fShape
Definition
TEveGeoShapeExtract.h:33
TEveGeoShapeExtract::fTrans
Double_t fTrans[16]
Definition
TEveGeoShapeExtract.h:26
TEveGeoShapeExtract::fRnrSelf
Bool_t fRnrSelf
Definition
TEveGeoShapeExtract.h:29
TGeoShape
Base abstract class for all shapes.
Definition
TGeoShape.h:26
TList
A doubly linked list.
Definition
TList.h:38
TNamed
The TNamed class is the base class for all named ROOT classes.
Definition
TNamed.h:29
bool
n
const Int_t n
Definition
legend1.C:16
graf3d
eve
inc
TEveGeoShapeExtract.h
ROOT v6-26 - Reference Guide Generated on Mon Sep 11 2023 21:02:22 (GVA Time) using Doxygen 1.9.8