Go to the documentation of this file.
31 #ifndef vtkQtLabelRenderStrategy_h
32 #define vtkQtLabelRenderStrategy_h
34 #include "vtkRenderingQtModule.h"
57 double bds[4])
override
58 { this->Superclass::ComputeLabelBounds(tprop, label, bds); }
60 double bds[4])
override;
68 { this->Superclass::RenderLabel(x, tprop, label); }
70 int maxWidth)
override
71 { this->Superclass::RenderLabel(x, tprop, label, maxWidth); }
vtkQtLabelRenderStrategy()
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, vtkStdString label) override
Render a label at a location in world coordinates.
void EndFrame() override
End a rendering frame.
draw vtkPolyData onto the image plane
actor that draws 2D data with texture support
create an array of quadrilaterals located in a plane
vtkTexturedActor2D * Actor
window superclass for vtkRenderWindow
generate texture coordinates by mapping points to plane
void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4]) override
Compute the bounds of a label.
handles properties associated with a texture map
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label, int maxWidth) override
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label) override
void ComputeLabelBounds(vtkTextProperty *tprop, vtkUnicodeString label, double bds[4]) override
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label, int maxWidth) override
Create image data from a QImage.
a simple class to control print indentation
String class that stores Unicode text.
vtkPolyDataMapper2D * Mapper
vtkPlaneSource * PlaneSource
vtkTextureMapToPlane * TextureMapToPlane
Superclass for label rendering implementations.
represent text properties.
vtkQImageToImageSource * QImageToImage
void ReleaseGraphicsResources(vtkWindow *window) override
Release any graphics resources that are being consumed by this strategy.
draw text labels at dataset points
~vtkQtLabelRenderStrategy() override
Wrapper around std::string to keep symbols short.
void StartFrame() override
Start a rendering frame.
Internals * Implementation
static vtkQtLabelRenderStrategy * New()