15#include "TGLIncludes.h" 
   68   if (
rnrCtx.IsDrawPassOutlineLine())
 
 
  100            case 2:  
pat = 0x3333; 
break;
 
  101            case 3:  
pat = 0x5555; 
break;
 
  102            case 4:  
pat = 0xf040; 
break;
 
  103            case 5:  
pat = 0xf4f4; 
break;
 
  104            case 6:  
pat = 0xf111; 
break;
 
  105            case 7:  
pat = 0xf0f0; 
break;
 
  106            case 8:  
pat = 0xff11; 
break;
 
  107            case 9:  
pat = 0x3fff; 
break;
 
  108            case 10: 
pat = 0x08ff;  
break;
 
  120      if (
rnrCtx.SecSelection())
 
  173                                 pnts, mL.GetMarkerPlex().Size(),
 
 
  191   if (rec.GetN() != 3) 
return;
 
  192   if (rec.GetItem(1) == 1)
 
  194      printf(
"selected line %d\n", rec.GetItem(2));
 
  199      printf(
"Selected point %d on line %d\n", rec.GetItem(2), 
m.fLineId);
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
virtual Width_t GetLineWidth() const
Return the line width.
virtual Style_t GetLineStyle() const
Return the line style.
Char_t * Atom(Int_t idx) const
GL-renderer for TEveStraightLineSet class.
void ProcessSelection(TGLRnrCtx &rnrCtx, TGLSelectRecord &rec) override
Process results of the secondary selection.
Bool_t ShouldDLCache(const TGLRnrCtx &rnrCtx) const override
Override from TGLObject.
void SetBBox() override
Setup bounding box information.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
void Draw(TGLRnrCtx &rnrCtx) const override
Draw function for TEveStraightLineSetGL. Skips line-pass of outline mode.
TEveStraightLineSetGL()
Constructor.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Render the line-set with GL.
Set of straight lines with optional markers along the lines.
virtual Bool_t GetDepthTest()
TEveChunkManager & GetMarkerPlex()
virtual Bool_t GetRnrLines()
TEveChunkManager & GetLinePlex()
virtual Bool_t GetRnrMarkers()
virtual void Draw(TGLRnrCtx &rnrCtx) const
Draw the GL drawable, using draw flags.
TObject * fExternalObj
first replica
Base-class for direct OpenGL renderers.
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.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Standard selection record including information about containing scene and details ob out selected ob...
static void BeginExtendPickRegion(Float_t scale)
static void EndExtendPickRegion()
static Float_t LineWidth()
Get the line-width, taking the global scaling into account.
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.