[vtkusers] Using vtkCubeAxesActor with a transformed data set

Ben Medina ben.medina at gmail.com
Fri Nov 5 15:04:17 EDT 2010


Hi all,

I'm creating 3D scatter plots using vtkGlyph3DMapper. Sometimes the
aspect ratio of the data is quite extreme (e.g. 0-1000 in X and Y, but
0-1 in Z), so I'm experimenting with vtkTransformPolyDataFilter to
scale one or more dimensions. This works great for the data, but I
also need to scale the axes while retaining non-scaled axis labels. I
don't see any API in vtkCubeAxesActor that allows this.

Two questions:
- Is using vtkTransformPolyDataFilter the best way to do this?
- If so, how can I get the axes to display non-scaled labels?

Thanks,
Ben



More information about the vtkusers mailing list