◆ render()
| void inviwo::plot::GridRenderer::render |
( |
const size2_t & | outputDims, |
|
|
const ivec2 & | origin, |
|
|
const ivec2 & | right, |
|
|
const ivec2 & | up, |
|
|
bool | antialiasing = true ) |
Render the grid into the plot area of the current framebuffer spanned from pixel position origin to right and origin to up.
- Parameters
-
| outputDims | Dimensions of the currently bound output framebuffer |
| origin | Lower left corner of the plot area in 2D screen coordinates [0, outputDims) |
| right | End point of the major axis in 2D screen coordinates [0, outputDims) |
| up | End point of the minor axis in 2D screen coordinates [0, outputDims) |
| antialiasing | If true, lines will be rendered using an exponential alpha fall-off at the edges and alpha blending |
The documentation for this class was generated from the following file:
- modules/plottinggl/include/modules/plottinggl/utils/gridrenderer.h