How to use EVE without the standard window.
Type gEve->GetBrowser()->MapWindow() to bring it up for object interaction, debugging, etc.
void arrow_standalone()
{
mf->SetWindowName("Arrow Foo");
eve_v->SetGLViewer(ev, ev->GetFrame());
eve_v->IncDenyDestroy();
eve_v->AddScene(
gEve->GetEventScene());
gEve->GetViewers()->AddElement(eve_v);
mf->MapSubwindows();
mf->SetEditable();
auto c =
new TCanvas(
"Foo",
"Bar", 400, 400);
mf->Layout();
mf->MapWindow();
}
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
static void Macro(const char *mac)
Execute macro 'mac'. Do not reload the macro.
Eve representation of TGLViewer.
The base class for composite widgets (menu bars, list boxes, etc.).
Minimal GL-viewer that can be embedded in a standard ROOT frames.
This class describes layout hints used by the layout classes.
Defines top level windows that interact with the system Window Manager.
- Author
- Matevz Tadel
Definition in file arrow_standalone.C.