I am new to VTK and currently working on a 3D visualization project using vtk.js. I am using vtkAxesActor to display a set of axes on my 3D scene, but I noticed that the axes don’t show the labels for X, Y, and Z. I would like to add these labels to make the axes more informative.
I noticed that vtkAxesActor in the Python version already shows the X, Y, and Z labels by default. However, in the vtk.js version, these labels are missing. I would prefer to continue using vtkAxesActor and add labels directly to it. Is there a way to achieve this, similar to how it’s done in the Python version, or would I need to rely on another solution like vtkCaptionActor2D?