|
VTK
9.7.20261203
|
Rasterizer and text layout for drawing overlays into a CPU image. More...
#include "vtkAnariOverlays.h"#include "vtkMath.h"#include <algorithm>#include <cmath>#include <cstddef>#include <cstdint>#include <string_view>Go to the source code of this file.
Classes | |
| struct | vtkAnariOverlays::PixelRect |
| An axis-aligned pixel rectangle covering [X0, X1) x [Y0, Y1). More... | |
| class | vtkAnariOverlays::Canvas |
| Draws overlay primitives into a caller-owned RGBA8 image. More... | |
| class | vtkAnariOverlays::TextRenderer |
Namespaces | |
| namespace | vtkAnariOverlays |
Functions | |
| int | vtkAnariOverlays::ToPixel (float v) |
| PixelRect | vtkAnariOverlays::PixelBounds (float x0, float y0, float x1, float y1) |
Rasterizer and text layout for drawing overlays into a CPU image.
Everything is expressed in logical-viewport pixel coordinates (y up, origin at the bottom-left of the full viewport); the canvas maps them into the caller's image (a tile of that viewport) and clips to both the image and the current clip rectangle.
Private to VTK::RenderingAnariCore; not installed.
Definition in file vtkAnariOverlayCanvas.h.