19 box->SetAAQuadXY(-10, -10, 0, 20, 20);
27 for (
Int_t i=0; i<num; ++i)
29 q->AddQuad(
r.Uniform(-10, 9),
r.Uniform(-10, 9), 0,
30 r.Uniform(0.2, 1),
r.Uniform(0.2, 1));
31 q->QuadValue(
r.Uniform(0, 130));
33 "TNamed assigned to a quad as an indentifier."));
53 v->AddOverlayElement(po);
65 Info(
"quadset",
"use alt-left-mouse to select individual digits.");
82 for (
Int_t i=0; i<num; ++i)
84 q->AddQuad(
r.Uniform(-100, 100),
r.Uniform(-100, 100));
85 q->QuadValue(
r.Uniform(0, 130));
111 for (
Int_t i = 0; i < 36; ++i, p += 3) {
116 box->SetQuadByPoints(frame, 36);
127 for (
Int_t i = 0; i < maxI; ++i)
131 q->AddHexagon(
x,
y, rnd.Uniform(-1, 1), rnd.Uniform(0.2, 1));
132 q->QuadValue(rnd.Uniform(0, 130));
156 for (
Int_t i=0; i<num; ++i)
158 q->AddHexagon(
r.Uniform(-10, 10),
162 q->QuadValue(
r.Uniform(0, 120));
179 for (
Int_t i=0; i<num; ++i)
181 q->AddHexagon(
r.Uniform(-10, 10),
185 q->QuadValue(
r.Uniform(0, 120));
215 for (
Int_t i=0; i<num; ++i)
217 q->AddHexagon(
r.Uniform(-10, 10),
221 q->QuadValue(
r.Uniform(0, 120));
223 "This title is not confusing."));
240 gROOT->ProcessLine(
".L quadset_callback.cxx+");
246 void quadset_hierarchy(
Int_t n=4)
255 box->SetAABox(-10, -10, -10, 20, 20, 20);
256 box->SetFrameColor(33);
259 l->SetTitle(
"Tooltip");
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
A GL overlay element which displays camera furstum.
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
constexpr Double_t TwoPi()
Description of TEveRGBAPaletteOverlay.
Description of a 2D or 3D frame that can be used to visually group a set of objects.
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
void AddElement(TEveElement *element, TEveElement *parent=0)
Add an element.
This is the base class for the ROOT Random number generators.
The TNamed class is the base class for all named ROOT classes.
void Info(const char *location, const char *msgfmt,...)
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
void SetFrame(TEveFrameBox *b)
Set TEveFrameBox pointer.
R__EXTERN TEveManager * gEve
char * Form(const char *fmt,...)
void quadset_set_callback(TEveDigitSet *ds)
Base GL viewer object - used by both standalone and embedded (in pad) GL.
TGLViewer * GetDefaultGLViewer() const
Get TGLViewer of the default TEveViewer.
void SetOrthographicMode(EMode m)
void SetPos(Double_t x, Double_t y, Double_t z)
Set position (base-vec 4).
void SetPalette(TEveRGBAPalette *p)
Set TEveRGBAPalette pointer.
void RotateLF(Int_t i1, Int_t i2, Double_t amount)
Rotate in local frame. Does optimised version of MultRight.
you should not use this method at all Int_t Int_t z
void SetLimits(Int_t low, Int_t high)
Set low/high limits on signal value.
void SetShowOrthographic(Bool_t x)
Supports various internal formats that result in rendering of a set of planar (lines, rectangles, hexagons with shared normal) objects.