28 for (
Int_t i=0; i<num; ++i)
30 q->
AddQuad(
r.Uniform(-10, 9),
r.Uniform(-10, 9), 0,
31 r.Uniform(0.2, 1),
r.Uniform(0.2, 1));
34 "TNamed assigned to a quad as an indentifier."));
66 Info(
"quadset",
"use alt-left-mouse to select individual digits.");
84 for (
Int_t i=0; i<num; ++i)
86 q->
AddQuad(
r.Uniform(-100, 100),
r.Uniform(-100, 100));
108 Float_t R = 10, dW = 1, dH = .5;
114 for (
Int_t i = 0; i < 36; ++i, p += 3) {
130 for (
Int_t i = 0; i < maxI; ++i)
134 q->
AddHexagon(x, y, rnd.Uniform(-1, 1), rnd.Uniform(0.2, 1));
160 for (
Int_t i=0; i<num; ++i)
183 for (
Int_t i=0; i<num; ++i)
220 for (
Int_t i=0; i<num; ++i)
228 "This title is not confusing."));
245 gROOT->ProcessLine(
".L quadset_callback.cxx+");
251 void quadset_hierarchy(
Int_t n=4)
261 box->
SetAABox(-10, -10, -10, 20, 20, 20);
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...
void SetDefWidth(Float_t v)
R__EXTERN TStyle * gStyle
void AddHexagon(Float_t a, Float_t b, Float_t z, Float_t r)
Add a hexagon with given center (a,b,c) and radius.
void AddQuad(Float_t *verts)
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 AddElement(TEveElement *element, TEveElement *parent=0)
Add an element.
TGLCameraOverlay * GetCameraOverlay() const
void SetFrameColor(Color_t ci)
Set color of the frame.
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,...)
void SetDefHeight(Float_t v)
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 SetQuadByPoints(const Float_t *pointArr, Int_t nPoints)
Setup frame with explicitly given corner coordinates.
void quadset_set_callback(TEveDigitSet *ds)
Base GL viewer object - used by both standalone and embedded (in pad) GL.
virtual void AddElement(TEveElement *el)
Add el to the list of children.
void SetOrthographicMode(EMode m)
virtual void AddOverlayElement(TGLOverlayElement *el)
Add overlay element.
void SetPos(Double_t x, Double_t y, Double_t z)
Set position (base-vec 4).
void QuadValue(Int_t value)
void SetPalette(TEveRGBAPalette *p)
Set TEveRGBAPalette pointer.
void RefitPlex()
Instruct underlying memory allocator to regroup itself into a contiguous memory chunk.
TGLViewer * GetDefaultGLViewer() const
Get TGLViewer of the default TEveViewer.
void SetCurrentCamera(ECameraType camera)
Set current active camera - 'cameraType' one of: kCameraPerspX, kCameraPerspY, kCameraPerspZ, kCameraOrthoXOY, kCameraOrthoXOZ, kCameraOrthoZOY, kCameraOrthoXnOY, kCameraOrthoXnOZ, kCameraOrthoZnOY.
void SetAAQuadXY(Float_t x, Float_t y, Float_t z, Float_t dx, Float_t dy)
Setup for axis-aligned rectangle with one corner at x, y, z and given sizes in x (dx) and y (dy)...
void RotateLF(Int_t i1, Int_t i2, Double_t amount)
Rotate in local frame. Does optimised version of MultRight.
void SetLimits(Int_t low, Int_t high)
Set low/high limits on signal value.
virtual TEveTrans & RefMainTrans()
Return reference to main transformation.
void Reset(EQuadType_e quadType, Bool_t valIsCol, Int_t chunkSize)
Clear the quad-set and reset the basic parameters.
void SetAABox(Float_t x, Float_t y, Float_t z, Float_t dx, Float_t dy, Float_t dz)
Setup for axis-aligned box with one corner at x, y, z and given sizes in x (dx), y (dy) and z (dz)...
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
void SetPalette(Int_t ncolors=kBird, Int_t *colors=0, Float_t alpha=1.)
See TColor::SetPalette.
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.