static DisplayTextRepPtr New(const QString &uid="")
void setFontSize(int size)
void setText(unsigned i, const QString &text)
std::vector< TextDisplayPtr > mDisplayText
void setColor(const QColor &color)
TextDisplayPtr addText(const QColor &color, const QString &text, const Vector3D &pos, int maxWidth=0, vtkViewport *vp=NULL)
virtual void removeRepActorsFromViewRenderer(ViewPtr view)
virtual void addRepActorsToViewRenderer(ViewPtr view)
Helper for drawing text in 2D.
virtual ~DisplayTextRep()