OTV_IsoscelesTriangleData struct
#include <include/OnTubeVis/glyph_types.h>
The data struct for the GlyphType::Rect glyph.
Public variables
- const uint32_t N
- The number of 32bit dynamic properties (excluding arc length
s) of a rectangle glyph layer. Must be 4 always. - float s
- The arc length along the trajectory that the surface color control point is located.
- float color
- A value in the configured input range (default:
0..1) to query the selected color map with. - float width
- The width of the isosceles triangle in the configured input range (default:
0..2) in case a dynamic value is to be used. At neutral orientation, the width runs perpendicular to the direction of travel. - float height
- The height of the isosceles triangle in the configured input range (default:
0..2) in case a dynamic value is to be used. At neutral orientation, the height runs along the direction of travel. - float orientation
- The orientation of the isosceles triangle in the configured input range (default:
-180..180) in case a dynamic value is to be used. A value exactly in the middle of the input range means the "peak" of the triangle (along its height vector) will point in the direction of travel, with the orientation angle increasing counter-clockwise.