[vtkusers] vtkCubeAxesActor problem in 5.8

David Partyka david.partyka at kitware.com
Wed Sep 14 09:34:47 EDT 2011


Hi Frable, can you report a bug on vtk.org/Bug. With that we can add a test
for these and see if we can recreate and fix the issue for 5.8.1. Thanks!

On Wed, Sep 14, 2011 at 9:07 AM, Frable <zemitis.janis at inbox.lv> wrote:

> Hey there!
>
> Upgraded to Vtk 5.8 today and everything works as intended apart of the
> axes.
> Kind of hard to put it into words but will try my best and screenshot added
> for further reference.
> It now wrongly adds 3 additional axes with origin on the x-axis facing
> always to the right of the screen,independent of camera rotation.
> Furthermore they create a projection of the shapes currently in the scene
> as
> visible in the first screen-shot. It also has an impact on
> vtkImplicitPlaneWidget2 and vtkSphereWidget2 as shown in the 2nd screen.
> Disabling the axes gets rid of all the artifacts.
>
> Any ideas what might be causing this?
> All the best,
> Frable
>
> //implementation
>  //AxisActor
>    vtkCubeAxesActor* axes2 = vtkCubeAxesActor::New();
>    axes2->SetBounds(pOutlineMap->GetBounds());
>    axes2->SetCamera(pCamera);
>    axes2->SetFlyModeToStaticTriad();
>
>
> axes2->SetLabelScaling(false,-pImport->GetExponent(),-pImport->GetExponent(),-pImport->GetExponent());
>    axes2->SetXLabelFormat("%2.2f");
>    axes2->SetYLabelFormat("%2.2f");
>    axes2->SetZLabelFormat("%2.2f");
>
>  m_pRenderer->AddActor(axes2);
>
>
> http://vtk.1045678.n5.nabble.com/file/n4802693/surfacerender.jpeg
>
> http://vtk.1045678.n5.nabble.com/file/n4802693/surfacewithsphere.jpeg
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/vtkCubeAxesActor-problem-in-5-8-tp4802693p4802693.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110914/a4bea95f/attachment.htm>


More information about the vtkusers mailing list