Resolve "Ogre : Addition of a labeled point list"
What does this MR do?
If the option "displayLabel" is set to true on the XML configuration, it will add a label on a point when the point is created.
You can also choose the character height and the color of the label on the XML configuration.
How to test it?
-
Set the option "displayLabel" to true on the "::visuOgreAdaptor::SPointList" service of the "OgreGenericScene.xml" file.
You can also set some option like the "charHeight" or the "labelColor" on the XML configuration service.
"charHeiht" correspond to a float and the "labelColor" to an hexa string color ("#ffffff")
-
Launch the OgreViewer application
-
Open VTK file ("File" -> "Open series model" -> "VTK files (VTK)")
-
Ctrl + Left click to create a point on the vtk file.
It will create a label corresponding to the point.