15 using namespace TMath;
30 for (
Int_t i=0; i<num; ++i)
34 height =
r.Uniform(5, 15);
35 rad =
r.Uniform(3, 5);
38 pos.
Set(
r.Uniform(-a,a),
r.Uniform(-a, a),
r.Uniform(-a, a));
69 using namespace TMath;
87 for (
Int_t i=0; i<num; ++i)
91 height =
r.Uniform(5, 15);
92 rad =
r.Uniform(3, 5);
95 pos.
Set(
r.Uniform(-a,a),
r.Uniform(-a, a),
r.Uniform(-a, a));
98 cones->
DigitColor(
r.Uniform(20, 255),
r.Uniform(20, 255),
99 r.Uniform(20, 255),
r.Uniform(20, 255));
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
void Set(const Float_t *v)
Collection of 3D primitives (fixed-size boxes, boxes of different sizes, or arbitrary sexto-epipeds...
void SetPickable(Bool_t p)
void AddEllipticCone(const TEveVector &pos, const TEveVector &dir, Float_t r, Float_t r2, Float_t angle=0)
Create a cone with apex at pos, axis dir and radius r.
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
static constexpr double rad
void AddElement(TEveElement *element, TEveElement *parent=0)
Add an element.
This is the base class for the ROOT Random number generators.
virtual void SetLineColor(Color_t col)
Set the line color.
void DigitColor(Color_t ci)
Set color for the last digit added.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
R__EXTERN TEveManager * gEve
void SetPos(Double_t x, Double_t y, Double_t z)
Set position (base-vec 4).
void SetDrawConeCap(Bool_t x)
void Reset(EBoxType_e boxType, Bool_t valIsCol, Int_t chunkSize)
Reset the data containers to zero size.
void SetPalette(TEveRGBAPalette *p)
Set TEveRGBAPalette pointer.
void RefitPlex()
Instruct underlying memory allocator to regroup itself into a contiguous memory chunk.
void AddCone(const TEveVector &pos, const TEveVector &dir, Float_t r)
Create a cone with apex at pos, axis dir and radius r.
Line_t * AddLine(Float_t x1, Float_t y1, Float_t z1, Float_t x2, Float_t y2, Float_t z2)
Add a line.
you should not use this method at all Int_t Int_t z
virtual TEveTrans & RefMainTrans()
Return reference to main transformation.
void DigitValue(Int_t value)
Set signal value for the last digit added.
Set of straight lines with optional markers along the lines.