 |
VTK
9.0.1
|
Go to the documentation of this file.
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);
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label) override
Render a label at a location in world coordinates.
draw vtkPolyData onto the image plane
virtual void EndFrame()
End a rendering frame.
actor that draws 2D data with texture support
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
create an array of quadrilaterals located in a plane
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTexturedActor2D * Actor
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label)
Render a label at a location in display coordinates.
window superclass for vtkRenderWindow
virtual void StartFrame()
Start a rendering frame.
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
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
draw text labels at dataset points
Wrapper around std::string to keep symbols short.
virtual void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4])
Compute the bounds of a label.
Internals * Implementation
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this strategy.