Hi,
I am applying a vtkTransform to different actors and a vtkCubeAxesActor but this is changing the scale of the dimension. I would like the scale to stay the same (from 0 to 1 in this example). A workaround would be to change the scale of the axis so I’m trying to get the scale array with the labels, cast them into number and divide by the z_scale that I’m applying.
Is this the best way to do it ? If so, I managed to do a SetAxisLabels for dumb values but I can’t get the initial values to transform.
Here is my code
cube_axes_actor = vtkCubeAxesActor()
transform = vtkTransform()
transform.Scale(1, 1, z_scale)
for actor in actors:
actor.SetUserTransform(transform)
cube_axes_actor.SetUserTransform(transform)
print(cube_axes_actor.GetLabelTextProperty(2), flush=True)
Thanks in advance for your help !