Warning, file /include/root/TVirtualViewer3D.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TVirtualViewer3D
0013 #define ROOT_TVirtualViewer3D
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027 #include "TObject.h"
0028
0029 class TBuffer3D;
0030 class TVirtualPad;
0031 class TGLRect;
0032
0033 class TVirtualViewer3D : public TObject
0034 {
0035 public:
0036 virtual ~TVirtualViewer3D();
0037
0038
0039
0040
0041
0042 virtual Bool_t PreferLocalFrame() const = 0;
0043
0044
0045 virtual Bool_t CanLoopOnPrimitives() const { return kFALSE; }
0046
0047
0048 virtual void PadPaint(TVirtualPad*) {}
0049 virtual void ObjectPaint(TObject*, Option_t* = "") {}
0050
0051
0052 virtual void BeginScene() = 0;
0053 virtual Bool_t BuildingScene() const = 0;
0054 virtual void EndScene() = 0;
0055
0056
0057 virtual Int_t AddObject(const TBuffer3D &buffer, Bool_t *addChildren = nullptr) = 0;
0058
0059
0060
0061 virtual Int_t AddObject(UInt_t physicalID, const TBuffer3D &buffer, Bool_t *addChildren = nullptr) = 0;
0062
0063 virtual Bool_t OpenComposite(const TBuffer3D &buffer, Bool_t *addChildren = nullptr) = 0;
0064 virtual void CloseComposite() = 0;
0065 virtual void AddCompositeOp(UInt_t operation) = 0;
0066
0067 virtual TObject *SelectObject(Int_t, Int_t) { return nullptr; }
0068 virtual void DrawViewer(){}
0069
0070 virtual void PrintObjects(){}
0071 virtual void ResetCameras(){}
0072 virtual void ResetCamerasAfterNextUpdate(){}
0073
0074 static TVirtualViewer3D *Viewer3D(TVirtualPad *pad = nullptr, Option_t *type = "");
0075
0076 ClassDefOverride(TVirtualViewer3D,0)
0077 };
0078
0079 #endif