Warning, file /include/root/ROOT/RGeoPainter.hxx 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 #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;
0033 void AddTrackPoint(Double_t *, Double_t *, Bool_t =kFALSE) override;
0034 void BombTranslation(const Double_t *, Double_t *) override {}
0035 Int_t CountVisibleNodes() override { return 0; }
0036 void DefaultAngles() override {}
0037 void DefaultColors() override {}
0038 Int_t DistanceToPrimitiveVol(TGeoVolume *, Int_t, Int_t) override { return 0; }
0039 void Draw(Option_t * ="") override {}
0040 void DrawBatemanSol(TGeoBatemanSol *, Option_t * ="") override {}
0041 void DrawShape(TGeoShape *, Option_t * ="") override {}
0042 void DrawOnly(Option_t * ="") override {}
0043 void DrawOverlap(void *, Option_t * ="") override {}
0044 void DrawCurrentPoint(Int_t) override {}
0045 void DrawPanel() override {}
0046 void DrawPath(const char *, Option_t * ="") override {}
0047 void DrawPolygon(const TGeoPolygon *) override {}
0048 void DrawVolume(TGeoVolume *, Option_t * ="") override;
0049 void EditGeometry(Option_t * ="") override {}
0050 void EstimateCameraMove(Double_t , Double_t , Double_t *, Double_t * ) override {}
0051 void ExecuteShapeEvent(TGeoShape *, Int_t, Int_t, Int_t) override {}
0052 void ExecuteManagerEvent(TGeoManager *, Int_t, Int_t, Int_t) override {}
0053 void ExecuteVolumeEvent(TGeoVolume *, Int_t, Int_t, Int_t) override {}
0054 Int_t GetColor(Int_t, Float_t) const override { return 0; }
0055 Int_t GetNsegments() const override { return 1; }
0056 void GetBombFactors(Double_t &, Double_t &, Double_t &, Double_t &) const override {}
0057 Int_t GetBombMode() const override { return 0; }
0058 const char *GetDrawPath() const override { return ""; }
0059 TGeoVolume *GetDrawnVolume() const override { return nullptr; }
0060 TGeoVolume *GetTopVolume() const override { return nullptr; }
0061 void GetViewAngles(Double_t &, Double_t &, Double_t &) override {}
0062 Int_t GetVisLevel() const override { return 0; }
0063 Int_t GetVisOption() const override { return 0; }
0064 const char *GetVolumeInfo(const TGeoVolume *, Int_t, Int_t) const override { return "info"; }
0065 void GrabFocus(Int_t =0, Double_t =0, Double_t =0, Double_t =0) override {}
0066 Double_t *GetViewBox() override { return nullptr; }
0067 Bool_t IsPaintingShape() const override { return kFALSE; }
0068 Bool_t IsRaytracing() const override { return kFALSE; }
0069 Bool_t IsExplodedView() const override { return kFALSE; }
0070 void ModifiedPad(Bool_t =kFALSE) const override {}
0071 void Paint(Option_t * ="") override {}
0072 void PaintNode(TGeoNode *, Option_t * ="", TGeoMatrix * = nullptr) override {}
0073 void PaintShape(TGeoShape *, Option_t * ="") override {}
0074 void PaintOverlap(void*, Option_t * ="") override {}
0075 void PaintVolume(TGeoVolume *, Option_t * = "", TGeoMatrix * = nullptr) override {}
0076 void Raytrace(Option_t * = "") override {}
0077 void SetBombFactors(Double_t =1.3, Double_t =1.3, Double_t =1.3, Double_t =1.3) override {}
0078 void SetClippingShape(TGeoShape *) override {}
0079 void SetExplodedView(Int_t =0) override {}
0080 void SetGeoManager(TGeoManager *) override;
0081 void SetIteratorPlugin(TGeoIteratorPlugin *) override {}
0082 void SetNsegments(Int_t =20) override {}
0083 void SetRaytracing(Bool_t =kTRUE) override {}
0084 void SetTopVisible(Bool_t on = kTRUE) override;
0085 void SetTopVolume(TGeoVolume *) override {}
0086 void SetVisLevel(Int_t =3) override {}
0087 void SetVisOption(Int_t =0) override {}
0088 Int_t ShapeDistancetoPrimitive(const TGeoShape *, Int_t, Int_t, Int_t) const override { return 0; }
0089 void UnbombTranslation(const Double_t *, Double_t *) override {}
0090
0091 ClassDefOverride(RGeoPainter,0)
0092 };
0093
0094 }
0095
0096
0097 #endif