Put vtkTextActor At Correct Screen Position
We have a vtkTextActor object in the render window now. How to put it at the right-top corner or the left-bottom corner in the render window according to the render and text rectangle’s size? The following code snippet shows the different scenes described above. #include <iostream> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> Read more…