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); }
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
virtual void EndFrame()
End a rendering frame.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void ReleaseGraphicsResources(vtkWindow *window)
Release any graphics resources that are being consumed by this strategy.
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label, int maxWidth)
virtual void ComputeLabelBounds(vtkTextProperty *tprop, vtkUnicodeString label, double bds[4])
vtkTextureMapToPlane * TextureMapToPlane
vtkPolyDataMapper2D * Mapper
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label)
Render a label at a location in world coordinates.
virtual void StartFrame()
Start a rendering frame.
~vtkQtLabelRenderStrategy()
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label)
virtual void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4])
Compute the bounds of a label.
vtkQImageToImageSource * QImageToImage
vtkQtLabelRenderStrategy()
vtkPlaneSource * PlaneSource
static vtkQtLabelRenderStrategy * New()
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label, int maxWidth)
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