8void camera_restore(
const char* fname,
int mode = 0)
11 writeCurrentCamera(fname);
14void writeCurrentCamera(
const char* fname)
23void readCurrentCamera(
const char* fname)
30 if (
f->GetKey(
c.ClassName())) {
31 f->GetKey(
c.ClassName())->Read(&
c);
R__EXTERN TEveManager * gEve
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.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseGeneralPurpose, Int_t netopt=0)
Create / open a file.
Abstract base camera class - concrete classes for orthographic and perspective cameras derive from it...
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...
TGLCamera & CurrentCamera() const