25 box->SetAAQuadXY(-10, -10, 0, 20, 20);
33 for (
Int_t i=0; i<num; ++i)
35 q->AddQuad(
r.Uniform(-10, 9),
r.Uniform(-10, 9), 0,
36 r.Uniform(0.2, 1),
r.Uniform(0.2, 1));
37 q->QuadValue(
r.Uniform(0, 130));
39 "TNamed assigned to a quad as an indentifier."));
59 v->AddOverlayElement(po);
71 Info(
"quadset",
"use alt-left-mouse to select individual digits.");
88 for (
Int_t i=0; i<num; ++i)
90 q->AddQuad(
r.Uniform(-100, 100),
r.Uniform(-100, 100));
91 q->QuadValue(
r.Uniform(0, 130));
117 for (
Int_t i = 0; i < 36; ++i, p += 3) {
122 box->SetQuadByPoints(frame, 36);
133 for (
Int_t i = 0; i < maxI; ++i)
137 q->AddHexagon(
x,
y, rnd.Uniform(-1, 1), rnd.Uniform(0.2, 1));
138 q->QuadValue(rnd.Uniform(0, 130));
162 for (
Int_t i=0; i<num; ++i)
164 q->AddHexagon(
r.Uniform(-10, 10),
168 q->QuadValue(
r.Uniform(0, 120));
185 for (
Int_t i=0; i<num; ++i)
187 q->AddHexagon(
r.Uniform(-10, 10),
191 q->QuadValue(
r.Uniform(0, 120));
221 for (
Int_t i=0; i<num; ++i)
223 q->AddHexagon(
r.Uniform(-10, 10),
227 q->QuadValue(
r.Uniform(0, 120));
229 "This title is not confusing."));
243 quadset_set_callback(
q);
253void quadset_hierarchy(
Int_t n=4)
262 box->SetAABox(-10, -10, -10, 20, 20, 20);
263 box->SetFrameColor(33);
266 l->SetTitle(
"Tooltip");
285 printf(
"dump_digit_set_hit - 0x%lx, id=%d, obj=0x%lx\n",
void Info(const char *location, const char *msgfmt,...)
R__EXTERN TEveManager * gEve
char * Form(const char *fmt,...)
Base-class for storage of digit collections; provides transformation matrix (TEveTrans),...
void SetPalette(TEveRGBAPalette *p)
Set TEveRGBAPalette pointer.
void SetCallbackFoo(Callback_foo f)
void SetTooltipCBFoo(TooltipCB_foo f)
void SetFrame(TEveFrameBox *b)
Set TEveFrameBox pointer.
virtual const char * GetElementName() const
Virtual function for retrieving name of the element.
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.
TGLViewer * GetDefaultGLViewer() const
Get TGLViewer of the default TEveViewer.
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)
Supports various internal formats that result in rendering of a set of planar (lines,...
@ kQT_RectangleXZFixedDimY
Description of TEveRGBAPaletteOverlay.
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
void SetLimits(Int_t low, Int_t high)
Set low/high limits on signal value.
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
void RotateLF(Int_t i1, Int_t i2, Double_t amount)
Rotate in local frame. Does optimised version of MultRight.
void SetPos(Double_t x, Double_t y, Double_t z)
Set position (base-vec 4).
A GL overlay element which displays camera furstum.
void SetShowOrthographic(Bool_t x)
void SetOrthographicMode(EMode m)
Base GL viewer object - used by both standalone and embedded (in pad) GL.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
This is the base class for the ROOT Random number generators.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
constexpr Double_t TwoPi()