fast::VectorFieldColorRenderer class

Renders a vector field image using colors.

Base classes

class ImageRenderer
Renders 2D Image data objects, both in 2D and 3D.

Public functions

auto create(float maxOpacity, float maxLength) -> std::shared_ptr<VectorFieldColorRenderer>
void setMaxLength(float max)

Private functions

void draw(Matrix4f perspectiveMatrix, Matrix4f viewingMatrix, float zNear, float zFar, bool mode2D) override

Function documentation

std::shared_ptr<VectorFieldColorRenderer> fast::VectorFieldColorRenderer::create(float maxOpacity, float maxLength)


Set the maximum opacity for the color overlay.