VTK-m
2.0
|
#include <TextRenderer.h>
Public Member Functions | |
VTKM_CONT | TextRenderer (const vtkm::rendering::Canvas *canvas, const vtkm::rendering::BitmapFont &font, const vtkm::rendering::Canvas::FontTextureType &fontTexture, vtkm::rendering::TextRendererBatcher *textBatcher) |
VTKM_CONT 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) |
VTKM_CONT 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) |
VTKM_CONT 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_CONT vtkm::rendering::TextRenderer::TextRenderer | ( | const vtkm::rendering::Canvas * | canvas, |
const vtkm::rendering::BitmapFont & | font, | ||
const vtkm::rendering::Canvas::FontTextureType & | fontTexture, | ||
vtkm::rendering::TextRendererBatcher * | textBatcher | ||
) |
VTKM_CONT 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 |
||
) |
VTKM_CONT 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 | ||
) |
VTKM_CONT 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 |