Shortcut of GO2SDisplayGeometry to display a cross marking a position, without creating a geometry first. More...
Public Member Functions | |
| GO2SDisplayPoint () | |
| GO2SDisplayPoint (GO2SXYZ position) | |
| void | SetPosition (GO2SXYZ position) |
| void | SetSize (Number size) |
Public Member Functions inherited from GO2SDisplayGeometry | |
| GO2SDisplayGeometry () | |
| GO2SDisplayGeometry (GO2SGeometry geom) | |
| void | SetColor (Number color) |
| Boolean | SetGeometry (GO2SGeometry geom) |
| void | SetLineType (GO2SEnum::GO2SLineType type) |
| void | SetLineWidth (Number width) |
| void | SetTransparency (Number transparency) |
| void | SetVisible (Boolean visible) |
Additional Inherited Members | |
Protected Member Functions inherited from GO2SDisplayGeometry | |
| void | SetEntity (std::shared_ptr< CGoeElementInterface > entity) |
Shortcut of GO2SDisplayGeometry to display a cross marking a position, without creating a geometry first.
Nothing is created in the GO2cam database: the cross is only displayed while the script is running. Its size is given in pixels: it does not change with the zoom. Same settings as GO2SDisplayGeometry: color, line width, line type, show/hide.
| GO2SDisplayPoint::GO2SDisplayPoint | ( | ) |
Default constructor, point at the origin
|
explicit |
Constructor, display a point at the given position
| [in] | position | position of the point |
| void GO2SDisplayPoint::SetPosition | ( | GO2SXYZ | position | ) |
Move the point
| [in] | position | new position of the point |
| void GO2SDisplayPoint::SetSize | ( | Number | size | ) |
Set the size of the cross
| [in] | size | half size of the cross in pixels (default 5) |