Demonstrates usage of EVE compound objects - class TEveCompound.
{
for (
Int_t i = 0; i <
n; ++i) {
x +=
rnd.Uniform(0, delta);
y +=
rnd.Uniform(0, delta);
z +=
rnd.Uniform(0, delta);
}
}
{
auto eveMng = REX::REveManager::Create();
cmp->OpenCompound();
cmp->CloseCompound();
eveMng->GetEventScene()->AddElement(cmp);
}
int Int_t
Signed integer 4 bytes (int)
float Float_t
Float 4 bytes (float)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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.
std::string compound(const std::string &name)
Namespace for ROOT features in testing.
- Author
- Matevz Tadel
Definition in file compound.C.