Definition at line 52 of file Ruler.hh.
◆ Ruler()
Ruler::Ruler |
( |
BaseObjectData * |
_obj, |
|
|
const QString & |
_pluginName, |
|
|
unsigned |
_index |
|
) |
| |
creates a new ruler on a given object
- Parameters
-
_obj | Object where additional nodes are added |
_pluginName | name of the plugin |
_index | the current index of the ruler. If you create multiple rulers, you can use this parameter to avoid identical nodenames |
Definition at line 50 of file Ruler.cc.
◆ ~Ruler()
◆ getBaseObj()
◆ points()
◆ setEndPoint()
void Ruler::setEndPoint |
( |
const ACG::Vec3d & |
_end | ) |
|
◆ setPoints()
◆ setStartPoint()
void Ruler::setStartPoint |
( |
const ACG::Vec3d & |
_start | ) |
|
◆ setTextOffset()
void Ruler::setTextOffset |
( |
const ACG::Vec3d & |
offset | ) |
|
◆ setTextSize
void Ruler::setTextSize |
( |
const unsigned |
_size | ) |
|
|
inlineslot |
◆ textScale()
float Ruler::textScale |
( |
| ) |
|
|
inline |
◆ updateNodes()
void Ruler::updateNodes |
( |
| ) |
|
|
private |
◆ lineNode_
◆ lineNodeName_
const std::string Ruler::lineNodeName_ |
|
private |
◆ obj_
◆ offset_
◆ pluginName_
const QString Ruler::pluginName_ |
|
private |
◆ points_
◆ textNode_
◆ textNodeName_
const std::string Ruler::textNodeName_ |
|
private |
◆ textTransformNode_
◆ textTransformNodeName_
const std::string Ruler::textTransformNodeName_ |
|
private |
The documentation for this class was generated from the following files: