[vtkusers] VTK7.1: Wrong placement of labels in vtkCubeAxesActor
Mathieu Westphal
mathieu.westphal at kitware.com
Fri Dec 23 07:07:22 EST 2016
Hi
We are aware, and the fix is almost merged.
https://gitlab.kitware.com/vtk/vtk/merge_requests/2283
Regards,
Mathieu Westphal
On Fri, Dec 23, 2016 at 12:36 PM, marcin.krotkiewski <
marcin.krotkiewski at gmail.com> wrote:
> Hello everyone,
>
> I ran into an issue with the placement of axis tick labels. I've been
> using OpenGL2 renderer since it's initial release, and I've never had such
> problems before.
>
> As a start, a unit cube axis is displayed correctly (vtk7.1_unit.png).
>
> Screenshots using vtk7.0(.png) and vtk7.1(.png) show a surface rendered in
> the two last versions of VTK. The model is centered around [0,0] in X/Y,
> but the axis bounds are changed using SetX/Y/ZAxisRange. In vtk7.0 all
> labels are shown correctly. In 7.1 the Z labels are shown correctly, while
> X labels are placed very far from the axis, and Y labels are altogether
> gone.
>
> Figure vtk7.1_autobounds.png shows the result with automatic bounds. This
> time some labels on the Y axis are visible, but also in this case all are
> drawn in a wrong place.
>
> Since my code did not change, this behavior results from a difference
> between the two VTK versions. Does anyone have any idea why that is? Have I
> done sth. wrong, or is this a result of the new text/annotation code in
> vtk7.1?
>
> Thanks a lot !
>
> Marcin
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161223/74782dbb/attachment.html>
More information about the vtkusers
mailing list