Go to the documentation of this file.
23 #ifndef vtkLabelRenderStrategy_h
24 #define vtkLabelRenderStrategy_h
26 #include "vtkRenderingLabelModule.h"
105 { this->RenderLabel(x, tprop, label); }
vtkTextProperty * DefaultTextProperty
virtual void EndFrame()
End a rendering frame.
abstract base class for most VTK objects
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label, int maxWidth)
static vtkUnicodeString from_utf8(const char *)
Constructs a string from a null-terminated sequence of UTF-8 encoded characters.
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label)
Render a label at a location in display coordinates.
virtual bool SupportsBoundedSize()
Whether the text rendering strategy supports bounded size.
window superclass for vtkRenderWindow
virtual void StartFrame()
Start a rendering frame.
a simple class to control print indentation
String class that stores Unicode text.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label, int vtkNotUsed(maxWidth))
Superclass for label rendering implementations.
represent text properties.
virtual bool SupportsRotation()
Whether the text rendering strategy supports rotation.
abstract specification for renderers
Wrapper around std::string to keep symbols short.
virtual void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4])
Compute the bounds of a label.
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this strategy.