48 auto b =
new TEveBox(
"Box",
"Test Title");
50 b->SetMainTransparency(0);
51 b->SetVertex(0,
x -
a,
y -
a, z -
a);
52 b->SetVertex(1,
x -
a,
y +
a, z -
a);
53 b->SetVertex(2,
x +
a,
y +
a, z -
a);
54 b->SetVertex(3,
x +
a,
y -
a, z -
a);
55 b->SetVertex(4,
x -
a,
y -
a, z +
a);
56 b->SetVertex(5,
x -
a,
y +
a, z +
a);
57 b->SetVertex(6,
x +
a,
y +
a, z +
a);
58 b->SetVertex(7,
x +
a,
y -
a, z +
a);
66 ann->SetTextSize(0.1);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TEveManager * gEve
This class stores the date and time with a precision of one second in an unsigned 32 bit word (950130...
3D box with arbitrary vertices (cuboid).
void AddElement(TEveElement *element, TEveElement *parent=nullptr)
Add an element.
TGLViewer * GetDefaultGLViewer() const
Get TGLViewer of the default TEveViewer.
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 RequestDraw(Short_t LOD=TGLRnrCtx::kLODMed)
Post request for redraw of viewer at level of detail 'LOD' Request is directed via cross thread gVirt...
Handles synchronous and a-synchronous timer events.