16#ifndef vtkQtLabelRenderStrategy_h 
   17#define vtkQtLabelRenderStrategy_h 
   20#include "vtkRenderingQtModule.h"  
   22VTK_ABI_NAMESPACE_BEGIN
 
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.
 
~vtkQtLabelRenderStrategy() override
 
vtkPolyDataMapper2D * Mapper
 
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
 
window superclass for vtkRenderWindow