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");
evf->AddFrame(ev->GetFrame(),
eve_v->SetGLViewer(ev, ev->GetFrame());
eve_v->IncDenyDestroy();
mf->MapSubwindows();
mf->SetEditable();
auto c =
new TCanvas(
"Foo",
"Bar", 400, 400);
mf->Layout();
mf->MapWindow();
}
R__EXTERN TEveManager * gEve
TEveViewerList * GetViewers() const
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
TEveScene * GetEventScene() const
static void Macro(const char *mac)
Execute macro 'mac'. Do not reload the macro.
void AddElement(TEveElement *el) override
Call base-class implementation.
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.