16 for (
Int_t i = 0; i <
n; ++i) {
17 line->SetNextPoint(
x,
y, z);
18 x +=
rnd.Uniform(0, delta);
19 y +=
rnd.Uniform(0, delta);
20 z +=
rnd.Uniform(0, delta);
48 line->ApplyVizTag(
"BigLine");
49 cmp->AddElement(
line);
66 scene->AddElement(axes);
70 mng->ImportElements(cmp);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TEveManager * gEve
Description of TEveCompound.
void SetMainColor(Color_t color) override
SetMainColor for the compound.
An arbitrary polyline with fixed line and marker attributes.
void AddElement(TEveElement *element, TEveElement *parent=nullptr)
Add an element.
Bool_t InsertVizDBEntry(const TString &tag, TEveElement *model, Bool_t replace, Bool_t update)
Insert a new visualization-parameter database entry.
TEveViewer * SpawnNewViewer(const char *name, const char *title="", Bool_t embed=kTRUE)
Create a new GL viewer.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
TGListTreeItem * AddToListTree(TEveElement *re, Bool_t open, TGListTree *lt=nullptr)
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
TEveScene * SpawnNewScene(const char *name, const char *title="")
Create a new scene.
Axes for non-linear projections.
Manager class for steering of projections and managing projected objects.
This is the base class for the ROOT Random number generators.
REX::REveLine * random_line(TRandom &rnd, Int_t n, Float_t delta)