VTK-m
2.2
|
#include <TextRenderer.h>
Public Member Functions | |
TextRenderer (const vtkm::rendering::Canvas *canvas, const vtkm::rendering::BitmapFont &font, const vtkm::rendering::Canvas::FontTextureType &fontTexture, vtkm::rendering::TextRendererBatcher *textBatcher) | |
void | RenderText (const vtkm::Vec2f_32 &position, vtkm::Float32 scale, vtkm::Float32 angle, vtkm::Float32 windowAspect, const vtkm::Vec2f_32 &anchor, const vtkm::rendering::Color &color, const std::string &text) |
void | RenderText (const vtkm::Vec3f_32 &origin, const vtkm::Vec3f_32 &right, const vtkm::Vec3f_32 &up, vtkm::Float32 scale, const vtkm::Vec2f_32 &anchor, const vtkm::rendering::Color &color, const std::string &text) |
void | RenderText (const vtkm::Matrix< vtkm::Float32, 4, 4 > &transform, vtkm::Float32 scale, const vtkm::Vec2f_32 &anchor, const vtkm::rendering::Color &color, const std::string &text, const vtkm::Float32 &depth=0.f) |
Private Attributes | |
const vtkm::rendering::Canvas * | Canvas |
vtkm::rendering::BitmapFont | Font |
vtkm::rendering::Canvas::FontTextureType | FontTexture |
vtkm::rendering::TextRendererBatcher * | TextBatcher |
vtkm::rendering::TextRenderer::TextRenderer | ( | const vtkm::rendering::Canvas * | canvas, |
const vtkm::rendering::BitmapFont & | font, | ||
const vtkm::rendering::Canvas::FontTextureType & | fontTexture, | ||
vtkm::rendering::TextRendererBatcher * | textBatcher | ||
) |
void vtkm::rendering::TextRenderer::RenderText | ( | const vtkm::Matrix< vtkm::Float32, 4, 4 > & | transform, |
vtkm::Float32 | scale, | ||
const vtkm::Vec2f_32 & | anchor, | ||
const vtkm::rendering::Color & | color, | ||
const std::string & | text, | ||
const vtkm::Float32 & | depth = 0.f |
||
) |
void vtkm::rendering::TextRenderer::RenderText | ( | const vtkm::Vec2f_32 & | position, |
vtkm::Float32 | scale, | ||
vtkm::Float32 | angle, | ||
vtkm::Float32 | windowAspect, | ||
const vtkm::Vec2f_32 & | anchor, | ||
const vtkm::rendering::Color & | color, | ||
const std::string & | text | ||
) |
void vtkm::rendering::TextRenderer::RenderText | ( | const vtkm::Vec3f_32 & | origin, |
const vtkm::Vec3f_32 & | right, | ||
const vtkm::Vec3f_32 & | up, | ||
vtkm::Float32 | scale, | ||
const vtkm::Vec2f_32 & | anchor, | ||
const vtkm::rendering::Color & | color, | ||
const std::string & | text | ||
) |
|
private |
|
private |
|
private |
|
private |