13 #ifndef CXDISPLAYTEXTREP_H_ 14 #define CXDISPLAYTEXTREP_H_ 16 #include "cxResourceVisualizationExport.h" 45 static DisplayTextRepPtr New(
const QString& uid=
"");
46 virtual QString
getType()
const{
return "vm::DisplayTextRep";}
47 TextDisplayPtr addText(
const QColor& color,
const QString& text,
const Vector3D& pos,
int maxWidth=0, vtkViewport *vp=NULL);
48 void setText(
unsigned i,
const QString& text);
49 void setColor(
const QColor& color );
50 void setFontSize(
int size);
55 virtual void addRepActorsToViewRenderer(
ViewPtr view);
56 virtual void removeRepActorsFromViewRenderer(
ViewPtr view);
boost::shared_ptr< class View > ViewPtr
boost::shared_ptr< class TextDisplay > TextDisplayPtr
Default implementation of Rep.
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
virtual QString getType() const
Display a number of text strings.
boost::shared_ptr< class DisplayTextRep > DisplayTextRepPtr
std::vector< TextDisplayPtr > mDisplayText
Namespace for all CustusX production code.