Renders a 2D rectangle in screen space. Use in combination with BoxSelectionInteractionHandler.
More...
#include <modules/plottinggl/rendering/boxselectionrenderer.h>
|
|
| BoxSelectionRenderer (const BoxSelectionProperty &settings) |
|
void | render (std::optional< std::array< dvec2, 2 > > dragRect, size2_t screenDim) |
|
|
using | PositionMesh = TypedMesh<buffertraits::PositionsBuffer2D> |
Renders a 2D rectangle in screen space. Use in combination with BoxSelectionInteractionHandler.
- See also
- BoxSelectionInteractionHandler
◆ dragRectMesh_
| PositionMesh inviwo::plot::BoxSelectionRenderer::dragRectMesh_ |
|
protected |
Initial value:{DrawType::Lines,
ConnectivityType::Loop,
{
{vec2{0.f, 0.f}},
{vec2{1.f, 0.f}},
{vec2{1.f, 1.f}},
{vec2{0.f, 1.f}},
},
{0, 1, 2, 3}}
The documentation for this class was generated from the following file:
- modules/plottinggl/include/modules/plottinggl/rendering/boxselectionrenderer.h