12#ifndef ROOT_TViewerX3D
13#define ROOT_TViewerX3D
61#if defined(__clang__) && __clang_major__ < 20
62#pragma clang diagnostic push
63#pragma clang diagnostic ignored "-Wshadow"
66#if defined(__clang__) && __clang_major__ < 20
67#pragma clang diagnostic pop
Handle_t Window_t
Window handle.
bool Bool_t
Boolean (0=false, 1=true) (bool).
int Int_t
Signed integer 4 bytes (int).
long Long_t
Signed long integer 4 bytes (long). Size depends on architecture.
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
float Float_t
Float 4 bytes (float).
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Generic 3D primitive description class.
A frame containing two scrollbars (a horizontal and a vertical) and a viewport.
This class describes layout hints used by the layout classes.
void Update()
Update X3D viewer.
void Close()
Close X3D Viewer.
TGLayoutHints * fCanvasLayout
Bool_t BuildingScene() const override
friend class TX3DContainer
Bool_t PreferLocalFrame() const override
void InitX3DWindow()
Setup geometry and initialize X3D.
void AddCompositeOp(UInt_t) override
TGLayoutHints * fMenuBarHelpLayout
~TViewerX3D() override
Delete ROOT X3D viewer.
Bool_t HandleContainerButton(Event_t *ev)
After button release get current position and update associated pad.
TX3DContainer * fContainer
void GetPosition(Float_t &longitude, Float_t &latitude, Float_t &psi)
Get position.
void CreateViewer(const char *name)
Create the actual canvas.
void EndScene() override
The x3d viewer cannot rebuild a scene once created.
void BeginScene() override
The x3d viewer cannot rebuild a scene once created.
void DeleteX3DWindow()
Close X3D window.
TGLayoutHints * fMenuBarItemLayout
Int_t AddObject(const TBuffer3D &buffer, Bool_t *addChildren=nullptr) override
The x3d viewer cannot rebuild a scene once created.
Bool_t ProcessFrameMessage(Long_t msg, Long_t parm1, Long_t parm2)
Handle menu and other command generated by the user.
TGLayoutHints * fMenuBarLayout
TViewerX3D(TVirtualPad *pad)
Create ROOT X3D viewer.
Int_t ExecCommand(Int_t px, Int_t py, char command)
This function may be called from a script to animate an X3D picture px, py mouse position command = 0...
void PaintPolyMarker(const TBuffer3D &buffer) const
Paint 3D PolyMarker.
Bool_t OpenComposite(const TBuffer3D &, Bool_t *=nullptr) override
void CloseComposite() override
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Abstract 3D shapes viewer.