12#ifndef ROOT_TGLAutoRotator
13#define ROOT_TGLAutoRotator
#define ClassDef(name, id)
Automatically rotates GL camera.
void SetImageAutoSave(Bool_t s)
void Start()
Start the auto-rotator.
virtual ~TGLAutoRotator()
Destructor.
Int_t GetImageGUIOutMode() const
void RotateScene()
"Scene rotation": either find a special object, which will be an axis of rotation (it's Z actually) o...
Double_t GetWTheta() const
void SetImageCount(Int_t ic)
TGLCamera * GetCamera() const
Double_t GetDeltaPhi() const
void SetATheta(Double_t a)
Set relative amplitude of theta oscillation.
TString GetImageGUIBaseName() const
void Stop()
Stop the auto-rotator.
void SetImageName(const TString &name)
Bool_t GetRotateScene() const
void SetImageGUIOutMode(Int_t m)
Set output mode for GUI operation: 1 - animated gif; 2 - a series of pngs.
TString fImageGUIBaseName
void StartImageAutoSaveWithGUISettings()
Start auto-saving images as set-up via GUI.
void StopImageAutoSave()
Stops automatic saving of images.
void SetImageGUIBaseName(const TString &gname)
void SetWDolly(Double_t w)
Double_t GetWDolly() const
Double_t GetADolly() const
void SetDeltaPhi(Double_t dPhi)
void StartImageAutoSaveAnimatedGif(const TString &filename)
Start saving into animated gif.
Double_t GetATheta() const
TString GetImageName() const
void SetRotateScene(Bool_t rotateScene)
TGLViewer * GetViewer() const
TGLAutoRotator(const TGLAutoRotator &)
void SetDt(Double_t dt)
Set time between two redraws in seconds.
void SetWTheta(Double_t w)
void StartImageAutoSave(const TString &filename)
Start saving into a set of images.
TGLAutoRotator & operator=(const TGLAutoRotator &)
Bool_t GetImageAutoSave() const
void SetADolly(Double_t a)
Set relative amplitude of forward/backward oscillation.
Int_t GetImageCount() const
void Timeout()
Called on every timer timeout.
Abstract base camera class - concrete classes for orthographic and perspective cameras derive from it...
Base GL viewer object - used by both standalone and embedded (in pad) GL.
Mother of all ROOT objects.
Handles synchronous and a-synchronous timer events.
static constexpr double s