25#ifndef vtkQtLabelRenderStrategy_h
26#define vtkQtLabelRenderStrategy_h
29#include "vtkRenderingQtModule.h"
52 this->Superclass::ComputeLabelBounds(tprop, label, bds);
63 this->Superclass::RenderLabel(x, tprop, label);
67 this->Superclass::RenderLabel(x, tprop, label, maxWidth);
a simple class to control print indentation
Superclass for label rendering implementations.
This filter takes an input dataset, an array to process (which must be a string array),...
draw text labels at dataset points
create an array of quadrilaterals located in a plane
draw vtkPolyData onto the image plane
Create image data from a QImage.
vtkTexturedActor2D * Actor
Internals * Implementation
void EndFrame() override
End a rendering frame.
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label) override
Render a label at a location in world coordinates.
void ReleaseGraphicsResources(vtkWindow *window) override
Release any graphics resources that are being consumed by this strategy.
vtkTextureMapToPlane * TextureMapToPlane
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label, int maxWidth) override
Render a label at a location in world coordinates.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label, int maxWidth) override
Render a label at a location in world coordinates.
~vtkQtLabelRenderStrategy() override
vtkPolyDataMapper2D * Mapper
void ComputeLabelBounds(vtkTextProperty *tprop, vtkUnicodeString label, double bds[4]) override
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label) override
Render a label at a location in world coordinates.
vtkQImageToImageSource * QImageToImage
void StartFrame() override
Start a rendering frame.
vtkQtLabelRenderStrategy()
void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4]) override
Compute the bounds of a label.
vtkPlaneSource * PlaneSource
static vtkQtLabelRenderStrategy * New()
Wrapper around std::string to keep symbols short.
represent text properties.
generate texture coordinates by mapping points to plane
handles properties associated with a texture map
actor that draws 2D data with texture support
String class that stores Unicode text.
window superclass for vtkRenderWindow