17 auto gEve = REveManager::Create();
23 b->SetMainTransparency(0);
25#define RND_BOX(x) r.Uniform(-(x), (x))
26 b->SetVertex(0,
x -
a + RND_BOX(
d),
y -
a + RND_BOX(
d), z -
a + RND_BOX(
d));
27 b->SetVertex(1,
x -
a + RND_BOX(
d),
y +
a + RND_BOX(
d), z -
a + RND_BOX(
d));
28 b->SetVertex(2,
x +
a + RND_BOX(
d),
y +
a + RND_BOX(
d), z -
a + RND_BOX(
d));
29 b->SetVertex(3,
x +
a + RND_BOX(
d),
y -
a + RND_BOX(
d), z -
a + RND_BOX(
d));
30 b->SetVertex(4,
x -
a + RND_BOX(
d),
y -
a + RND_BOX(
d), z +
a + RND_BOX(
d));
31 b->SetVertex(5,
x -
a + RND_BOX(
d),
y +
a + RND_BOX(
d), z +
a + RND_BOX(
d));
32 b->SetVertex(6,
x +
a + RND_BOX(
d),
y +
a + RND_BOX(
d), z +
a + RND_BOX(
d));
33 b->SetVertex(7,
x +
a + RND_BOX(
d),
y -
a + RND_BOX(
d), z +
a + RND_BOX(
d));
R__EXTERN TEveManager * gEve
R__EXTERN TRandom * gRandom
virtual void AddElement(TEveElement *el)
Add el to the list of children.
TEveScene * GetEventScene() const
This is the base class for the ROOT Random number generators.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)