Would there be any way for me to add 2 texts in the lower middle of the view? I know that the code for adding a line of text is:
self.view = slicer.app.layoutManager().threeDWidget(0).threeDView()
self.view.cornerAnnotation().SetText(vtk.vtkCornerAnnotation.LowerEdge,'Text')
#I'd like to create another textbox at the exact same location
self.view.cornerAnnotation().GetTextProperty().SetColor(255,255,255)
self.view.forceRender()
I’m asking as I’d like to assign an animation that fades in 1 text while fading out another text.
Thanks in advance