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

A set of projected polygons.

Used for storage of projected geometrical shapes.

Internal struct Polygon_t holds only indices into the master vertex array in REvePolygonSetProjected.

The render data has three entries:

  • pos, f32 x 3, role vertex: the reduced and projected points, fPnts;
  • idx, u32 x 3, role index, primitive triangles: the polygons tessellated, one item per triangle, its three indices into pos;
  • outline, u32, role index, primitive line loop: the point indices of every polygon in turn, with one range per polygon, its first index and its point count, so that the client draws each outline as a line loop. An entry with no items is not written: idx when the tessellation gave no triangles, outline when there are no polygons.

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