Go to the documentation of this file.
30 #ifndef vtkQtLabelRenderStrategy_h
31 #define vtkQtLabelRenderStrategy_h
57 { this->Superclass::ComputeLabelBounds(tprop, label, bds); }
66 { this->Superclass::RenderLabel(
x, tprop, label); }
69 { this->Superclass::RenderLabel(
x, tprop, label, maxWidth); }
vtkQtLabelRenderStrategy()
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label, int maxWidth)
draw vtkPolyData onto the image plane
virtual void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4])
actor that draws 2D data with texture support
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label, int maxWidth)
create an array of quadrilaterals located in a plane
#define vtkTypeMacro(thisClass, superclass)
vtkTexturedActor2D * Actor
GLint GLint GLint GLint GLint x
#define VTKRENDERINGQT_EXPORT
virtual void StartFrame()
~vtkQtLabelRenderStrategy()
window superclass for vtkRenderWindow
void PrintSelf(ostream &os, vtkIndent indent)
generate texture coordinates by mapping points to plane
handles properties associated with a texture map
Create image data from a QImage.
a simple class to control print indentation
String class that stores Unicode text.
virtual void ReleaseGraphicsResources(vtkWindow *window)
vtkPolyDataMapper2D * Mapper
vtkPlaneSource * PlaneSource
vtkTextureMapToPlane * TextureMapToPlane
Superclass for label rendering implementations.
represent text properties.
vtkQImageToImageSource * QImageToImage
draw text labels at dataset points
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label)
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label)
Wrapper around std::string to keep symbols short.
Internals * Implementation
virtual void ComputeLabelBounds(vtkTextProperty *tprop, vtkUnicodeString label, double bds[4])
static vtkQtLabelRenderStrategy * New()