31 #ifndef vtkQtLabelRenderStrategy_h 32 #define vtkQtLabelRenderStrategy_h 34 #include "vtkRenderingQtModule.h" 57 double bds[4])
override 58 { this->Superclass::ComputeLabelBounds(tprop, label, bds); }
60 double bds[4])
override;
68 { this->Superclass::RenderLabel(x, tprop, label); }
70 int maxWidth)
override 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 RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label) override
Render a label at a location in world coordinates.
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
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label, int maxWidth) override
Render a label at a location in world coordinates.
virtual void EndFrame()
End a rendering frame.
represent text properties.
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.
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 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.
void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4]) override
Compute the bounds of a label.