fast::VectorFieldRenderer class

Renders a vector field image using lines.

Base classes

class LineRenderer
Renders lines stored in Mesh data objects.

Public functions

auto create(float lineWidth, Color color, LabelColors labelColors, float opacity, bool drawOnTop) -> std::shared_ptr<VectorFieldRenderer>
Create instance.

Protected functions

void execute() override

Function documentation

std::shared_ptr<VectorFieldRenderer> fast::VectorFieldRenderer::create(float lineWidth, Color color, LabelColors labelColors, float opacity, bool drawOnTop)

Create instance.

Parameters
lineWidth Width of line
color Global color to use for lines
labelColors Label colors
opacity Opacity of lines: 1 = no transparency, 0 = fully transparent
drawOnTop Whether to draw on top of everything else or not. This disables the depth check in OpenGL
Returns instance