Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
REveStraightLineSet Class Reference

Set of straight lines with optional markers along the lines.

The render data holds every line and every marker, in plex order:

  • pos, f32 x 3, the two vertices of each line, drawn as lines; the client's line index is the line's plex index.
  • mrk, f32 x 4 in an rgba32f texture, one texel (x, y, z, 0) per marker; the client's marker index is the marker's plex index.
  • mline, i32, the fLineId of each marker: a picked marker selects its line, and a selected line outlines its markers. An entry is left out when it would be empty. The lines' fId is not sent: the client takes a line's plex index as its id.

The documentation for this class was generated from the following file: