14 auto eveMng = REveManager::Create();
16 using namespace TMath;
18 REveManager::Create();
22 lines->SetLineWidth(2);
35 for (
Int_t i = 0; i < num; ++i) {
39 rad =
r.Uniform(3, 5);
42 pos.
Set(
r.Uniform(-
a,
a),
r.Uniform(-
a,
a),
r.Uniform(-
a,
a));
44 cones->AddEllipticCone(pos, dir, rad, 0.5 * rad,
r.Uniform(0, 360));
61 cones->SetPickable(1);
62 cones->SetAlwaysSecSelect(1);
68 v->SetAxesType(REveViewer::kAxesOrigin);
76 auto eveMng = REveManager::Create();
78 using namespace TMath;
82 lines->SetLineWidth(2);
94 for (
Int_t i = 0; i < num; ++i) {
98 rad =
r.Uniform(3, 5);
101 pos.
Set(
r.Uniform(-
a,
a),
r.Uniform(-
a,
a),
r.Uniform(-
a,
a));
103 cones->AddCone(pos, dir, rad);
104 cones->DigitValue(
r.Uniform(0, 500));
111 cones->SetPickable(1);
112 cones->SetAlwaysSecSelect(1);
114 if (
r.Integer(2) > 0)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Collection of 3D primitives (fixed-size boxes, boxes of different sizes, or arbitrary sexto-epipeds,...
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...
Eve representation of a GL view.
virtual void AddElement(REveElement *el)
Add el to the list of children.
REveElement * FirstChild() const
Returns the first child element or 0 if the list is empty.
REveScene * GetEventScene() const
REveViewerList * GetViewers() const
void Show(const RWebDisplayArgs &args="")
Show eve manager in specified browser.
REveStraightLineSet Set of straight lines with optional markers along the lines.
void Set(const Float_t *v)
This is the base class for the ROOT Random number generators.
ROOT::Experimental::REveManager * eveMng
Double_t Cos(Double_t)
Returns the cosine of an angle of x radians.
Double_t Sin(Double_t)
Returns the sine of an angle of x radians.