16 for (
Int_t i = 0; i <
n; ++i) {
17 line->SetNextPoint(
x,
y, z);
34 gEve->InsertVizDBEntry(
"BigLine", ml);
38 gEve->AddElement(cmp);
48 line->ApplyVizTag(
"BigLine");
49 cmp->AddElement(
line);
54 auto viewer =
gEve->SpawnNewViewer(
"Projected");
55 auto scene =
gEve->SpawnNewScene(
"Projected Event");
56 viewer->AddScene(scene);
58 auto v = viewer->GetGLViewer();
64 scene->AddElement(mng);
66 scene->AddElement(axes);
70 mng->ImportElements(cmp);
int Int_t
Signed integer 4 bytes (int).
float Float_t
Float 4 bytes (float).
Description of TEveCompound.
void SetMainColor(Color_t color) override
SetMainColor for the compound.
virtual void SetMainColor(Color_t color)
Set main color of the element.
An arbitrary polyline with fixed line and marker attributes.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
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.
virtual Double_t Uniform(Double_t x1=1)
Returns a uniform deviate on the interval (0, x1).
REX::REveLine * random_line(TRandom &rnd, Int_t n, Float_t delta)