Demonstrates usage of TEveBox class.
{
b->SetMainTransparency(0);
#define RND_BOX(x) r.Uniform(-(x), (x))
#undef RND_BOX
}
R__EXTERN TEveManager * gEve
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
R__EXTERN TRandom * gRandom
3D box with arbitrary vertices (cuboid).
void AddElement(TEveElement *element, TEveElement *parent=nullptr)
Add an element.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
void SetMainColor(Color_t color) override
Set main color.
This is the base class for the ROOT Random number generators.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
- Author
- Matevz Tadel
Definition in file box.C.