21 auto eveMng = REveManager::Create();
29 q->Reset(REveBoxSet::kBT_FreeBox,
kFALSE, 64);
31#define RND_BOX(x) (Float_t)r.Uniform(-(x), (x))
34 for (
Int_t i=0; i<num; ++i) {
41 x -
a + RND_BOX(
d),
y -
a + RND_BOX(
d), z -
a + RND_BOX(
d),
42 x -
a + RND_BOX(
d),
y +
a + RND_BOX(
d), z -
a + RND_BOX(
d),
43 x +
a + RND_BOX(
d),
y +
a + RND_BOX(
d), z -
a + RND_BOX(
d),
44 x +
a + RND_BOX(
d),
y -
a + RND_BOX(
d), z -
a + RND_BOX(
d),
45 x -
a + RND_BOX(
d),
y -
a + RND_BOX(
d), z +
a + RND_BOX(
d),
46 x -
a + RND_BOX(
d),
y +
a + RND_BOX(
d), z +
a + RND_BOX(
d),
47 x +
a + RND_BOX(
d),
y +
a + RND_BOX(
d), z +
a + RND_BOX(
d),
48 x +
a + RND_BOX(
d),
y -
a + RND_BOX(
d), z +
a + RND_BOX(
d) };
50 q->DigitValue(
r.Uniform(0, 130));
58 q->SetAlwaysSecSelect(1);
69 auto eveMng = REveManager::Create();
76 frm->SetAABoxCenterHalfSize(0, 0, 0, 12, 12, 12);
77 frm->SetFrameColor(
kCyan);
78 frm->SetBackColorRGBA(120,120,120,20);
79 frm->SetDrawBack(
kTRUE);
84 q->Reset(REveBoxSet::kBT_AABox,
kFALSE, 64);
85 for (
Int_t i=0; i<num; ++i) {
86 q->AddBox(
r.Uniform(-10, 10),
r.Uniform(-10, 10),
r.Uniform(-10, 10),
87 r.Uniform(0.2, 1),
r.Uniform(0.2, 1),
r.Uniform(0.2, 1));
88 q->DigitValue(
r.Uniform(0, 130));
97 q->SetAlwaysSecSelect(1);
111 auto eveMng = REveManager::Create();
116 q->Reset(REveBoxSet::kBT_AABox,
kTRUE, 64);
117 for (
Int_t i=0; i<num; ++i) {
118 q->AddBox(
r.Uniform(-10, 10),
r.Uniform(-10, 10),
r.Uniform(-10, 10),
119 r.Uniform(0.2, 1),
r.Uniform(0.2, 1),
r.Uniform(0.2, 1));
120 q->DigitColor(
r.Uniform(20, 255),
r.Uniform(20, 255),
121 r.Uniform(20, 255),
r.Uniform(20, 255));
140 auto eveMng = REveManager::Create();
147 q->SetMainColor(
kRed);
148 q->SetMainTransparency(50);
149 q->Reset(REveBoxSet::kBT_AABox,
kFALSE, 64);
151 for (
Int_t i=0; i<num; ++i) {
152 q->AddBox(
r.Uniform(-10, 10),
r.Uniform(-10, 10),
r.Uniform(-10, 10),
153 r.Uniform(0.2, 1),
r.Uniform(0.2, 1),
r.Uniform(0.2, 1));
virtual void AddElement(REveElement *el)
Add el to the list of children.
REveScene * GetEventScene() const
void Show(const RWebDisplayArgs &args="")
Show eve manager in specified browser.
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.
REX::REveManager * eveMng