Inviwo 0.9.12-pre
Inviwo documentation
|
Renders a 2D rectangle in screen space. Use in combination with BoxSelectionInteractionHandler. More...
#include <boxselectionrenderer.h>
Public Member Functions | |
BoxSelectionRenderer (const BoxSelectionProperty &settings) | |
void | render (std::optional< std::array< dvec2, 2 > > dragRect, size2_t screenDim) |
Protected Attributes | |
const BoxSelectionProperty & | settings_ |
LineSettings | lineSettings_ |
algorithm::LineRenderer | lineRenderer_ |
vec4 | color_ |
Dummy color until line color can be set using uniform. | |
ColoredMesh | dragRectMesh_ |
Renders a 2D rectangle in screen space. Use in combination with BoxSelectionInteractionHandler.
|
protected |