Search code examples
python-2.7vtk

how to display vtk 3D axes on screen?


Is there any methods for display the vtk 3D axes at a specific place (such as left bottom) on the screen? I have tried to use the vtktransform but it does accepts the coordinates of the world only, but not the screen. Thanks


Solution

  • Do you want something like this?

    enter image description here

    If yes, then you can use vtkOrientationMarkerWidget and vtkAxesActor to do that. Have a look at this link, it might help you.