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