13#include "Windows4root.h"
21#include <TGLIncludes.h>
94 if (rec.GetN() < 2)
return;
96 q.PointSelected(rec.GetItem(1));
virtual void Draw(TGLRnrCtx &rnrCtx) const
Draw the GL drawable, using draw flags.
TObject * fExternalObj
first replica
void SetAxisAlignedBBox(Float_t xmin, Float_t xmax, Float_t ymin, Float_t ymax, Float_t zmin, Float_t zmax)
Set axis-aligned bounding-box.
Bool_t ShouldDLCache(const TGLRnrCtx &rnrCtx) const override
Decide if display-list should be used for this pass rendering, as determined by rnrCtx.
Bool_t SetModelCheckClass(TObject *obj, TClass *cls)
Checks if obj is of proper class and sets the model.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Int_t GetPickRadius()
Return pick radius. If selection is not active it returns 0.
Bool_t SecSelection() const
Bool_t IsDrawPassOutlineLine() const
Standard selection record including information about containing scene and details ob out selected ob...
static UInt_t LockColor()
Prevent further color changes.
static UInt_t UnlockColor()
Allow color changes.
static void RenderPolyMarkers(const TAttMarker &marker, Char_t transp, Float_t *p, Int_t n, Int_t pick_radius=0, Bool_t selection=kFALSE, Bool_t sec_selection=kFALSE)
Render polymarkers at points specified by p-array.
Mother of all ROOT objects.
Direct OpenGL renderer for TPointSet3D.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model.
void Draw(TGLRnrCtx &rnrCtx) const override
Draw function for TPointSet3D. Skips line-pass of outline mode.
void SetBBox() override
Set bounding-box.
void ProcessSelection(TGLRnrCtx &rnrCtx, TGLSelectRecord &rec) override
Processes secondary selection from TGLViewer.
Bool_t ShouldDLCache(const TGLRnrCtx &rnrCtx) const override
Override from TGLLogicalShape.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Direct GL rendering for TPointSet3D.
TPolyMarker3D using TPointSet3DGL for direct OpenGL rendering.