16 for (
Int_t i = 0; i <
n; ++i) {
17 line->SetNextPoint(
x,
y, z);
44 cmp->AddElement(random_line(rnd, 20, 10));
45 cmp->AddElement(random_line(rnd, 20, 10));
47 auto line = random_line(rnd, 20, 12);
48 line->ApplyVizTag(
"BigLine");
49 cmp->AddElement(
line);
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)
R__EXTERN TEveManager * gEve
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.
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.
virtual Double_t Uniform(Double_t x1=1)
Returns a uniform deviate on the interval (0, x1).
std::string compound(const std::string &name)