Demonstrates usage of EVE compound objects - class TEveCompound.
{
}
}
{
ml->SetLineStyle(2);
ml->SetLineWidth(3);
gEve->InsertVizDBEntry(
"BigLine", ml);
cmp->OpenCompound();
line->ApplyVizTag(
"BigLine");
cmp->CloseCompound();
auto viewer =
gEve->SpawnNewViewer(
"Projected");
auto scene =
gEve->SpawnNewScene(
"Projected Event");
viewer->AddScene(scene);
{
auto v = viewer->GetGLViewer();
}
scene->AddElement(mng);
scene->AddElement(axes);
mng->ImportElements(cmp);
}
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.
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)
- Author
- Matevz Tadel
Definition in file compound.C.