20 frm->SetAABoxCenterHalfSize(0, 0, 0, 12, 12, 12);
21 frm->SetFrameColor(
kCyan);
22 frm->SetBackColorRGBA(120,120,120,20);
23 frm->SetDrawBack(
kTRUE);
29 for (
Int_t i=0; i<num; ++i) {
30 q->AddBox(
r.Uniform(-10, 10),
r.Uniform(-10, 10),
r.Uniform(-10, 10),
31 r.Uniform(0.2, 1),
r.Uniform(0.2, 1),
r.Uniform(0.2, 1));
32 q->DigitValue(
r.Uniform(0, 130));
61 for (
Int_t i=0; i<num; ++i) {
62 q->AddBox(
r.Uniform(-10, 10),
r.Uniform(-10, 10),
r.Uniform(-10, 10),
63 r.Uniform(0.2, 1),
r.Uniform(0.2, 1),
r.Uniform(0.2, 1));
64 q->DigitColor(
r.Uniform(20, 255),
r.Uniform(20, 255),
65 r.Uniform(20, 255),
r.Uniform(20, 255));
91 q->SetMainTransparency(50);
93 for (
Int_t i=0; i<num; ++i) {
94 q->AddBox(
r.Uniform(-10, 10),
r.Uniform(-10, 10),
r.Uniform(-10, 10),
95 r.Uniform(0.2, 1),
r.Uniform(0.2, 1),
r.Uniform(0.2, 1));
122#define RND_BOX(x) (Float_t)r.Uniform(-(x), (x))
125 for (
Int_t i=0; i<num; ++i) {
132 x -
a + RND_BOX(
d),
y -
a + RND_BOX(
d), z -
a + RND_BOX(
d),
133 x -
a + RND_BOX(
d),
y +
a + RND_BOX(
d), z -
a + RND_BOX(
d),
134 x +
a + RND_BOX(
d),
y +
a + RND_BOX(
d), z -
a + RND_BOX(
d),
135 x +
a + RND_BOX(
d),
y -
a + RND_BOX(
d), z -
a + RND_BOX(
d),
136 x -
a + RND_BOX(
d),
y -
a + RND_BOX(
d), z +
a + RND_BOX(
d),
137 x -
a + RND_BOX(
d),
y +
a + RND_BOX(
d), z +
a + RND_BOX(
d),
138 x +
a + RND_BOX(
d),
y +
a + RND_BOX(
d), z +
a + RND_BOX(
d),
139 x +
a + RND_BOX(
d),
y -
a + RND_BOX(
d), z +
a + RND_BOX(
d) };
141 q->DigitValue(
r.Uniform(0, 130));
169 for (
Int_t i=0; i<num; ++i) {
170 q->AddHex(
TEveVector(
r.Uniform(-10, 10),
r.Uniform(-10, 10),
r.Uniform(-10, 10)),
171 r.Uniform(0.2, 1),
r.Uniform(0, 60),
r.Uniform(0.2, 5));
172 q->DigitColor(
r.Uniform(20, 255),
r.Uniform(20, 255),
173 r.Uniform(20, 255),
r.Uniform(20, 255));
177 q->SetPickable(
true);
178 q->SetAlwaysSecSelect(
true);
R__EXTERN TEveManager * gEve
TEveVectorT< Float_t > TEveVector
Collection of 3D primitives (fixed-size boxes, boxes of different sizes, or arbitrary sexto-epipeds,...
Description of a 2D or 3D frame that can be used to visually group a set of objects.
void AddElement(TEveElement *element, TEveElement *parent=0)
Add an element.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
void SetPos(Double_t x, Double_t y, Double_t z)
Set position (base-vec 4).
This is the base class for the ROOT Random number generators.