34 #ifndef CXDISPLAYTEXTREP_H_ 35 #define CXDISPLAYTEXTREP_H_ 37 #include "cxResourceVisualizationExport.h" 66 static DisplayTextRepPtr New(
const QString& uid=
"");
67 virtual QString
getType()
const{
return "vm::DisplayTextRep";}
68 TextDisplayPtr addText(
const QColor& color,
const QString& text,
const Vector3D& pos,
int maxWidth=0, vtkViewport *vp=NULL);
69 void setText(
unsigned i,
const QString& text);
70 void setColor(
const QColor& color );
71 void setFontSize(
int size);
76 virtual void addRepActorsToViewRenderer(
ViewPtr view);
77 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.