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