ROOT
master
Reference Guide
Loading...
Searching...
No Matches
REveGeoShapeExtract.hxx
Go to the documentation of this file.
1
// @(#)root/eve7:$Id$
2
// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4
/*************************************************************************
5
* Copyright (C) 1995-2019, 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 ROOT7_REveGeoShapeExtract
13
#define ROOT7_REveGeoShapeExtract
14
15
#include "
TNamed.h
"
16
17
class
TList
;
18
class
TGeoShape
;
19
20
namespace
ROOT
{
21
namespace
Experimental {
22
23
class
REveGeoShapeExtract
:
public
TNamed
24
{
25
REveGeoShapeExtract
(
const
REveGeoShapeExtract
&) =
delete
;
26
REveGeoShapeExtract
&
operator=
(
const
REveGeoShapeExtract
&) =
delete
;
27
28
protected
:
29
Double_t
fTrans
[16];
// Transformation matrix, 4x4 column major.
30
Float_t
fRGBA
[4];
// RGBA color.
31
Float_t
fRGBALine
[4];
// RGBA color.
32
Bool_t
fRnrSelf
;
// Render this object.
33
Bool_t
fRnrElements
;
// Render children of this object.
34
Bool_t
fRnrFrame
;
// Also draw shape outline.
35
Bool_t
fMiniFrame
;
// Minimize shape outline when drawing.
36
TGeoShape
*
fShape
;
// Shape to be drawn for this object.
37
TList
*
fElements
;
// Children elements.
38
39
public
:
40
REveGeoShapeExtract
(
const
char
*
n
=
"REveGeoShapeExtract"
,
const
char
*t =
nullptr
);
41
~REveGeoShapeExtract
()
override
;
42
43
Bool_t
HasElements
();
44
void
AddElement
(
REveGeoShapeExtract
* gse);
45
46
void
SetTrans
(
const
Double_t
arr[16]);
47
void
SetRGBA
(
const
Float_t
arr[4]);
48
void
SetRGBALine
(
const
Float_t
arr[4]);
49
void
SetRnrSelf
(
Bool_t
r
) {
fRnrSelf
=
r
; }
50
void
SetRnrElements
(
Bool_t
r
) {
fRnrElements
=
r
; }
51
void
SetRnrFrame
(
Bool_t
r
) {
fRnrFrame
=
r
; }
52
void
SetMiniFrame
(
Bool_t
r
) {
fMiniFrame
=
r
; }
53
void
SetShape
(
TGeoShape
* s) {
fShape
= s; }
54
void
SetElements
(
TList
*
e
) {
fElements
=
e
; }
55
56
Double_t
*
GetTrans
() {
return
fTrans
; }
57
Float_t
*
GetRGBA
() {
return
fRGBA
; }
58
Float_t
*
GetRGBALine
() {
return
fRGBALine
; }
59
Bool_t
GetRnrSelf
() {
return
fRnrSelf
; }
60
Bool_t
GetRnrElements
() {
return
fRnrElements
; }
61
Bool_t
GetRnrFrame
() {
return
fRnrFrame
; }
62
Bool_t
GetMiniFrame
() {
return
fMiniFrame
; }
63
TGeoShape
*
GetShape
() {
return
fShape
; }
64
TList
*
GetElements
() {
return
fElements
; }
65
66
ClassDefOverride
(
REveGeoShapeExtract
, 1);
// Globally positioned TGeoShape with rendering attributes and an optional list of daughter shape-extracts.
67
};
68
69
}
// namespace Experimental
70
}
// namespace ROOT
71
72
#endif
e
#define e(i)
Definition
RSha256.hxx:103
Float_t
float Float_t
Definition
RtypesCore.h:57
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:346
r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Definition
TGWin32VirtualXProxy.cxx:168
TNamed.h
ROOT::Experimental::REveGeoShapeExtract
Definition
REveGeoShapeExtract.hxx:24
ROOT::Experimental::REveGeoShapeExtract::fElements
TList * fElements
Definition
REveGeoShapeExtract.hxx:37
ROOT::Experimental::REveGeoShapeExtract::GetRnrSelf
Bool_t GetRnrSelf()
Definition
REveGeoShapeExtract.hxx:59
ROOT::Experimental::REveGeoShapeExtract::GetElements
TList * GetElements()
Definition
REveGeoShapeExtract.hxx:64
ROOT::Experimental::REveGeoShapeExtract::SetRGBA
void SetRGBA(const Float_t arr[4])
Set RGBA color.
Definition
REveGeoShapeExtract.cxx:88
ROOT::Experimental::REveGeoShapeExtract::GetRnrFrame
Bool_t GetRnrFrame()
Definition
REveGeoShapeExtract.hxx:61
ROOT::Experimental::REveGeoShapeExtract::GetRGBALine
Float_t * GetRGBALine()
Definition
REveGeoShapeExtract.hxx:58
ROOT::Experimental::REveGeoShapeExtract::AddElement
void AddElement(REveGeoShapeExtract *gse)
Add a child element.
Definition
REveGeoShapeExtract.cxx:68
ROOT::Experimental::REveGeoShapeExtract::SetElements
void SetElements(TList *e)
Definition
REveGeoShapeExtract.hxx:54
ROOT::Experimental::REveGeoShapeExtract::GetRGBA
Float_t * GetRGBA()
Definition
REveGeoShapeExtract.hxx:57
ROOT::Experimental::REveGeoShapeExtract::SetRnrElements
void SetRnrElements(Bool_t r)
Definition
REveGeoShapeExtract.hxx:50
ROOT::Experimental::REveGeoShapeExtract::GetRnrElements
Bool_t GetRnrElements()
Definition
REveGeoShapeExtract.hxx:60
ROOT::Experimental::REveGeoShapeExtract::SetRnrFrame
void SetRnrFrame(Bool_t r)
Definition
REveGeoShapeExtract.hxx:51
ROOT::Experimental::REveGeoShapeExtract::fShape
TGeoShape * fShape
Definition
REveGeoShapeExtract.hxx:36
ROOT::Experimental::REveGeoShapeExtract::fRnrSelf
Bool_t fRnrSelf
Definition
REveGeoShapeExtract.hxx:32
ROOT::Experimental::REveGeoShapeExtract::GetTrans
Double_t * GetTrans()
Definition
REveGeoShapeExtract.hxx:56
ROOT::Experimental::REveGeoShapeExtract::SetTrans
void SetTrans(const Double_t arr[16])
Set transformation matrix.
Definition
REveGeoShapeExtract.cxx:79
ROOT::Experimental::REveGeoShapeExtract::operator=
REveGeoShapeExtract & operator=(const REveGeoShapeExtract &)=delete
ROOT::Experimental::REveGeoShapeExtract::HasElements
Bool_t HasElements()
True if has at least one element.
Definition
REveGeoShapeExtract.cxx:60
ROOT::Experimental::REveGeoShapeExtract::~REveGeoShapeExtract
~REveGeoShapeExtract() override
Destructor. Delete shape and elements.
Definition
REveGeoShapeExtract.cxx:51
ROOT::Experimental::REveGeoShapeExtract::SetShape
void SetShape(TGeoShape *s)
Definition
REveGeoShapeExtract.hxx:53
ROOT::Experimental::REveGeoShapeExtract::GetShape
TGeoShape * GetShape()
Definition
REveGeoShapeExtract.hxx:63
ROOT::Experimental::REveGeoShapeExtract::fRGBALine
Float_t fRGBALine[4]
Definition
REveGeoShapeExtract.hxx:31
ROOT::Experimental::REveGeoShapeExtract::GetMiniFrame
Bool_t GetMiniFrame()
Definition
REveGeoShapeExtract.hxx:62
ROOT::Experimental::REveGeoShapeExtract::fMiniFrame
Bool_t fMiniFrame
Definition
REveGeoShapeExtract.hxx:35
ROOT::Experimental::REveGeoShapeExtract::fRGBA
Float_t fRGBA[4]
Definition
REveGeoShapeExtract.hxx:30
ROOT::Experimental::REveGeoShapeExtract::SetMiniFrame
void SetMiniFrame(Bool_t r)
Definition
REveGeoShapeExtract.hxx:52
ROOT::Experimental::REveGeoShapeExtract::fRnrElements
Bool_t fRnrElements
Definition
REveGeoShapeExtract.hxx:33
ROOT::Experimental::REveGeoShapeExtract::SetRGBALine
void SetRGBALine(const Float_t arr[4])
Set RGBA color for line.
Definition
REveGeoShapeExtract.cxx:97
ROOT::Experimental::REveGeoShapeExtract::SetRnrSelf
void SetRnrSelf(Bool_t r)
Definition
REveGeoShapeExtract.hxx:49
ROOT::Experimental::REveGeoShapeExtract::REveGeoShapeExtract
REveGeoShapeExtract(const REveGeoShapeExtract &)=delete
ROOT::Experimental::REveGeoShapeExtract::fTrans
Double_t fTrans[16]
Definition
REveGeoShapeExtract.hxx:29
ROOT::Experimental::REveGeoShapeExtract::fRnrFrame
Bool_t fRnrFrame
Definition
REveGeoShapeExtract.hxx:34
TGeoShape
Base abstract class for all shapes.
Definition
TGeoShape.h:25
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
double
n
const Int_t n
Definition
legend1.C:16
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition
EExecutionPolicy.hxx:4
graf3d
eve7
inc
ROOT
REveGeoShapeExtract.hxx
ROOT master - Reference Guide Generated on Thu Dec 19 2024 09:45:53 (GVA Time) using Doxygen 1.9.8