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) {
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));
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.
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
REveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
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.
This is the base class for the ROOT Random number generators.
ROOT::Experimental::REveManager * eveMng