FWGeoTopNodeGL

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#ifndef Fireworks_Core_FWGeoTopNodeGL_h
#define Fireworks_Core_FWGeoTopNodeGL_h

#include "TGLObject.h"
class FWGeoTopNode;

class FWGeoTopNodeGL : public TGLObject {
protected:
  FWGeoTopNode* fM;

public:
  FWGeoTopNodeGL();
  ~FWGeoTopNodeGL() override {}

  void SetBBox() override;

  Bool_t SetModel(TObject* obj, const Option_t* opt = nullptr) override;
  void DirectDraw(TGLRnrCtx& rnrCtx) const override;

  // virtual void   DrawHighlight(TGLRnrCtx& rnrCtx, const TGLPhysicalShape* pshp, Int_t lvl=-1) const;

  Bool_t SupportsSecondarySelect() const override { return kTRUE; }
  Bool_t AlwaysSecondarySelect() const override { return kTRUE; }
  void ProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec) override;

  ClassDefOverride(FWGeoTopNodeGL, 0);  // GL renderer class for FWGeoTopNodeGL.
};
#endif