[vtkusers] vtkCubeAxesActor FlyMode changed on the fly does not take place until mouse action
Aashish Chaudhary
aashish.chaudhary at kitware.com
Fri Jun 29 11:21:50 EDT 2012
Hi Sebastien,
On Fri, Jun 29, 2012 at 10:28 AM, Sebastien Calvi <sebastien.calvi at yahoo.com
> wrote:
> Hello Vtk Developers,
>
> This little report to mention that when one changes the FlyMode of the
> vtkCubeAxesActor and call vtkRenderWindow::render(), well, nothing happens.
> This because inside void vtkCubeAxesActor::DetermineRenderAxes(
> vtkViewport *viewport ) there is a simple check at the very beginning:
> for ( i = 0; i < 4; ++i ) {
>
> if ( fabs( orientation[i] - OrientationWXYZ[i] ) > VTK_DBL_EPSILON
> )
> break;
> }
>
> So, if the orientation has not changed then we just exit and the FlyMode
> modification is not taken into account.
>
I will look into the cube axes actor today and see what we can do here.
Thanks,
>
> I won't qualify that as a "bug" but I believe that it will be great to be
> able to have the FlyMode modification taken into account.
>
> Thank you,
> Sebastien.
>
> _______________________________________________
> 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
>
>
--
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120629/bd1becc1/attachment.htm>
More information about the vtkusers
mailing list