File indexing completed on 2025-01-30 10:22:34
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef ROOT7_RGeoPainter
0012 #define ROOT7_RGeoPainter
0013
0014 #include "TVirtualGeoPainter.h"
0015
0016 #include <ROOT/RGeomViewer.hxx>
0017
0018 namespace ROOT {
0019
0020 class RGeoPainter : public TVirtualGeoPainter {
0021
0022 TGeoManager *fGeoManager{nullptr};
0023
0024 std::shared_ptr<RGeomViewer> fViewer;
0025 Int_t fTopVisible{-1};
0026
0027 public:
0028 RGeoPainter(TGeoManager *manager);
0029 ~RGeoPainter() override;
0030
0031 void AddSize3D(Int_t, Int_t, Int_t) override {}
0032 TVirtualGeoTrack *AddTrack(Int_t, Int_t, TObject *) override { return nullptr; }
0033 void AddTrackPoint(Double_t *, Double_t *, Bool_t =kFALSE) override {}
0034 void BombTranslation(const Double_t *, Double_t *) override {}
0035 void CheckPoint(Double_t =0, Double_t =0, Double_t =0, Option_t * ="", Double_t = 0.) override {}
0036 void CheckShape(TGeoShape *, Int_t, Int_t, Option_t *) override {}
0037 void CheckBoundaryErrors(Int_t =1000000, Double_t =-1.) override {}
0038 void CheckBoundaryReference(Int_t =-1) override {}
0039 void CheckGeometryFull(Bool_t =kTRUE, Bool_t =kTRUE, Int_t =10000, const Double_t * = nullptr) override {}
0040 void CheckGeometry(Int_t, Double_t, Double_t, Double_t) const override {}
0041 void CheckOverlaps(const TGeoVolume *, Double_t =0.1, Option_t * ="") const override {}
0042 Int_t CountVisibleNodes() override { return 0; }
0043 void DefaultAngles() override {}
0044 void DefaultColors() override {}
0045 Int_t DistanceToPrimitiveVol(TGeoVolume *, Int_t, Int_t) override { return 0; }
0046 void Draw(Option_t * ="") override {}
0047 void DrawBatemanSol(TGeoBatemanSol *, Option_t * ="") override {}
0048 void DrawShape(TGeoShape *, Option_t * ="") override {}
0049 void DrawOnly(Option_t * ="") override {}
0050 void DrawOverlap(void *, Option_t * ="") override {}
0051 void DrawCurrentPoint(Int_t) override {}
0052 void DrawPanel() override {}
0053 void DrawPath(const char *, Option_t * ="") override {}
0054 void DrawPolygon(const TGeoPolygon *) override {}
0055 void DrawVolume(TGeoVolume *, Option_t * ="") override;
0056 void EditGeometry(Option_t * ="") override {}
0057 void EstimateCameraMove(Double_t , Double_t , Double_t *, Double_t * ) override {}
0058 void ExecuteShapeEvent(TGeoShape *, Int_t, Int_t, Int_t) override {}
0059 void ExecuteManagerEvent(TGeoManager *, Int_t, Int_t, Int_t) override {}
0060 void ExecuteVolumeEvent(TGeoVolume *, Int_t, Int_t, Int_t) override {}
0061 Int_t GetColor(Int_t, Float_t) const override { return 0; }
0062 Int_t GetNsegments() const override { return 1; }
0063 void GetBombFactors(Double_t &, Double_t &, Double_t &, Double_t &) const override {}
0064 Int_t GetBombMode() const override { return 0; }
0065 const char *GetDrawPath() const override { return ""; }
0066 TGeoVolume *GetDrawnVolume() const override { return nullptr; }
0067 TGeoVolume *GetTopVolume() const override { return nullptr; }
0068 void GetViewAngles(Double_t &, Double_t &, Double_t &) override {}
0069 Int_t GetVisLevel() const override { return 0; }
0070 Int_t GetVisOption() const override { return 0; }
0071 const char *GetVolumeInfo(const TGeoVolume *, Int_t, Int_t) const override { return "info"; }
0072 void GrabFocus(Int_t =0, Double_t =0, Double_t =0, Double_t =0) override {}
0073 Double_t *GetViewBox() override { return nullptr; }
0074 Bool_t IsPaintingShape() const override { return kFALSE; }
0075 Bool_t IsRaytracing() const override { return kFALSE; }
0076 Bool_t IsExplodedView() const override { return kFALSE; }
0077 TH2F *LegoPlot(Int_t =60, Double_t =0., Double_t =180.,
0078 Int_t =90, Double_t =0., Double_t =360.,
0079 Double_t =0., Double_t =9999999, Option_t * ="") override { return nullptr; }
0080 void ModifiedPad(Bool_t =kFALSE) const override {}
0081 void OpProgress(const char *, Long64_t, Long64_t, TStopwatch * =nullptr, Bool_t =kFALSE, Bool_t =kFALSE, const char * ="") override {}
0082 void Paint(Option_t * ="") override {}
0083 void PaintNode(TGeoNode *, Option_t * ="", TGeoMatrix * = nullptr) override {}
0084 void PaintShape(TGeoShape *, Option_t * ="") override {}
0085 void PaintOverlap(void*, Option_t * ="") override {}
0086 void PrintOverlaps() const override {}
0087 void PaintVolume(TGeoVolume *, Option_t * = "", TGeoMatrix * = nullptr) override {}
0088 void RandomPoints(const TGeoVolume *, Int_t, Option_t * = "") override {}
0089 void RandomRays(Int_t, Double_t, Double_t, Double_t, const char *, Bool_t) override {}
0090 void Raytrace(Option_t* = "") override {}
0091 TGeoNode *SamplePoints(Int_t, Double_t &, Double_t, const char*) override { return nullptr; }
0092 void SetBombFactors(Double_t =1.3, Double_t =1.3, Double_t =1.3, Double_t =1.3) override {}
0093 void SetClippingShape(TGeoShape *) override {}
0094 void SetExplodedView(Int_t =0) override {}
0095 void SetGeoManager(TGeoManager *) override;
0096 void SetIteratorPlugin(TGeoIteratorPlugin *) override {}
0097 void SetCheckedNode(TGeoNode *) override {}
0098 void SetNsegments(Int_t =20) override {}
0099 void SetNmeshPoints(Int_t) override {}
0100 void SetRaytracing(Bool_t =kTRUE) override {}
0101 void SetTopVisible(Bool_t on = kTRUE) override;
0102 void SetTopVolume(TGeoVolume *) override {}
0103 void SetVisLevel(Int_t =3) override {}
0104 void SetVisOption(Int_t =0) override {}
0105 Int_t ShapeDistancetoPrimitive(const TGeoShape *, Int_t, Int_t, Int_t) const override { return 0; }
0106 void Test(Int_t, Option_t *) override {}
0107 void TestOverlaps(const char *) override {}
0108 Bool_t TestVoxels(TGeoVolume *) override { return kFALSE; }
0109 void UnbombTranslation(const Double_t *, Double_t *) override {}
0110 Double_t Weight(Double_t, Option_t* = "v") override { return 0.; }
0111
0112 ClassDefOverride(RGeoPainter,0)
0113 };
0114
0115 }
0116
0117
0118 #endif