13 #include "Windows4root.h" 94 if (rec.
GetN() < 2)
return;
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Bool_t SecSelection() const
Int_t GetPickRadius()
Return pick radius. If selection is not active it returns 0.
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.
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.
Bool_t IsDrawPassOutlineLine() const
virtual void SetBBox()
Set bounding-box.
virtual void ProcessSelection(TGLRnrCtx &rnrCtx, TGLSelectRecord &rec)
Processes secondary selection from TGLViewer.
static UInt_t LockColor()
Prevent further color changes.
static UInt_t UnlockColor()
Allow color changes.
TObject * fExternalObj
first replica
Bool_t SetModelCheckClass(TObject *obj, TClass *cls)
Checks if obj is of proper class and sets the model.
virtual void PointSelected(Int_t n)
This virtual method is called from TPointSet3DGL when a point is selected.
Standard selection record including information about containing scene and details ob out selected ob...
virtual Bool_t ShouldDLCache(const TGLRnrCtx &rnrCtx) const
Override from TGLLogicalShape.
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model.
virtual Bool_t ShouldDLCache(const TGLRnrCtx &rnrCtx) const
Decide if display-list should be used for this pass rendering, as determined by rnrCtx.
UInt_t GetItem(Int_t i) const
Mother of all ROOT objects.
Direct OpenGL renderer for TPointSet3D.
virtual void Draw(TGLRnrCtx &rnrCtx) const
Draw the GL drawable, using draw flags.
virtual Float_t * GetP() const
TPolyMarker3D using TPointSet3DGL for direct OpenGL rendering.
virtual void Draw(TGLRnrCtx &rnrCtx) const
Draw function for TPointSet3D. Skips line-pass of outline mode.
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Direct GL rendering for TPointSet3D.
virtual Int_t Size() const