27 auto eveMng = REveManager::Create();
37 q->Reset(REveBoxSet::kBT_FreeBox,
kFALSE, 64);
39#define RND_BOX(x) (Float_t)r.Uniform(-(x), (x))
44 for (
int i = 0; i < num; ++i) {
48 float a =
r.Uniform(0.2*A, A);
60 q->DigitValue(
r.Uniform(0, 130));
68 q->SetAlwaysSecSelect(1);
70 q->SetTooltipCBFoo(customTooltip);
81 auto eveMng = REveManager::Create();
88 frm->SetAABoxCenterHalfSize(0, 0, 0, 12, 12, 12);
89 frm->SetFrameColor(
kCyan);
90 frm->SetBackColorRGBA(120,120,120,20);
91 frm->SetDrawBack(
kTRUE);
96 q->Reset(REveBoxSet::kBT_AABox,
kFALSE, 64);
97 for (
Int_t i=0; i<num; ++i) {
98 q->AddBox(
r.Uniform(-10, 10),
r.Uniform(-10, 10),
r.Uniform(-10, 10),
99 r.Uniform(0.2, 1),
r.Uniform(0.2, 1),
r.Uniform(0.2, 1));
100 q->DigitValue(
r.Uniform(0, 130));
109 q->SetAlwaysSecSelect(1);
123 auto eveMng = REveManager::Create();
128 q->Reset(REveBoxSet::kBT_AABox,
kTRUE, 64);
129 for (
Int_t i=0; i<num; ++i) {
130 q->AddBox(
r.Uniform(-10, 10),
r.Uniform(-10, 10),
r.Uniform(-10, 10),
131 r.Uniform(0.2, 1),
r.Uniform(0.2, 1),
r.Uniform(0.2, 1));
132 q->DigitColor(
r.Uniform(20, 255),
r.Uniform(20, 255),
133 r.Uniform(20, 255),
r.Uniform(20, 255));
152 auto eveMng = REveManager::Create();
159 q->SetMainColor(
kRed);
160 q->SetMainTransparency(50);
161 q->Reset(REveBoxSet::kBT_AABox,
kFALSE, 64);
163 for (
Int_t i=0; i<num; ++i) {
164 q->AddBox(
r.Uniform(-10, 10),
r.Uniform(-10, 10),
r.Uniform(-10, 10),
165 r.Uniform(0.2, 1),
r.Uniform(0.2, 1),
r.Uniform(0.2, 1));
184 auto eveMng = REveManager::Create();
189 q->Reset(REveBoxSet::kBT_Hex,
kTRUE, 64);
191 for (
Int_t i=0; i<num; ++i) {
192 q->AddHex(
REveVector(
r.Uniform(-10, 10),
r.Uniform(-10, 10),
r.Uniform(-10, 10)),
193 r.Uniform(0.2, 1),
r.Uniform(0, 60),
r.Uniform(0.2, 5));
194 q->DigitColor(
r.Uniform(20, 255),
r.Uniform(20, 255),
195 r.Uniform(20, 255),
r.Uniform(20, 255));
199 q->SetPickable(
true);
200 q->SetAlwaysSecSelect(
true);
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
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...
DigitBase_t * GetDigit(Int_t n) const
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.
const char * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
ROOT::Experimental::REveManager * eveMng