13#include "Windows4root.h"
21#include <TGLIncludes.h>
94 if (rec.
GetN() < 2)
return;
virtual void Draw(TGLRnrCtx &rnrCtx) const
Draw the GL drawable, using draw flags.
TObject * fExternalObj
first replica
virtual Bool_t ShouldDLCache(const TGLRnrCtx &rnrCtx) const
Decide if display-list should be used for this pass rendering, as determined by rnrCtx.
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 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
UInt_t GetItem(Int_t i) 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.
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model.
virtual Bool_t ShouldDLCache(const TGLRnrCtx &rnrCtx) const
Override from TGLLogicalShape.
virtual void SetBBox()
Set bounding-box.
virtual void ProcessSelection(TGLRnrCtx &rnrCtx, TGLSelectRecord &rec)
Processes secondary selection from TGLViewer.
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Direct GL rendering for TPointSet3D.
virtual void Draw(TGLRnrCtx &rnrCtx) const
Draw function for TPointSet3D. Skips line-pass of outline mode.
TPolyMarker3D using TPointSet3DGL for direct OpenGL rendering.