Demonstrates usage of EVE compound objects - class TEveCompound.
{
for (
Int_t i = 0; i <
n; ++i) {
}
}
{
auto eveMng = REX::REveManager::Create();
cmp->OpenCompound();
cmp->AddElement(random_line(rnd, 20, 10));
cmp->AddElement(random_line(rnd, 20, 10));
auto line = random_line(rnd, 20, 12);
cmp->CloseCompound();
eveMng->GetEventScene()->AddElement(cmp);
eveMng->Show();
}
int Int_t
Signed integer 4 bytes (int)
float Float_t
Float 4 bytes (float)
void SetMainColor(Color_t color) override
SetMainColor for the compound.
REveLine An arbitrary polyline with fixed line and marker attributes.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
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).
Namespace for ROOT features in testing.
std::string compound(const std::string &name)
- Author
- Matevz Tadel
Definition in file compound.C.