16 for (
Int_t i = 0; i < Ns; ++i) {
24 add_blobs(
x, 0.8 * rad, 0.8 * height, 0.8 *
size, level - 1);
28void hierarchical_scene()
35 auto s =
gEve->SpawnNewScene(
"Hierarchical Scene",
"OoogaDooga");
36 s->SetHierarchical(
kTRUE);
38 gEve->GetDefaultViewer()->AddScene(s);
40 add_blobs(s, 6, 4, 0.5, 4);
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Signed integer 4 bytes (int).
double Double_t
Double 8 bytes.
float Float_t
Float 4 bytes (float).
static void SetPalette(Int_t ncolors, Int_t *colors, Float_t alpha=1.)
static Int_t GetNumberOfColors()
static Int_t GetColorPalette(Int_t i)
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
virtual void AddElement(TEveElement *el)
Add el to the list of children.
Wrapper for TGeoShape with absolute positioning and color attributes allowing display of extracted TG...
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
Random number generator class based on M.
Double_t Cos(Double_t)
Returns the cosine of an angle of x radians.
Double_t Sin(Double_t)
Returns the sine of an angle of x radians.
constexpr Double_t TwoPi()