48 #include <ACG/Scenegraph/LineNode.hh> 49 #include <ACG/Scenegraph/TextNode.hh> 73 const ACG::Vec3d* points()
const{
return points_;}
77 float textScale(){
return textNode_->
lastScale();}
82 void setTextSize(
const unsigned _size){textNode_->
setPixelSize(_size); emit updateView();}
88 const QString pluginName_;
89 const std::string lineNodeName_;
90 const std::string textNodeName_;
91 const std::string textTransformNodeName_;
Ruler(BaseObjectData *_obj, const QString &_pluginName, unsigned _index)
void setPixelSize(const unsigned int _size)
sets the pixelsize of the text (only available for the SCREEN_ALIGNED_STATIC_SIZE mode and only works...
float lastScale()
returns the scaling factor for screen aligned text the text. returns 0, if textmode is not SCREEN_ALI...